According to http://gstreamer.freedesktop.org/documentation/plugins.htmlv4l2src
and v4lsrc should be used with raw frames.
According to dmesg I'm using yuv420 output format, and I can not find
useful source for it on gstreamer. Any ideas? Probably I can change the
format of my cam, but that will hurt the quality of the video.

autovideosrc does not work neither

What am I doing wrong?

Regards
Stefan

2009/5/30 [email protected] <[email protected]>

> Hi all
>
> My cam works on mplayer (with preloaded libs) and skype, but not in
> camorama and cheese. As I don't use the later I'm ok with this, and
> just suspected it's problem with the distribution (ubuntu 9.04). But
> when I tried using the cam with gstreamer, I didn't work. I preloaded
> the needed libs and tried with v4lsrc. I tried with v4l2src, but it's
> not working neither.
>
> # gst-launch v4lsrc device=/dev/video0 ! sdlvideosink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could
> not get/set settings from/on resource.
> Additional debug info:
> v4l_calls.c(409): gst_v4l_set_chan_norm (): /GstPipeline:pipeline0/
> GstV4lSrc:v4lsrc0:
> Error setting the channel/norm settings: Invalid argument
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> # gst-launch v4l2src device=/dev/video0 ! sdlvideosink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
> Failed to get current input on device '/dev/video0'. May be it is a
> radio device
> Additional debug info:
> v4l2_calls.c(792): gst_v4l2_get_input (): /GstPipeline:pipeline0/
> GstV4l2Src:v4l2src0:
> system error: Invalid argument
> ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could
> not negotiate format
> Additional debug info:
> gstbasesrc.c(2522): gst_base_src_start (): /GstPipeline:pipeline0/
> GstV4l2Src:v4l2src0:
> Check your filtered caps, if any
> Setting pipeline to NULL ...
> FREEING pipeline ...
>

--~--~---------~--~----~------------~-------~--~----~
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia
-~----------~----~----~----~------~----~------~--~---

Reply via email to