Created
November 13, 2015 21:31
-
-
Save salamanders/9daa6e855c9f0b190a73 to your computer and use it in GitHub Desktop.
ffmpeg reasonable vp9 encoding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -ss 00:09:06 -i myfile.flv -c:v libvpx-vp9 -pass 1 -b:v 2000K -threads 8 -speed 4 \ | |
-tile-columns 6 -frame-parallel 1 \ | |
-an -to 02:43:23 -loglevel quiet -f webm /dev/null \ | |
&& ffmpeg -ss 00:09:06 -i myfile.flv -c:v libvpx-vp9 -pass 2 -b:v 2000K -threads 8 -speed 1 \ | |
-tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 \ | |
-c:a libvorbis -b:a 128k -to 02:43:23 -loglevel quiet -f webm myfile.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment