<div dir="ltr">so I check <span style="font-family:arial,sans-serif;font-size:13px">GStreamer debug logs and in all the output I get, I found things like this:</span><div><span style="font-family:arial,sans-serif;font-size:13px">gst_element_get_compatible_pad:<vaapidecode0> Could not find a compatible pad to link to cluttergstvideosink0:sink</span><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">gst_element_link_pads_full: no link possible from vaapidecode0 to </span><span style="font-family:arial,sans-serif;font-size:13px">vaapidecode0</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">So it seems that the link between </span><span style="font-family:arial,sans-serif;font-size:13px">vaapidecode and </span><span style="font-family:arial,sans-serif;font-size:13px">vaapidecode doesn't work.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Is there something to fix it or a workaround?</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thank you.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><font face="arial, sans-serif">Portion of log filtered on "clutter" :</font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><div>18057:0:00:00.323023826 18594 0xa2cae40 DEBUG GST_ELEMENT_PADS gstutils.c:798:gst_element_get_compatible_pad_template: Looking for a suitable pad template in cluttergstvideosink0 out of 1 templates...</div>
<div>18063:0:00:00.323072866 18594 0xa2cae40 INFO GST_ELEMENT_PADS gstutils.c:1123:gst_element_get_compatible_pad:<cluttergstvideosink0> Could not find a compatible pad to link to vaapidecode0:src</div><div>
18064:0:00:00.323078533 18594 0xa2cae40 DEBUG GST_ELEMENT_PADS gstutils.c:1687:gst_element_link_pads_full: trying dest pad cluttergstvideosink0:sink</div><div>18065:0:00:00.323083712 18594 0xa2cae40 DEBUG GST_ELEMENT_PADS gstutils.c:1006:gst_element_get_compatible_pad: finding pad in vaapidecode0 compatible with cluttergstvideosink0:sink</div>
<div>18066:0:00:00.323090792 18594 0xa2cae40 INFO GST_PADS gstutils.c:936:gst_pad_check_link: trying to link vaapidecode0:src and cluttergstvideosink0:sink</div><div>18067:0:00:00.323097515 18594 0xa2cae40 DEBUG GST_CAPS gstutils.c:2762:gst_pad_query_caps:<cluttergstvideosink0:sink> get pad caps with filter (NULL)</div>
<div>18069:0:00:00.323107782 18594 0xa2cae40 DEBUG GST_PADS gstpad.c:3445:gst_pad_query:<cluttergstvideosink0:sink> doing query 0xa72f750 (caps)</div><div>18070:0:00:00.323114318 18594 0xa2cae40 DEBUG GST_PADS gstpad.c:3467:gst_pad_query:<cluttergstvideosink0:sink> sent query 0xa72f750 (caps), result 1</div>
<div>18071:0:00:00.323120385 18594 0xa2cae40 DEBUG GST_CAPS gstutils.c:2769:gst_pad_query_caps:<cluttergstvideosink0:sink> query returned video/x-raw, format=(string)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGBA, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB, BGR }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</div>
<div>18085:0:00:00.323237488 18594 0xa2cae40 DEBUG GST_ELEMENT_PADS gstutils.c:1102:gst_element_get_compatible_pad:<vaapidecode0> Could not find a compatible unlinked always pad to link to cluttergstvideosink0:sink, now checking request pads</div>
<div>18086:0:00:00.323243012 18594 0xa2cae40 DEBUG GST_CAPS gstutils.c:2762:gst_pad_query_caps:<cluttergstvideosink0:sink> get pad caps with filter (NULL)</div><div>18088:0:00:00.323252739 18594 0xa2cae40 DEBUG GST_PADS gstpad.c:3445:gst_pad_query:<cluttergstvideosink0:sink> doing query 0xa72f6f0 (caps)</div>
<div>18089:0:00:00.323258879 18594 0xa2cae40 DEBUG GST_PADS gstpad.c:3467:gst_pad_query:<cluttergstvideosink0:sink> sent query 0xa72f6f0 (caps), result 1</div><div>18090:0:00:00.323264798 18594 0xa2cae40 DEBUG GST_CAPS gstutils.c:2769:gst_pad_query_caps:<cluttergstvideosink0:sink> query returned video/x-raw, format=(string)AYUV, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)I420, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)YV12, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGBA, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ RGB, BGR }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</div>
<div>18097:0:00:00.323365773 18594 0xa2cae40 INFO GST_ELEMENT_PADS gstutils.c:1123:gst_element_get_compatible_pad:<vaapidecode0> Could not find a compatible pad to link to cluttergstvideosink0:sink</div><div>
18099:0:00:00.323381137 18594 0xa2cae40 DEBUG GST_ELEMENT_PADS gstutils.c:1779:gst_element_link_pads_full: no link possible from vaapidecode0 to cluttergstvideosink0</div><div>18110:0:00:00.324394670 18594 0xa2cae40 DEBUG bin gstbin.c:1893:add_to_queue:<pipeline0> adding 'cluttergstvideosink0' to queue</div>
<div>18113:0:00:00.324410678 18594 0xa2cae40 DEBUG bin gstbin.c:2033:update_degree:<pipeline0> element cluttergstvideosink0 not linked on any sinkpads</div><div>18121:0:00:00.324451870 18594 0xa2cae40 DEBUG bin gstbin.c:2094:gst_bin_sort_iterator_next:<pipeline0> queue head gives cluttergstvideosink0</div>
<div>18124:0:00:00.324465569 18594 0xa2cae40 DEBUG bin gstbin.c:2033:update_degree:<pipeline0> element cluttergstvideosink0 not linked on any sinkpads</div><div>18125:0:00:00.324473006 18594 0xa2cae40 INFO GST_STATES gstbin.c:2227:gst_bin_element_set_state:<cluttergstvideosink0> current NULL pending VOID_PENDING, desired next READY</div>
<div>18128:0:00:00.324500239 18594 0xa2cae40 DEBUG bin gstbin.c:2322:gst_bin_element_set_state:<pipeline0> setting element cluttergstvideosink0 to READY, base_time 0:00:00.000000000</div><div><br>
</div></span></div></div><div class="gmail_extra"><br clear="all"><div>Erwan JEZEQUEL<div>Service Informatique</div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">079 946 02 91</span></div>
</div>
<br><br><div class="gmail_quote">2014-04-02 20:33 GMT+02:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Di, 2014-04-01 at 22:13 +0200, Jezequel, Erwan wrote:<br>
> Thank you for your response.<br>
><br>
> I did a new code based on something find on internet but it still doesn't<br>
> work.<br>
><br>
> The video doesn't display in the clutter window and I don't understand what<br>
> is missing to work.<br>
</div>> [...]<br>
<br>
Does all the linking work, is the pad-added callback called and does the<br>
linking there work, do all the state changes work successfully, do you<br>
get error messages on the bus or any other output on the terminal?<br>
<br>
Also by checking the GStreamer debug logs you should be able to see if<br>
data flow is happening at all, and if it reaches cluttersink and if not<br>
why it doesn't. You can enable the logs e.g. with setting the<br>
environment variable GST_DEBUG to 6 (to get a lot of output).<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">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>
<br></blockquote></div><br></div>