Created
February 26, 2018 10:30
-
-
Save Hao-Wu/c6a3d0dbdf4ed8f34cd7b42ff7114d55 to your computer and use it in GitHub Desktop.
FFMPEG compress mp4 video file to specific width with the same aspect ratio
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 -i input.mp4 -vf scale=302:-1 -vcodec h264 -acodec aac output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment