Skip to content

Instantly share code, notes, and snippets.

@cockok
Created March 14, 2017 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cockok/30a5ebe39435385216f8e2bc7132aac7 to your computer and use it in GitHub Desktop.
Save cockok/30a5ebe39435385216f8e2bc7132aac7 to your computer and use it in GitHub Desktop.
#!/bin/sh
BASENAME=$(basename $1)
ffmpeg -i $1 -s hd480 -c:v libx264 -crf 22 -c:a libfdk_aac -vsync passthrough ${BASENAME%.*}.mp4
@cockok
Copy link
Author

cockok commented Mar 14, 2017

brew install --HEAD ffmpeg --with-fdk-aac --with-faac --with-fontconfig --with-freetype --with-frei0r --with-libass --with-libbluray --with-libcaca --with-libsoxr --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-speex --with-theora --with-tools --with-x265 --with-sdl2

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