[gst-devel] v4lsrc camera resolution

Bebjak, Michal michal.bebjak at siemens.com
Thu Sep 7 18:07:01 CEST 2006


Hello,

I have a question according to the v4lsrc element. I'm trying to start a simple pipeline like this:

gst-launch-0.10 -v v4lsrc ! ffmpegcolorspace ! ximagesink

It worked well, but the camera resolution is only width=(int)176, height=(int)144. So I tried to start it with:

gst-launch-0.10 -v v4lsrc ! 'video/x-raw-yuv,height=320,width=480' ! ffmpegcolorspace ! ximagesink

but I got these following messages:

gst-launch-0.10 -v v4lsrc ! 'video/x-raw-yuv,height=320,width=480' ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /pipeline0/v4lsrc0: Could not get/set settings from/on resource.
Additional debug info:
v4lsrc_calls.c(264): gst_v4lsrc_grab_frame (): /pipeline0/v4lsrc0:
Device is not in streaming mode
Execution ended after 1978000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

Can someone please help me to set a higher resolution? I'm using the spca5xx driver and Labtec webcam pro.

Thank you!

Michal




More information about the gstreamer-devel mailing list