Hi cats
please I wonder if is there a way to improve speed of encoding dunrig the ffmpeg encoding process
I have a HP envy J113 EL pc
windows 10 64 bit
ffmpeg 64 bit
During encoding I need to deinterlace, but speed is "only" 9 fps
![]()
+ Reply to Thread
Results 1 to 4 of 4
-
-
You could try add "-preset ultrafast"
But you will probably get a bigger output file size then. -
Deinterlacing is notoriously hard to do especially on HD content. You have a choice, you can either 1) bite the bullet, so the results look satisfying or 2) let time become the driver and start relaxing the settings as Baldrick suggests. IOW, you are getting nearly 10 fps, which ain't bad imho.
Given that you have raw HD content, it sounds like quality is important to you. Therefore, may I suggest a third option? If you are going to be doing a lot of deinterlacing, I suggest QTGMC. While yadif is good, QTGMC is arguably better. And more importantly, QTGMC has a very good multi-thread version that, when properly optimized for your cpu, should speed up your encodes without sacrificing quality and possibly even improving the results. You will need Avisynth to run QTGMC, but the wiki page is very good. Once you build your Avisynth script, you can simply set the avs file as your ffmpeg input.
http://avisynth.nl/index.php/QTGMC -
Provide full command line (ok - i see - yadif is fast itself and it should not produce high load), you can try use more cores (check syntax for x264 to control multithreading) - slices can be useful, reducing/using less complex preset as suggested by Baldrick can be helpful also.
Side to this i would check power management options and ho good is cooling in your PC - i can have faster encoding on my notebook ancient core duo... seem you may have problems with computer itself visible as performance drop during intense workload.
You may try to force ffmpeg to use more threads by adding to ffmpeg: ffmpeg.exe -threads %NUMBER_OF_PROCESSORS%*1.5 .
Finally you may try to use hardware decoding.
Btw perhaps your HDD is not capable to feed ffmpeg sufficiently fast?
You can try to pipe from ffmpeg to ffmpeg - (one decoding, second encoding) - this may also be better with higher number of cores/threads.Last edited by pandy; 13th Oct 2015 at 11:23.
Similar Threads
-
Video conversion speed - How to improve
By tsk1979 in forum Video ConversionReplies: 31Last Post: 12th Nov 2013, 11:20 -
Why low qmax value improve video quality in ffmpeg?
By theateist in forum ffmpegX general discussionReplies: 3Last Post: 2nd Sep 2013, 11:29 -
Improve speed on H264/AVC video conversion
By klode in forum Video ConversionReplies: 9Last Post: 11th Aug 2013, 01:26 -
Do Encoding with H264 using 2 passes actually improve the quality
By prithvi in forum Newbie / General discussionsReplies: 4Last Post: 15th Mar 2011, 08:30 -
[FFmpeg] Up encoding speed for wmv's
By Klagar in forum Video ConversionReplies: 5Last Post: 24th Jan 2011, 13:00