<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><font color="#330099"><font><font face="trebuchet ms,sans-serif">Thanks Tim for quick reply.</font></font></font></div><font color="#330099"><font><font face="trebuchet ms,sans-serif"><div>
<font color="#330099"><font><font face="trebuchet ms,sans-serif"><br>
</font></font></font></div>h264parse is already installed and it works if I manually connects in a gst-launch pipeline.</font></font></font><div><font color="#330099"><font><font face="trebuchet ms,sans-serif"><br></font></font></font></div>
<div><font><font face="trebuchet ms,sans-serif"><div><font color="#333333">$ <b>gst-launch-1.0.exe filesrc location=test2k25fps.mp4 ! qtdemux ! h264parse ! xinteldec_h264 ! xd3d9exvideosink -v --gst-debug=*:5,xinteldec_h264:2 2>with_out_decodebin.txt</b></font></div>
<div><font color="#333333">Setting pipeline to PAUSED ...</font></div><div><font color="#333333">Pipeline is PREROLLING ...</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)0, codec_data=(buffer)01276400ffe1002827640028ac2ec0780227e5c044000003000400000300cb8100002b90500002b905ef7be0ed0e189c01000428eebcb0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/xinteldec_h264:xinteldec_h264-0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/xinteldec_h264:xinteldec_h264-0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstXD3D9ExVideoSink:xd3d9exvideosink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/xinteldec_h264:xinteldec_h264-0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstXD3D9ExVideoSink:xd3d9exvideosink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">Pipeline is PREROLLED ...</font></div><div><font color="#333333">Setting pipeline to PLAYING ...</font></div><div><font color="#333333">New clock: GstSystemClock</font></div><div><font color="#333333">Got EOS from element "pipeline0".</font></div>
<div><font color="#333333">Execution ended after 1383079000 ns.</font></div><div><font color="#333333">Setting pipeline to PAUSED ...</font></div><div><font color="#333333">Setting pipeline to READY ...</font></div><div>
<font color="#333333">Setting pipeline to NULL ...</font></div>
<div><font color="#333333">Freeing pipeline ...</font></div><div style="color:rgb(51,0,153)"><br></div><div style="color:rgb(51,0,153)">decodebin (verbose log):</div><div><div><font color="#333333">$ <b>gst-launch-1.0.exe filesrc location=test2k25fps.mp4 ! decodebin ! xd3d9exvideosink -v --gst-debug=*:5 2>decodebin.txt</b></font></div>
<div><font color="#333333">Setting pipeline to PAUSED ...</font></div><div><font color="#333333">Pipeline is PREROLLING ...</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime, variant=(string)iso</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime, variant=(string)iso</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0.GstPad:sink: caps = video/quicktime, variant=(string)iso</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)0, codec_data=(buffer)01276400ffe1002827640028ac2ec0780227e5c044000003000400000300cb8100002b90500002b905ef7be0ed0e189c01000428eebcb0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:sink_0: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)0, codec_data=(buffer)01276400ffe1002827640028ac2ec0780227e5c044000003000400000300cb8100002b90500002b905ef7be0ed0e189c01000428eebcb0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)0, codec_data=(buffer)01276400ffe1002827640028ac2ec0780227e5c044000003000400000300cb8100002b90500002b905ef7be0ed0e189c01000428eebcb0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/xinteldec_h264:xinteldec_h264-0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/xinteldec_h264:xinteldec_h264-0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/xinteldec_h264:xinteldec_h264-0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152</font></div><div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstXD3D9ExVideoSink:xd3d9exvideosink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad5: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1088, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)25/1</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
<div><font color="#333333">/GstPipeline:pipeline0/GstDecodeBin:decodebin0/xinteldec_h264:xinteldec_h264-0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)0, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)1/1, parsed=(boolean)true</font></div>
</div></font></font><div><div dir="ltr"><font color="#330099"><font face="'trebuchet ms', sans-serif"><div><font color="#330099"><font face="'trebuchet ms', sans-serif"><br></font></font></div><div><font color="#330099"><font face="'trebuchet ms', sans-serif"><br>
</font></font></div><div>Please find the attached log level 5 output (with and without decodebin)</div><div><br></div><div>using decodebin:</div><div><a href="https://docs.google.com/file/d/0BwxewtoMURnScXZmS0RraEVMTHc/edit?usp=sharing">https://docs.google.com/file/d/0BwxewtoMURnScXZmS0RraEVMTHc/edit?usp=sharing</a></div>
<div><br></div><div>without decodebin</div><div><a href="https://docs.google.com/file/d/0BwxewtoMURnSN0RsVGhJdk5fbUE/edit?usp=sharing">https://docs.google.com/file/d/0BwxewtoMURnSN0RsVGhJdk5fbUE/edit?usp=sharing</a></div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>Kishore Arepalli</div></font></span></font></font><div><span style="font-size:13.3px;font-family:Verdana,Arial,Helvetica,sans-serif"></span></div>
</div></div><div><div class="h5">
<br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 1:56 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 2013-02-04 at 13:16 +0100, Kishore Arepalli wrote:<br>
<br>
Hi,<br>
<div><div><br>
> How to force the decodebin to plug in h264parse before decoder?<br>
><br>
><br>
> Decoder caps are:<br>
> SINK template: 'sink'<br>
> Availability: Always<br>
> Capabilities:<br>
> video/x-h264<br>
> stream-format: byte-stream<br>
> alignment: au<br>
><br>
><br>
> qtdemux out caps are "video/x-h264, stream-format=avc, alignment: au"<br>
><br>
><br>
> Here, "stream-format" needs to converted from "avc" to "byte-stream".<br>
> So, I need to insert h264parse element in order to feed to correct<br>
> data to decoder. But decodebin is not inserting h264parse instead<br>
> directly connects qtdemux to decoder.<br>
><br>
><br>
> pipeline:<br>
> gst-launch-1.0.exe filesrc location=test.mp4 ! decodebin !<br>
> d3dvideosink<br>
<br>
</div></div>Decodebin should be doing that automatically already. I also don't know<br>
why it would plug the decoder if its caps are clearly incompatible with<br>
the output of qtdemux. Do you have h264parse actually installed?<br>
<br>
It could be a bug of course, in which case a debug log might be helpful.<br>
<br>
Cheers<br>
-Tim<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div></div></div></div>
</div><br></div>