Extracting Audio from Video Files
Posted by Arsh | Labels: Audio Video Manipulation, Linux | Posted on Thursday, November 13, 2008
mplayer -dumpaudio video_file -dumpfile audio_file.mp3
To extract audio from live stream, use -dumpstream option instead of -dumpaudio option.
Using ffmpeg (Quality Control)
ffmpeg -i video_file -ab 128 -ar 44100 audio_file.mp3
No change in command structure for ffmpeg to extract from live stream.
1 comments:
If you are getting the error
Unsupported codec for output stream #0.0
Then you need to install libavcodec-unstripped-52 package!
Post a Comment