Gstreamer v4l2src could not negotiate format

Michael Olbrich m.olbrich at pengutronix.de
Sat Jun 15 23:58:26 PDT 2013


Hi,

On Fri, Jun 14, 2013 at 09:42:35AM -0700, yemi wrote:
> I am currently working on the IMx25 and trying to use the v4l2src element to
> caputure images from a camera. However, i am getting this error. Below is my
> pipeline:
> 
> gst-launch -v --gst-debug=3 v4l2src ! ffmpegcolorspace ! ffenc_flv ! flvmux
> ! filesink location=video3.flv
> 
> Below is my error log:
[...]
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device
> '/dev/video0' is not a capture device.

Here is your problem. You need to specify the correct v4l2 device:
gst-launch v4l2src device=/dev/video1 ...
or whatever your camera device is.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the gstreamer-devel mailing list