Red Hat Bugzilla – Bug 316931
v4l2src plugin regression with uvcvideo: uses read() rather than mmap()
Last modified: 2008-01-16 11:28:16 EST
Description of problem:
The v4l2 plugin in 0.10.6 uses read() exclusively; right now the linux-uvc
project only supports mmap() as it performs better.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install linux-uvc and plug in a UVC webcam (Logitech, Thinkpad)
2. gstreamer-properties, set device to v4l2, test
Failure -- could not get buffers from /dev/video0
Should work (Ekiga works)
Fixed in CVS -- could the patch be applied?
Still a problem with the latest version of linux-uvc -- ping?
Looks like a single change will fix this, although __tim in #gstreamer says that
it should be set to GST_V4L2_MIN_BUFFERS instead of 2.
Created attachment 282101 [details]
Patch to fix V4L2 buffer issue
The attached patch fixes the issue for F8/x86_64.
The include patch works for me and makes the webcam on my M1210 work with cheese...
Where are you getting linux-uvc from?
Compiled from SVN sources. I have a package for it, but it depends on DKMS, and
I'm not sure Fedora currently accepts DKMS-packaged kernel modules.
gstreamer-plugins-good-0.10.6-7.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.