[MPlayer-dev-eng] [PATCH] make -format to work with -ao pcm:nowaveheader

Ivo ivop at euronet.nl
Sun Aug 13 21:44:50 CEST 2006


On Wednesday 09 August 2006 16:48, Giacomo Comes wrote:
> Currently if you use the option -ao pcm, the only format that can be
> selected for the saved pcm stream is u8 and s16le (default).
> Tha attached patch make possible to extend the use of the option -format
> if you use the option -ao pcm:nowaveheader
> I'm not sure but it seems that the wav header do not provide a field to
> specify the endianess of the pcm samples, so it is pointless to allow
> -format to work with -ao pcm:waveheader (am I right?).

No. There is RIFX, which is RIFF in big-endian :) But I don't think MPlayer 
supports that. Pretty hard to find a sample file in the wild btw and I 
can't get sox to create one to do some tests.

--Ivo



More information about the MPlayer-dev-eng mailing list