Video format in gstreamer-1.0

Thomas Scheuermann scheuermann at barco.com
Tue Sep 24 07:04:20 PDT 2013


Hello,

I want to port my application to gstreamer-1.0 and I use there the appsink.
I specify there with the caps what kind of video data I want to get. In
gstreamer-0.10 I specified it the following way:

caps =
gst_caps_from_string("video/x-raw-yuv,format=(fourcc){YUY2};video/x-raw-rgb,format=(fourcc){RGBx}");

Now I want to do this for gstreamer-1.0 but I can't get this working. I
tried:

caps = gst_caps_from_string("video/x-raw,format=(fourcc){YUY2}");

but g_assert(caps) failed.
For me it is important to get the YUY2 format from videoconvert.

How do I have to specify the caps in gstreamer-1.0 for my needs?

Regards,

Thomas
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>


More information about the gstreamer-devel mailing list