[gst-devel] does qtdemux generates sps/pps info?

Tim-Philipp Müller t.i.m at zen.co.uk
Sat Oct 23 14:18:09 CEST 2010


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







More information about the gstreamer-devel mailing list