Created
November 2, 2012 07:06
-
-
Save amboxer21/3999177 to your computer and use it in GitHub Desktop.
Extract 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
#!/bin/bash | |
if (( $# != 3 )) ; then echo -e "USAGE: infile.avi outfile title"; exit; fi | |
ffmpeg -i $1 -acodec libmp3lame -metadata TITLE="$3" ${2}.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment