Created
December 15, 2015 15:45
-
-
Save outsidecontext/84b713aea5af45b1cb12 to your computer and use it in GitHub Desktop.
Useful ffmpeg commands
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
| # convert mov to mp4 | |
| ffmpeg -i input.mov -vcodec h264 -acodec aac -strict -2 output.mp4 | |
| # convert and resize height (width will auto scale to match input dimensions) | |
| ffmpeg -i input.mov -vf scale=-1:height -vcodec h264 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment