VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. 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

    Click image for larger version

Name:	ff3.jpg
Views:	1345
Size:	742.3 KB
ID:	34031
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You could try add "-preset ultrafast"

    But you will probably get a bigger output file size then.
    Quote Quote  
  3. 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
    Quote Quote  
  4. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!