VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    The very latest version of ffmpeg by Zeranoe uses libvpx v1.4 and is much faster than previous versions. Here are a couple of batch scripts which work pretty well I think...

    1-pass quality/bitrate script:
    Code:
    SET PATH="C:\FFMpeg\64-bit"
    for %%a in ("*.avi") do ffmpeg -i "%%a" -c:v libvpx-vp9 -pix_fmt yuv420p -qmin 0 -qmax 50 -crf 5 -b:v 5M -threads 8 -c:a libvorbis -b:a 128k -f webm "%%~na.mkv"  
    
    pause
    Automated 2-pass script that uses settings recommended by Google:
    Code:
    SET PATH="C:\FFMpeg\64-bit"
    for %%a in ("*.avi") do ffmpeg -i "%%a" -c:v libvpx-vp9 -pix_fmt yuv420p -pass 1 -b:v 1000k -threads 8 -speed 4 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -an -f NULL null
    
    for %%a in ("*.avi") do ffmpeg -i "%%a" -c:v libvpx-vp9 -pix_fmt yuv420p -pass 2 -b:v 1000k -threads 8 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 128k -f webm "%%~na.mkv"  
    
    pause
    Obviously you'll need to edit path to ffmpeg or any setting changes you want to make.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  2. How much faster is this version?
    Quote Quote  
  3. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    About 3x faster on my i7, though it still only uses about 30% resources, so there is still much more room for speed improvements.
    Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
    Quote Quote  
  4. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    One thing I noticed is that while it is definitely multi-threaded it does not seem to be able to utilize hyperthreading very well.
    Quote Quote  



Similar Threads

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