Hi,
I am new to gumstix. I have gumstix overo board and caspa camera headboard.
I tried capturing video using a gstreamer pipleline but it is showing some error.
The pipleline is as follows:

gst-launch v4l2src device=/dev/video1 ! 'video/x-raw-yuv,width=640
,height=480,framerate=30/1' ! ffmpegcolorspace ! ffenc_mpeg4 ! avimux ! filesink location=test.avi


The error is:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video1' cannot capture at 640x480
Additional debug info:
gstv4l2object.c(2093): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for RGB3 @ 640x480: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...


Can anyone please guide me as to what is going on? If I replace device=/dev/video1 with device=/dev/video0  then I get the following error:

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' is not a capture device.
Additional debug info:
v4l2_calls.c(515): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x4000002
Setting pipeline to NULL ...
Freeing pipeline ...


Also to Note, my caspa camera is found and the driver gets registered on boot time:
mt9v032 3-005c: Probing MT9V032 at address 0x5c
overo: setting xclk to 25000000 hz
overo: setting xclk to 0 hz
mt9v032 3-005c: MT9V032 detected at address 0x5c

Please let me know the solution as to what is going on.

Thanks,
Maz