Skip to content

Instantly share code, notes, and snippets.

@rumkin
Created January 2, 2013 13:48
Show Gist options
  • Save rumkin/4434694 to your computer and use it in GitHub Desktop.
Save rumkin/4434694 to your computer and use it in GitHub Desktop.
Convert audio with ffmpeg
# mp3 to ogg
ffmpeg -i audio.mp3 -acodec libvorbis audio.ogg
# mp3 to aac
ffmpeg -i audio.mp3 -acodec libfaac audio.aac
# ogg to mp3
ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment