<div dir="ltr"><div dir="ltr"><div>For reference, I solved it using:</div><div><br></div><div><span style="font-family:monospace,monospace">GstCaps *caps = gst_caps_from_string(<br> "video/x-raw"<br> ",format=(string)xRGB"<br> ",width=(int)[1,2147483647]"<br> ",height=(int)[1,2147483647]");</span><br></div><div><br></div><div>Luca<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 20 gen 2019 alle ore 16:20 Luca Bacci <<a href="mailto:luca.bacci982@gmail.com">luca.bacci982@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi, I'm using GStreamer to decode video files and get a sequence of RGB frames that I paint in a widget of my application. This is the pipeline:</div><div><br></div><div>filesrc ! decodebin ! videoconvert ! appsink</div><div><br></div><div>I want RGB frames and for that I use the "caps" property of appsink but<br></div><div><br></div><div><span style="font-family:monospace,monospace">GstCaps *caps = gst_caps_new_simple("video/x-raw",<br> "format", G_TYPE_STRING, "xRGB",<br> NULL);</span></div><div><br></div><div>fails and returns NULL caps, why?<br></div><div><br></div><div>Thanks in advance,</div><div>Luca<br></div></div></div>
</blockquote></div>