[FFmpeg-devel] [PATCH] Support raw TrueHD files

Ramiro Polla ramiro.polla
Wed Mar 18 18:46:43 CET 2009


Hi,

On Wed, Mar 18, 2009 at 4:25 AM, Diego Biurrun <diego at biurrun.de> wrote:
> On Tue, Mar 17, 2009 at 10:30:46PM -0300, ramiro at lisha.ufsc.br wrote:
>> From: Ramiro Polla <ramiro at ubuntu-8.10-macbook>
>>
>> --- a/libavformat/allformats.c
>> +++ b/libavformat/allformats.c
>> @@ -180,6 +180,7 @@ void av_register_all(void)
>> ? ? ?REGISTER_MUXER ? ?(TGP, tgp);
>> + ? ?REGISTER_MUXDEMUX (THD, thd);
>
> You called it TRUEHD in the other patch, which was better.

The other patch was for the TrueHD decoder. This is for the raw TrueHD
(.thd) demuxer. I based myself on all the three-letter demuxers to
name it, but now I see that it's matroska instead of mkv, so maybe
truehd really is more consistent.

Also in this updated patch I removed the muxer and left only the
demuxer, because there is no TrueHD encoder (yet =).

>> --- a/libavformat/raw.c
>> +++ b/libavformat/raw.c
>> @@ -968,6 +968,35 @@ AVInputFormat mlp_demuxer = {
>>
>> +#if CONFIG_THD_DEMUXER
>> +
>> +#ifdef CONFIG_THD_MUXER
>
> ...

[...]

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: truehd_demuxer.diff
Type: text/x-diff
Size: 2772 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090318/65794633/attachment.diff>



More information about the ffmpeg-devel mailing list