Created
September 5, 2015 20:12
-
-
Save sverweij/44db8a829054d1c8030e to your computer and use it in GitHub Desktop.
Split off audio from a video file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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