[gstreamer-bugs] [Bug 161828] New: v4lsrc complains about framerate for V4L(1) webcam

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Dec 20 13:13:18 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=161828
GStreamer | gst-plugins | Ver: 0.8.6

           Summary: v4lsrc complains about framerate for V4L(1) webcam
           Product: GStreamer
           Version: 0.8.6
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bertrik at zonnet.nl
         QAContact: gstreamer-bugs at lists.sourceforge.net


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 at 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.

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list