Skip to content

Instantly share code, notes, and snippets.

@charltoons
Created August 6, 2019 19:03
Show Gist options
  • Save charltoons/19edf04964241f92eadb4edcc60338cf to your computer and use it in GitHub Desktop.
Save charltoons/19edf04964241f92eadb4edcc60338cf to your computer and use it in GitHub Desktop.
Web Video Optimization
# play with "3000k" until you are comfortable with video quality and filesize
ffmpeg -i input.mp4 -threads 8 -b:v 3000k -strict experimental -vf scale=2500:-1 output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment