gstreamer problems on AMD64

28 views
Skip to first unread message

krastano...@gmail.com

unread,
May 30, 2009, 5:28:45 AM5/30/09
to microdia
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 ...

Stefan Krastanov

unread,
May 30, 2009, 6:05:40 AM5/30/09
to microdia
According to http://gstreamer.freedesktop.org/documentation/plugins.html v4l2src 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

Stefan Krastanov

unread,
May 31, 2009, 3:53:54 AM5/31/09
to microdia
Solved

I needed 0002-Implement-ENUM_FRAMESIZES

I used old version. My mistake.

Thank you for your work

Stefan Krastanov

2009/5/30 Stefan Krastanov <krastano...@gmail.com>
Reply all
Reply to author
Forward
0 new messages