回复: Re: How can I deal with the codec_data after qtdemux?
hzqhuan at gmail.com
Wed Apr 11 20:05:54 PDT 2012
hi, Aihua Zhao
Thank you for your reply. I check the link you offer, but not very clear of it.
Now I can get the codec_data, then I need to parse it and got the PPS and SPS, right? After that, I need to package PPS and SPS to a GstBuffer and pass it downstream, but how can I package GstH264PPS to a GstBuffer, and does it work for me?
发件人： Aihua Zhao
发送时间： 2012-04-11 16:18
收件人： hzqhuan; Discussion of the development of and with GStreamer
主题： Re: How can I deal with the codec_data after qtdemux?
there are PPS, SPS in it,
refer it to:
在 2012年4月11日 下午1:54，ZiQiang Huan <hzqhuan at gmail.com>写道：
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
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 ?
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel