-
-
Save ericklarac/b1e50915b7edf12a3ee3913a57a0362b to your computer and use it in GitHub Desktop.
Compress MP4 for online content.
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 input.mp4 -codec:v libx264 -preset slow -b:v 1000k -maxrate 1500k -bufsize 1500k -vf scale=1080:-1 -threads 0 -codec:a libfdk_aac -b:a 128k output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment