Caps Negotiation Problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Caps Negotiation Problem

Vikas Malhotra
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel