Skip to content

Instantly share code, notes, and snippets.

@blacklee
Created February 19, 2016 13:43
Show Gist options
  • Star 46 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save blacklee/49cd6ae5cf6fbfc8651c to your computer and use it in GitHub Desktop.
Save blacklee/49cd6ae5cf6fbfc8651c to your computer and use it in GitHub Desktop.
ffmpeg convert video to 480p
ffmpeg -i input.mp4 -s hd480 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4
@themifuru
Copy link

ffmpeg -i 01.mkv -codec copy 01.mp4
ffmpeg -i 01.mkv -s hd360 -c:v libx264 -crf 23 -c:a aac -strict -2 01.mkv

@jameswilsongrant
Copy link

You da real MVP.

@ochen1
Copy link

ochen1 commented Sep 21, 2020

Thanks!

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