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

Marek Gleń marek.glen at gmail.com
Sat Mar 28 19:30:32 CET 2009


On Sat, Mar 28, 2009 at 6:43 PM, Malte Gell <malte.gell at gmx.de> wrote:
> 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!

Well, just be carefull. There are videos with other audio formats.
Dumped stream won't always play.


More information about the MPlayer-users mailing list