how to convert RGB to YUV

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to convert RGB to YUV

Michael Joachimiak
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

------------------------------------------------------------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel