Skip to content

Instantly share code, notes, and snippets.

@actionjack
Forked from nikhan/twitter.sh
Created January 9, 2022 10:54
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 actionjack/b167b1ee1b7aa3bd48ef7a5316dd5644 to your computer and use it in GitHub Desktop.
Save actionjack/b167b1ee1b7aa3bd48ef7a5316dd5644 to your computer and use it in GitHub Desktop.
twitter ffmpeg
ffmpeg -i test.mov -vcodec libx264 -vf 'scale=640:trunc(ow/a/2)*2' -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -strict experimental -r 30 out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment