Sunday, October 26, 2008

One Liner: Extract MP3 Sound Track from an AVI Video Clip

Easy, using ffmpeg:

ffmpeg -i video-clip.avi -acodec copy sound-track.mp3

(as usual here: replace stuff in red with your own)

If the original sound track is not encoded as an MP3 stream, then drop the -acodec copy bit. In this case you may also want to specify the bit rate (default is 64kbits/s):

ffmpeg -i video-clip.avi -ab 96k sound-track.mp3

No comments:

Post a Comment