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

Justin Ruggles justin.ruggles
Mon Sep 1 21:14:29 CEST 2008


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.

-Justin





More information about the ffmpeg-devel mailing list