Last active
May 28, 2025 22:43
-
Star
(458)
You must be signed in to star a gist -
Fork
(79)
You must be signed in to fork a gist
-
-
Save lukehedger/277d136f68b028e22bed to your computer and use it in GitHub Desktop.
Compress mp4 using FFMPEG
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 -vcodec h264 -acodec mp2 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the format using latest encoding algorithms h265 and mp3. It's around 15% better than h264.