Hello, I am developing a H264 video decoder plugin, and the source
file is a quicktime mov file. A while ago I asked on the mailing list about which
parser plugin to choose, the answer I got is that h264parse is not actively
maintained and I should go with a real demuxer… So I used qtdemux. The problem with qtdemux is that it does not generate SPS/PPS
info. Since my decoder didn’t get the SPS/PPS it can’t decode.
I wonder if skipping the SPS/PPS is normal in the demuxer? Separately, I have used other tool (windows based) to
extract the video data from the same mov file and that tool generates PPS/SPS
with NAL start codes. Thanks, Feng ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Fri, 2010-10-22 at 22:30 -0700, Feng Ye wrote:
Hi, > I am developing a H264 video decoder plugin, and the source file is a > quicktime mov file. A while ago I asked on the mailing list about > which parser plugin to choose, the answer I got is that h264parse is > not actively maintained You shouldn't believe everything you read on this list ;) > and I should go with a real demuxer. So I used qtdemux. This sounds like a good choice. > The problem with qtdemux is that it does not generate SPS/PPS info. > Since my decoder didn’t get the SPS/PPS it can’t decode. I wonder if > skipping the SPS/PPS is normal in the demuxer? qtdemux should pass the SPS and PPS via the "codec_data" field in the video/x-h264 caps, like this: ffdec_h2640.GstPad:sink: caps = video/x-h264, profile=(string)main, level=(string)4.1, codec_data=(buffer)014d4029ff010015274d4029a9181b07bc478035010101b6c2b5ef7c0401000428de09c8, width=(int)850, height=(int)479, framerate=(fraction)1000/41 Cheers -Tim ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |