Last active
September 29, 2016 15:37
-
-
Save mradbourne/c8031b7cfe6a1568d9459ba930733eaf to your computer and use it in GitHub Desktop.
FFMPEG presets
This file contains hidden or 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
| # WebM - Standard web video quality | |
| ffmpeg -i input_file.mov -codec:v libvpx -quality good -cpu-used 0 -b:v 600k -maxrate 600k -bufsize 1200k -qmin 10 -qmax 42 -vf scale=-1:480 -threads 4 -codec:a libvorbis -b:a 128k output_file.webm | |
| # H.264 - Standard web video quality | |
| ffmpeg -i input_file.avi -codec:v libx264 -profile: high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=-1:480 -threads 0 -codec:a libfdk_aac -b:a 128k output_file.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment