Skip to content

Instantly share code, notes, and snippets.

@sverweij
Created September 5, 2015 20:12
Show Gist options
  • Save sverweij/44db8a829054d1c8030e to your computer and use it in GitHub Desktop.
Save sverweij/44db8a829054d1c8030e to your computer and use it in GitHub Desktop.
Split off audio from a video file
### just splitting it off (which is _fast!_):
ffmpeg -i inputvideo.mp4 -c:a copy -vn -sn outputaudio.mp4
### converting it to mp3
ffmpeg -i inputvideo.mp4 -vn -b:a 128k -c:a libmp3lame outputaudio.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment