Skip to content

Instantly share code, notes, and snippets.

@liushooter
Forked from lukehedger/ffmpeg-compress-mp4
Created July 20, 2021 04:07
Show Gist options
  • Save liushooter/b84eb480e69590ef5b403e7bebcb39ed to your computer and use it in GitHub Desktop.
Save liushooter/b84eb480e69590ef5b403e7bebcb39ed to your computer and use it in GitHub Desktop.
Compress mp4 using FFMPEG
$ 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