Problems with AAC and qtdemux

Sudarshan Bisht bisht.sudarshan at gmail.com
Mon Mar 19 11:59:42 PDT 2012


You can also build ADTS header and attach it with every frame, following
link gives information about ADTS header;
http://wiki.multimedia.cx/index.php?title=ADTS

On Mon, Mar 19, 2012 at 9:01 PM, Neil Jones <neiljay at gmail.com> wrote:

> Im trying to play MP4 files with my AAC Decoder but im having problems.
>
> the file im playing is 'cooper.mp4' from these samples
> http://www.mp3-tech.org/tests/aac_48/samples/sample6.zip
>
> this is a 48Khz LC-AAC with SBR (ie HE-AAC), looking a this with
> qtdemux and fakesink gives:
>
>
>  gst-launch -vvv filesrc location=cooper.mp4 ! qtdemux ! fakesink | more
>
> ....
> caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true,
> stream-format=(string)raw, codec_data=(buffer)139056e5a0,
> rate=(int)44100, channels=(int)2
> ....
>
> So as qtdemux gives us raw data (not adts or adif framed) I need to
> setup my decoder on the info provided by qtdemux, unfortunatley it
> gives me the wrong sample rate 44.1 instead of 48 and I need to know
> that the profile has SBR as this effects my decoder setup.
>
> How do other AAC decoders deal with this? Do they just parse the raw
> data, I cant easily do this as my plugin is for a hardware decoder.
>
> Any help appreciated,
>
> Cheers,
>
> Neil
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120320/570c09d9/attachment-0001.htm>


More information about the gstreamer-devel mailing list