Demux AAC from CAF

Dr. Peter G. Baum peter at dr-baum.net
Wed Nov 12 12:55:55 PST 2014


Many thanks, I'll try that.

Peter


On 11/12/2014 07:11 AM, Thiago Santos wrote:
> On 11/09/2014 12:53 PM, Dr. Peter G. Baum wrote:
>> Hi,
>>
>> I'm developing a Core Audio Format (CAF) Demuxer (see
>> https://bugzilla.gnome.org/show_bug.cgi?id=738538).
>> Since uncompressed PCM works for me, I'm looking at embedded AAC.
>>
>> In CAF I have an "ESDS Atom" and "MPEG-4 AAC data".
>> Just concatenating both and feeding it to the faad plug-in gives an
>> error: "_gst_audio_decoder_error:<faad0> error: decoding error:
>> Bitstream value not allowed by specification".
>> So, does anyone has an idea on what's the correct way to transfer the
>> necessary information to faad?
>> Some kind of encapsulation/wrapping?
>
> You usually get those to faad by putting it as a GstBuffer codec_data
> field in the caps.
>
> You can take a look at qtdemux's source code to see how it adds the
> codec_data to caps from ESDS atom.
> http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/isomp4/qtdemux.c
> in handle_esds function
>
> Regards,
>
>>
>> Many thanks for your help,
>>
>> Peter
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list