How can I deal with the codec_data after qtdemux?

Aihua Zhao halley.zhaoaihua at gmail.com
Wed Apr 11 01:18:52 PDT 2012


there are PPS, SPS in it,
refer it to:
https://gitorious.org/vaapi/gstreamer-vaapi/blobs/master/gst-libs/gst/vaapi/gstvaapidecoder_h264.c#line2366

在 2012年4月11日 下午1:54,ZiQiang Huan <hzqhuan at gmail.com>写道:

> **
> hi, gstreamers
>
> I can play mpegts files which contains h264 video and aac audio. But when
> I play mp4 files, qtdemux parse them to h264 video and aac audio, but my
> hardware decoders cannot decode them. I see the logs below
> /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0:
> caps = video/x-h264, level=(string)4.1, profile=(string)main, codec_data
> (buffer)014d4029ffe10018674d4029b91816824d080000030008000003019478c189c001000468ee0fc8,
> width=(i
> nt)720, height=(int)576, framerate=(fraction)30000/1001,
> pixel-aspect-ratio=(fraction)16/15
>
> I try to search some info about this from internet, but still not aware of
> this. So how I can deal with codec_data? any suggestions for this or any
> examples for this ?
>
> Best regards,
> zqhuan
>
> ------------------------------
> ZiQiang Huan
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120411/f481aadc/attachment.htm>


More information about the gstreamer-devel mailing list