GNOME Bugzilla – Bug 161828
[v4lsrc] complains about framerate for V4L(1) webcam
Last modified: 2006-07-18 08:21:52 UTC
I'm trying to use a 'sweex 100k' webcam (=sn9c101 camera controller + PAS106B CMOS image sensor), with a V4L1 driver from http://sourceforge.net/projects/sonix 'gst-launch -v v4lsrc ! ffmpegcolorspace ! ximagesink' reports the following error "RUNNING pipeline ... ERROR: from element /pipeline0/v4lsrc0: Could not get/set settings from/on resource. Additional debug info: gstv4lsrc.c(663): gst_v4lsrc_src_link: /pipeline0/v4lsrc0: Could not set framerate of 1.000000 fps /pipeline0/v4lsrc0.src: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)352, height=(int)288, framerate=(double)1, pixel-aspect-ratio=(fraction)1/1 /pipeline0/ffmpegcolorspace0.sink: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)352, height=(int)288, framerate=(double)1, pixel-aspect-ratio=(fraction)1/1 ERROR: from element /pipeline0/v4lsrc0: Could not get/set settings from/on resource. Additional debug info: gstv4lsrc.c(663): gst_v4lsrc_src_link: /pipeline0/v4lsrc0: Could not set framerate of 30.000000 fps /pipeline0/v4lsrc0.src: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)352, height=(int)288, framerate=(double)30, pixel-aspect-ratio=(fraction)1/1 /pipeline0/ffmpegcolorspace0.sink: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, width=(int)352, height=(int)288, framerate=(double)30, pixel-aspect-ratio=(fraction)1/1 /pipeline0/ffmpegcolorspace0.src: caps = video/x-raw-rgb, width=(int)352, height=(int)288, framerate=(double)30, bpp=(int)32, depth=(int)24, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, endianness=(int)4321, pixel-aspect-ratio=(fraction)1/1 /pipeline0/ximagesink0.sink: caps = video/x-raw-rgb, width=(int)352, height=(int)288, framerate=(double)30, bpp=(int)32, depth=(int)24, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, endianness=(int)4321, pixel-aspect-ratio=(fraction)1/1 /pipeline0/v4lsrc0.src: active = TRUE /pipeline0/ffmpegcolorspace0.sink: active = TRUE /pipeline0/ffmpegcolorspace0.src: active = TRUE /pipeline0/ximagesink0.sink: active = TRUE Execution ended after 1 iterations (sum 76284000 ns, average 76284000 ns, min 76284000 ns, max 76284000 ns). /pipeline0/v4lsrc0.src: active = FALSE /pipeline0/ffmpegcolorspace0.sink: active = FALSE /pipeline0/ffmpegcolorspace0.src: active = FALSE /pipeline0/ximagesink0.sink: active = FALSE /pipeline0/v4lsrc0.src: caps = NULL /pipeline0/ffmpegcolorspace0.sink: caps = NULL /pipeline0/ffmpegcolorspace0.src: caps = NULL /pipeline0/ximagesink0.sink: caps = NULL [root@vleermuis gst-plugins-0.8.6]# " When constructing this pipeline in gst-editor, I get a warning about the framerate but after dismissing that, it seems to run. See also the thread on the gst-devel mailing list called "v4lsrc confusion", started 19 december 2004.
Created attachment 35062 [details] stderr output when running the pipeline with GST_DEBUG=*:5
is this a bug? Anyone ?
Bertrik, is this still a bug for you? Also, can you try with 0.10 to see if it is fixed there?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!