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

Måns Rullgård mru
Sat Nov 18 02:02:39 CET 2006


Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:

> 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.

Are you thinking of those wav files meant to be burned to a cd and
played through a hardware dts decoder?

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list