<div dir="ltr">Thanks, it works!<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 12:47 AM Antonio Ospite <<a href="mailto:ao2@ao2.it">ao2@ao2.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 23 Aug 2018 23:59:37 +0800<br>
kk <<a href="mailto:pinganddu90@gmail.com" target="_blank">pinganddu90@gmail.com</a>> wrote:<br>
<br>
> gst-launch-1.0 videotestsrc ! video/x-raw, format=RGB, width=300, height=300 ! ximagesink<br>
<br>
Add videoconvert before ximagesink.<br>
<br>
For data to pass from one element to the others they have to support the<br>
same format (caps) to complete the negotiation step successfully, if<br>
they don't a conversion is needed.<br>
<br>
Use "gst-launch-1.0 -v" to see more negotiation details.<br>
<br>
You can see the caps of an element with "gst-inspect-1.0 elementname".<br>
<br>
Some elements do not show all the caps properties here as they may be<br>
discovered at runtime.<br>
<br>
Look up some info about GStreamer caps and negotiation.<br>
<br>
Ciao,<br>
   Antonio<br>
<br>
-- <br>
Antonio Ospite<br>
<a href="https://ao2.it" rel="noreferrer" target="_blank">https://ao2.it</a><br>
<a href="https://twitter.com/ao2it" rel="noreferrer" target="_blank">https://twitter.com/ao2it</a><br>
<br>
A: Because it messes up the order in which people normally read text.<br>
   See <a href="http://en.wikipedia.org/wiki/Posting_style" rel="noreferrer" target="_blank">http://en.wikipedia.org/wiki/Posting_style</a><br>
Q: Why is top-posting such a bad thing?<br>
</blockquote></div>