Created
October 11, 2016 11:11
-
-
Save abhikhatri/27a643158563a566f0eacb98452ddd5f to your computer and use it in GitHub Desktop.
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
//Resize to Width Height | |
ffmpeg -i input.mp4 -s WxH -qscale 0 -vcodec mpeg4 output.mp4 | |
//Compress the output file | |
ffmpeg -i output.mp4 -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -vcodec h264 -acodec mp2 output-final.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment