[FFmpeg-devel] [PATCH] support e-ac-3 in wav

Justin Ruggles justin.ruggles
Mon Sep 1 22:45:56 CEST 2008


M?ns Rullg?rd wrote:
> Justin Ruggles <justin.ruggles at gmail.com> writes:
> 
>> M?ns Rullg?rd wrote:
>>> Justin Ruggles <justin.ruggles at gmail.com> writes:
>>>
>>>> Hi,
>>>>
>>>> $subject
>>>>
>>>> I think this is the way to do what I'm after, but I'm not completely
>>>> sure.  This is the desired behavior:
>>>>
>>>> decoding: support 0x2000 or 0xEAC3
>>>> encoding: use 0x2000
>>>>
>>>> -Justin
>>>>
>>>> Index: libavformat/riff.c
>>>> ===================================================================
>>>> --- libavformat/riff.c	(revision 15138)
>>>> +++ libavformat/riff.c	(working copy)
>>>> @@ -196,6 +196,8 @@
>>>>      { CODEC_ID_ATRAC3,          0x0270 },
>>>>      { CODEC_ID_IMC,             0x0401 },
>>>>      { CODEC_ID_AC3,             0x2000 },
>>>> +    { CODEC_ID_EAC3,            0x2000 },
>>>> +    { CODEC_ID_EAC3,            0xEAC3 }, /* used by Haali Media Splitter */
>>> Does this "splitter" also write files?
>> I'm not sure.  I think it's a DirectShow filter, which might end up
>> sending info to some programs which write files.  Although the most
>> popular use of it seems to be with Media Player Classic.
> 
> Do files with this ID exist?  If not, I see no reason to add it.

good point.  I have not seen any.  I was just searching to see what
values were used, if any, and this is the only one I found.  I'll leave
it out until any files surface which use it, which may never happen.

-Justin






More information about the ffmpeg-devel mailing list