Camerabin - how to specify size of image for capture

Tim Müller tim at centricular.com
Thu Feb 20 06:37:13 PST 2014


On Thu, 2014-02-20 at 14:21 +0000, Ian Davidson wrote:


> It crashed when I tried to establish an image size of 800x600.

It errors out with not-negotiated it seems, which indicates a problem
with the caps negotiation.

>   I ran with --gst-debug=4 and here is part of the log that was output

> gstv4l2object.c:3246:gst_v4l2_object_get_caps:<..> probed caps: EMPTY

Well, that's not very promising. Can you make a debug log like this?

 GST_DEBUG=*v4l*:6 gst-launch-1.0 v4l2src num-buffers=1 ! fakesink
2>dbg.log

Note that you may need to compile v4l2src from -good against
libvideo4linux(-devel) in case the camera only offers formats that are
not handled natively in GStreamer and that need converting.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list