[Ffmpeg-devel] [PATCH] apple caff demuxer

David Conrad umovimus
Mon Apr 2 08:09:23 CEST 2007


On Apr 1, 2007, at 2:06 AM, Justin Ruggles wrote:

> Hi,
>
> Here is a demuxer for Apple CAFF files.  It was written using
> documentation from:
> http://developer.apple.com/reference/MusicAudio/idxCoreAudio-date.html
>
> I basically wrote it because I needed to learn more about
> libavformat...and I think CAFF has a fairly good design.
>
> The demuxer reuses uses a function from mov.c, which I moved to  
> isom.c/h.
>
> Currently I only have samples for pcm and aac, so those are the only
> codecs which are enabled.  I need to have samples because the
> documentation only covers the 'kuki' chunk layout for AAC.  The layout
> of that chunk is needed for each codec in order to get the proper
> extradata.  I imagine many of the other codecs have a similar format
> (mp4 esds atom), but I don't want to assume anything at this point.
>
> I can upload samples to mplayerhq if/when I get permission from the
> person who sent them to me.  It would also be great if anyone else has
> samples or can generate samples containing other codecs.

Sure, I don't mind. I'll try to fix the code I'm using to generate  
them to work for stream copy for other codecs and upload samples.  
Though mp3 and ac-3 at least shouldn't need to worry about a magic  
cookie.

-David




More information about the ffmpeg-devel mailing list