Skip to content

Instantly share code, notes, and snippets.

@huytd
Forked from lukehedger/ffmpeg-compress-mp4
Created December 18, 2018 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huytd/8869c8923ae35d80592f8fbfacc1c34d to your computer and use it in GitHub Desktop.
Save huytd/8869c8923ae35d80592f8fbfacc1c34d to your computer and use it in GitHub Desktop.
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@huytd
Copy link
Author

huytd commented Dec 18, 2018

ffmpeg -i input.mp4 -vcodec h264 -acodec aac output.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment