<div dir="ltr">Solved. I just need to add second capsfilter between videoconvert and qt5glvideosink to force format.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-15 18:54 GMT+03:00 Jani Koskimaa <span dir="ltr"><<a href="mailto:jani.koskimaa@gmail.com" target="_blank">jani.koskimaa@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>My Qt5 based software is using pipeline: decklinkvideosrc mode=19 connection=2 name=black ! queue ! videoscale ! videorate ! capsfilter caps="video/x-raw,format=UYVY,<wbr>width=1280, height=720,framerate=25/1" ! videoconvert ! qt5glvideosink<br><br></div>Video is shown but colors are wrong (very red). From console video is show correctly if I change sink to ximagesink.<br><br></div>If I change format to ARGB which decklinkvideosrc (and qt5glvideosink) should support I got error "

<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">could not link videorate0 to capsfilter0". Qt5Glvideosink does not support UYVY so videoconvert should do the trick automatically but it does not. Why? Is this a bug in </span>decklinkvideosrc?</p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">I am using Fedora24, gstreamer1-1.8.3 and  qt5-gstreamer-1.2.0-8 from fedora repo.<span class="HOEnZb"><font color="#888888"><br></font></span></span></p><span class="HOEnZb"><font color="#888888"><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)"><br></span></p><p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">-Jani<br></span></p></font></span></div>
</blockquote></div><br></div>