[MPlayer-users] using mencoder to extract audio

RC rcooley at spamcop.net
Sat Nov 6 03:33:42 CET 2004


On Fri, 5 Nov 2004 17:50:01 -0800 (PST)
<bwnospam-sf1 at yahoo.com> wrote:

> Using -ao pcm only gives you a WAV file if the audio
> stream in the input file wasn't compressed.  

That is complete nonsense.  You can get a WAV (or RAW) file no matter
what audio compression is used:   

mplayer INPUT.avi -ao pcm -aofile fileout.wav


> What -ao
> pcm really gives you is the raw dump of the audio
> stream bits without headers. 

No, that's what -dumpaudio does.

> and then the <i>mplayer -ao pcm mplayer
> -ao pcm -vo null -vc dummy -dumpaudio -dumpfile
> fileout.mp3 filein.avi</i> will give you an mp3 file

If you left "-ao pcm" off, it would do exactly the same thing.  Clearly,
dumpaudio is taking priority.  Leave off dumpaudio, and it will output a
wav file.




More information about the MPlayer-users mailing list