[gst-devel] converting from yuv to rgb with colorspace plugin

Jeremy Gwinnup jgwinnup at mbvlab.wpafb.af.mil
Mon Sep 15 13:02:19 CEST 2003


Hey all,

I'm making progress setting caps on link between the colorspace plugin
and the fakesink I grab my data from.

I found the file: gst-plugins/examples/capsfilter/capsfilter1.c

which had an example in it on how to connect the filtercaps properly. I
had to update from the *connect* call to the
gst_element_link_pads_filtered function to get it to build properly:
(sorry for the formatting)

  res = gst_element_link_pads_filtered(colorspace, "src",
				       videosink, "sink",
				       GST_CAPS_NEW ("filtercaps",
						     "video/raw",
						     "format", GST_PROPS_FOURCC(GST_STR_FOURCC("RGB "))
						     ));


This appears to work, but when I star playback I get the following
message stating that yuv2rgb playback is not enabled. I have the
gstreamer-colorspace plugin installed, so I'm sure it's not that

I've posted the entire main.c file at http://www.gwinnup.org/main.c if
that is of any use.

Thanks again for your help
-Jeremy

The messages:

(sdview:1692): GStreamer-CRITICAL **: file gstprops.c: line 1164
(gst_props_entry_get_safe): assertion `entry != NULL' failed
 
(sdview:1692): GStreamer-CRITICAL **: file gstprops.c: line 1164
(gst_props_entry_get_safe): assertion `entry != NULL' failed
 
(sdview:1692): GStreamer-CRITICAL **: file gstprops.c: line 1164
(gst_props_entry_get_safe): assertion `entry != NULL' failed
 
(sdview:1692): GStreamer-CRITICAL **: file gstprops.c: line 1164
(gst_props_entry_get_safe): assertion `entry != NULL' failed
 
(sdview:1692): GStreamer-CRITICAL **: file gstprops.c: line 1164
(gst_props_entry_get_safe): assertion `entry != NULL' failed
gst_colorspace_yuv2rgb not implemented



-- 
Jeremy Gwinnup
Software/Systems Engineer
General Dynamics Advanced Information Systems
phone: (937) 904-9023
fax:   (937) 656-7425
email: jgwinnup at mbvlab.wpafb.af.mil





More information about the gstreamer-devel mailing list