Skip to content

Instantly share code, notes, and snippets.

@calvez
Forked from blacklee/ffmpeg-to-480p.sh
Created February 27, 2022 10:03
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 calvez/3084fc275f13a8c12514b1b03e3ee01f to your computer and use it in GitHub Desktop.
Save calvez/3084fc275f13a8c12514b1b03e3ee01f 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment