Filtered caps, setting bpp, depth

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

Filtered caps, setting bpp, depth

Ionut Dediu-2

Hi, I'm executing the following:
gst-launch v4l2src ! video/x-raw-rgb,width=160,height=120,bpp=24,depth=24 ! ffmpegcolorspace ! xvimagesink

and it gives me the following errors:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /pipeline0/v4l2src0: Device '/dev/video0' cannot capture at 160x120
Additional debug info:
v4l2src_calls.c(1194): gst_v4l2src_set_capture (): /pipeline0/v4l2src0:
Call to S_FMT failed for RGB3 @ 160x120: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

So it seams like gstreamer tries to send to the webcam an RGB3 format, although it specifically asked for an RGB 24 (bpp=24,depth=24). So how can I filter the caps to use RGB24?

Thanks,
Ionut

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel