[Ffmpeg-devel] [PATCH] xan_dpcm in MPlayer + libavformat

Baptiste Coudurier baptiste.coudurier
Sat Nov 18 02:01:17 CET 2006


Hi

Diego Biurrun wrote:
> On Fri, Nov 17, 2006 at 04:34:45PM -0800, Mike Melanson wrote:
>> Diego Biurrun wrote:
>>> Attached patch is necessary to make xan_dpcm work in MPlayer with the
>>> libavformat AVI demuxer.  Since it just adds another line to an already
>>> present hack I hope it's acceptable...
>> Seems reasonable. I guess the API changed enough that this is necessary?
> 
> Without this the audio gets misdetected as PCM since the codec_tag is 1
> in the AVI header.
> 

I remember something like checking dts frames in wav then changing
fourcc (because it was 1 or 0, indication pcm) in demux_audio.c in
mplayer, which does not work in lavf though.

Why not doing the same for that case ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list