[FFmpeg-devel] [PATCH/RFC] fix mp3 in wmv/wav for itunes and wmp

Aurelien Jacobs aurel
Fri Oct 10 11:56:44 CEST 2008

On Thu, 09 Oct 2008 19:36:50 -0700
Baptiste Coudurier <baptiste.coudurier at smartjog.com> wrote:

> It seems .mkv uses put_wav_header too and I don't know if behaviour is 
> .avi or .wmv one

Indeed, matroskaenc uses put_wav_header, but only for codecs it can't
store natively. Thus, it's not used for mp3 nor any other codec listed
in libavformat/matroska.c.

Here is what the matroska spec has to say about the format of data
stored by put_wav_header:
"The private data contains the ACM structure WAVEFORMATEX including the
extra private bytes, as defined by Microsoft. The data are stored in
little endian format (like on IA32 machines)."


More information about the ffmpeg-devel mailing list