Skip to content

Instantly share code, notes, and snippets.

@davinmsu
Last active August 29, 2015 14:18
Show Gist options
  • Select an option

  • Save davinmsu/5636bb53ad126ae29751 to your computer and use it in GitHub Desktop.

Select an option

Save davinmsu/5636bb53ad126ae29751 to your computer and use it in GitHub Desktop.
ffmpeg -i original.mp4 \
-vcodec copy -af 'volume=-25dB' converted.mp4 \
-f mpeg1video -vf "crop=iw-mod(iw\,2):ih-mod(ih\,2)" -b:v 0 converted.mpg \
-vn -ar 44100 -ac 2 -af 'volume=-25dB' -f mp3 converted.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment