Caps Negotiation Problem

Vikas Malhotra ervikaspec at gmail.com
Mon May 7 00:37:51 PDT 2012


Hi all,

I have been working on a h264 decoder plugin using third party proprietary
H264 Decoder.

I came across a problem regarding codec_data in setcaps function of my
decoder plugin. "codec_data" was not found in caps structure.

I found out that "qtdemux" adds "codec_data" in caps along with
"stream-format = avc" but in my decoder plugin's setcaps function, i am
getting caps with
"stream-format = byte-stream" and no "codec_data" available.

Below given are my caps, please help me out in this issue. I shall be very
thankful.

*qtdemux caps* = video/x-h264, stream-format=(string)avc,
alignment=(string)au,
level=(string)3, profile=(string)constrained-baseline,
codec_data=(buffer)0142c01effe100176742c01edb02d0f6c04400000301f400005daa3c58bb8001000468ca8cb2,

width=(int)720, height=(int)480, framerate=(fraction)2997/125,
pixel-aspect-ratio=(fraction)1/1


*my decoder plugin caps *= video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au,
level=(string)3, profile=(string)constrained-baseline, width=(int)720,
height=(int)480,
framerate=(fraction)2997/125, pixel-aspect-ratio=(fraction)1/1,
parsed=(boolean)true


Please have a look.

-- 

--------------------------------------
Vikas
Bachelor of Engineering
Computer Science and Engineering
<http://www.vikaspec.co.cc>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120507/06fdfc5a/attachment.html>


More information about the gstreamer-devel mailing list