Last active
March 30, 2016 08:28
-
-
Save sz-alpar/2d5349c2342e3217b7b73a0b960dbad3 to your computer and use it in GitHub Desktop.
ffmpeg two pass compression
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
ffmpeg -y -i input.mov -c:v h264 -preset medium -b:v 1800k -pass 1 -c:a libvo_aacenc -b:a 128k -f mp4 /dev/null && \ | |
ffmpeg -i input.mov -c:v h264 -preset medium -b:v 1800k -pass 2 -c:a libvo_aacenc -b:a 128k output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment