Hello I'm trying to do video encoding of prores with C++ programe, I've come into some problems with the process of video encoding, as in my codec, I've been able to get the desired bitrate by changing the profile under AVcodeccontext to achieve proxy, lt, 422, and HQ.But it cost about 60 ms to encode one frame of 422 or HQ currently. I need the efficiency of the encoding be improved and at the same time keep the current birate(120mbs for Prores422 and 180mbs for Prores 422 (HQ)).
Any help is appreciated, and particular codec or relating material are especially welcomed.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 18 of 18
Thread
-
Last edited by zhangjie; 15th Jun 2015 at 03:29.
-
What would you improve? The footage with professional camera can be record to ProRes, DNxHD / DNxHR, RAW (AJA / BlackMagic / Avid), Cineform or DNG codec. You can also via the recorder immediately create HEVC i444 16bit without the color correction. Question camera and your skills.
-
Thanks for your attention, for I'm now tying to get a ProRes video through programming without hardware encoder. The process is similar with some tool like ffmpeg. The problem is that this programme is working too slow(it takes 60ms to encode one frame for the two format: ProRes 422 and HQ), my main concern is improving the speed of my codec.
Any suggestions or recipes? -
Frankly, I don't know the recording velocity. Advertising is that it creates a propeller.
http://www.cinemartin.com/next/
RAW codecs fall off. There are slower and cann't be imported into NLE editors (*.raw,*.yuv).
Cineform had very good speed, but a surcharge.
I do not know what he represents Avid DNxHR. It is a novelty on the market.
A certain speak only Adobe DNG format. I do not know what is behind this statement.
Last edited by Jamaika; 16th Jun 2015 at 01:05.
-
It works on a PC which is win7 64bit, and 16-cores CPU, 16G storage. I didn't use ffmpeg command lines. I directly programed calling the .dll codec, then I configured the parameter profile in the AVcodeccontext to achieve proxy, lt, 422, and HQ, but I'm not able to achieve 40-60 FPS, what should I configure besides?
Thanks for your tips! -
I called the DLL of ffmpeg in my PC, its operating on Windows7 64bit, with expended RAM of 16GB. The video resolutions is 1920x1080 and for the codec, please refer to the website: http://git.videolan.org/?p=ffmpeg.gi...2e336b;hb=HEAD
Any thing special I need to do to get Prores video at speed at 40-60 FPS?
Thank you! -
Did you try it from ffmpeg command line directly ? If you get faster FPS, then it might be skipping some CPU optimization or instruction sets missing in your version. If you get similar FPS to what you are seeing now, you might have to look at other issues to debug, maybe there are other hardware issues, low clockspeed, throttling, maybe decoding issue. That git link is down
-
I do not have the ffmpeg software, I only find some codec on the internet, so I didn't try command lines, I only used the source code, and called its DLL. is it because of hardware? Should I configure other parameters except profile in my programme when using the ffmpeg codec?
-
Download a compiled ffmpeg binary and test it. Just use default settings. You need a rough idea of how it should be performing on your current hardware
You can find some windows binaries here
http://ffmpeg.zeranoe.com/ -
-
According to poisondeathray ffmpeg's ProRes encoder is single threaded. But the program obviously runs much faster with multiple threads (on my quad core i5 2500K with 1080p video I get about 10 fps with one thread, 30 fps with four threads). That may mean the encoder itself is single threaded but thread safe, and ffmpeg is creating separate simultaneous threads, sending individual frames to each thread, then reassembling the results for output to the MOV file.
-
Code:
Encoders: V..... = Video A..... = Audio S..... = Subtitle .F.... = Frame-level multithreading ..S... = Slice-level multithreading ...X.. = Codec is experimental ....B. = Supports draw_horiz_band .....D = Supports direct rendering method 1 VF.... prores Apple ProRes VF.... prores_aw Apple ProRes (codec prores) V.S... prores_ks Apple ProRes (iCodec Pro) (codec prores)
users currently on my ignore list: deadrats, Stears555 -
Thank you for your attention! I tried it multithreaded, and tried to adapt another parameter--ProresContext this time, but the output is that when the picture does not move fast, it can work smoothly, and do not lose frames, while it starts to lose frame when the picture moves faster. So I still need to work on it. Any advice to decrease the CPU occupication?
Similar Threads
-
Why has HEVC and VP9 so bad efficiency in a comparison with perseus V-NOVA
By Stears555 in forum Video ConversionReplies: 14Last Post: 14th Jun 2015, 10:56 -
DirectX Video Acceleration Specification for High Efficiency Video Coding
By selo3000 in forum Video ConversionReplies: 4Last Post: 4th Dec 2013, 08:08 -
How can I improve this video
By gil900 in forum RestorationReplies: 113Last Post: 14th Feb 2013, 11:30 -
help me improve the video quality of my game trailer with avs video editor
By DapperDave in forum Newbie / General discussionsReplies: 4Last Post: 24th Apr 2012, 01:06 -
need tips to improve theora video quality for html 5 video
By rettew in forum Video ConversionReplies: 5Last Post: 23rd Mar 2011, 11:40