This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Capture from Webcam and composite with Gstreamer

Other Parts Discussed in Thread: OMAPL138, TVP5147

Hi,

2 questions about capture with gstreamer.

We  make a custom OMAPL138 board with 256 MB DDR2 memory  and now we are traying to capture video from webcam or from TVP5147 connected to Videoport interface. Our webcam is Logitech C110 (UVC support), we use dvsdk_omapl138-evm_04_03_00_06.  The webcam is /dev/video2

First question - capture from webcam 

root@arago:~# gst-launch v4l2src device=/dev/video2 ! ffmpegcolorspace ! fbdevsink

Setting pipeline to PAUSED ...
[ 124.659025] uvcvideo: Failed to submit URB 0 (-90).
libv4l2: error turning on stream: Message too long
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error starting streaming on device '/dev/video2'.
Additional debug info:
gstv4l2object.c(2114): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Message too long
Setting pipeline to NULL ...
Freeing pipeline ...
root@arago:~#

root@arago:~# gst-launch v4l2src device=/dev/video2 ! video/x-raw-yuv,format=\(fourcc\)YUY2, width=320,height=240 ! ffmpegcolorspace ! fbdevsink
Setting pipeline to PAUSED ...
[ 27.979039] uvcvideo: Failed to submit URB 0 (-90).
libv4l2: error turning on stream: Message too long
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error starting streaming on device '/dev/video2'.
Additional debug info:
gstv4l2object.c(2114): gst_v4l2_object_start_streaming (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Message too long
Setting pipeline to NULL ...
Freeing pipeline ...
root@arago:~#

In both cases we get error -  Message too long

Second question - capture from composite input from TVP5147 (/dev/video1)

root@arago:~# gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! fbdevsink
Setting pipeline to PAUSED ...
libv4l2: error getting pixformat: Invalid argument

(gst-launch-0.10:1246): GStreamer-WARNING **: pad v4l2src0:src returned caps which are not a real subset of its template caps
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2755): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
root@arago:~#

add Format string

root@arago:~# gst-launch v4l2src device=/dev/video1 ! video/x-raw-yuv,format=\(fourcc\)NV16 ! ffmpegcolorspace ! fbdevsink
WARNING: erroneous pipeline: could not link v4l2src0 to ffmpegcsp0
root@arago:~#

Any ideas?