Created
January 1, 2016 04:45
-
-
Save nikhan/26ddd9c4e99bbf209dd7 to your computer and use it in GitHub Desktop.
twitter ffmpeg
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 -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is sadly insufficient for narrow/tall inputs.
I'm sorry, this is complex.
ffmpeg_ar
Example I/O
ffmpeg
You can then: