Skip to content

Instantly share code, notes, and snippets.

@foxoman
Forked from ksharsha/ffmpeg-compress
Created March 1, 2019 21:05
Show Gist options
  • Save foxoman/9ecf82f96d281659345ad9f2277da996 to your computer and use it in GitHub Desktop.
Save foxoman/9ecf82f96d281659345ad9f2277da996 to your computer and use it in GitHub Desktop.
ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4
@foxoman
Copy link
Author

foxoman commented Mar 1, 2019

ffmpeg -i input.mp4 -c:v libx264 -crf 24 -b:v 1M -c:a aac output.mp4

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