[MPlayer-users] Extracting audio from a video and saving it as an mp3

Malte Gell malte.gell at gmx.de
Sat Mar 28 18:43:30 CET 2009


Am Samstag, 28. März 2009 18:30:29 schrieb Marek Gleń:
> On Sat, Mar 28, 2009 at 6:23 PM, Malte Gell <malte.gell at gmx.de> wrote:

> > I want to extract audio only from a video, i use it this way:
> > mencoder xyz.flv  -ovc frameno -oac mp3lame -lameopts
> > preset=standard:vol=8 -o xyz.mp3

> mplayer xyz.flv -vo null -ao pcm:file=file.wav && lame file.wav

Thanks, Marek. In the meantime i found an even simpler solution... the video 
is from YouTube, so I just do it this way:

download it with youtube-dl (on Linux) and then
mplayer ifGugzR.flv -dumpaudio

The resulting stream.dump is the perfect MP3!

Malte



More information about the MPlayer-users mailing list