[gst-devel] how to convert RGB to YUV

Michael Joachimiak mjoachimiak at gmail.com
Wed Jun 2 08:59:50 CEST 2010


Hi,
I am using the pipeline:
gst-launch dc1394src camera-number=0 ! video/x-raw-rgb,width=640,height=480
! ffmpegcolorspace !
video/x-raw-yuv,format=\(fourcc\)I420,width=640,height=480 ! fakesink
which I believed would convert to YUV, however I get this warning:

x13b7990 WARN           basetransform
gstbasetransform.c:1054:gst_base_transform_acceptcaps:<capsfilter1>
transform could not transform video/x-raw-rgb, bpp=(int)24, depth=(int)24,
endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280,
blue_mask=(int)255, width=(int)640, height=(int)480,
framerate=(fraction)30/1, vmode=(int)68 in anything we support

I am using libdc1394 ver. 2.1.2

Thanks.
-- 
Your Sincerely
Michael Joachimiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100602/7c9d5b1c/attachment.htm>


More information about the gstreamer-devel mailing list