Hi all,<br><br>I have been working on a h264 decoder plugin using third party proprietary H264 Decoder.<br><br>I came across a problem regarding codec_data in setcaps function of my decoder plugin. "codec_data" was not found in caps structure.<br>
<br>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 <br>"stream-format = byte-stream" and no "codec_data" available.<br>
<br>Below given are my caps, please help me out in this issue. I shall be very thankful.<br><br clear="all"><b>qtdemux caps</b> = video/x-h264, stream-format=(string)avc, alignment=(string)au, <br>level=(string)3, profile=(string)constrained-baseline, <br>
codec_data=(buffer)0142c01effe100176742c01edb02d0f6c04400000301f400005daa3c58bb8001000468ca8cb2, <br>width=(int)720, height=(int)480, framerate=(fraction)2997/125, pixel-aspect-ratio=(fraction)1/1<br><br><br><b>my decoder plugin caps </b>= video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, <br>
level=(string)3, profile=(string)constrained-baseline, width=(int)720, height=(int)480, <br>framerate=(fraction)2997/125, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true<br><br><br>Please have a look. <br><br>-- <br>
<br>--------------------------------------<br>Vikas<br>Bachelor of Engineering<br>Computer Science and Engineering<br><a href="http://www.vikaspec.co.cc" target="_blank"></a><br>