SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a logitech web quickcam communicate mp/s5500 which runs with quite low frame rate (55 frames in 11 seconds). this is using the following parameters to see the video:
Code:
mplayer tv:// -tv driver=v4l2:device=/dev/video0
according to some sources on the net this is caused by auto exposure. does anyone know how to turn it off?
I had the same problem with my 9000pro. I used to use luvcview gui to turn off auto exposure, set exposure to deliver my desired framerate and then compensate for the poor lighting in my room with the contrast/brightness/saturation settings. You lose picture quality doing this, but you can usually find a compromise that doesn't look too bad.
I've not used it in quite a while but it might be worth a try.
I've just tried the 'trunk' version direct from svn.
Code:
svn checkout http://svn.quickcamteam.net/svn/luvcview/trunk
cd trunk/luvcview
wget http://svn.quickcamteam.net/svn/qct/Linux/Common/include/dynctrl-logitech.h
wget http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvc_compat.h
wget http://svn.berlios.de/svnroot/repos/linux-uvc/linux-uvc/trunk/uvcvideo.h
make
If you click on the button above the one you're clicking you should get a "Auto expose set to 1" message on stdout. This appears to turn off auto exposure, at least it does on my 9000. Clicking the button below gives an error message as you say. Once you've got the "Auto expose is set to 1" message the exposure controls appear to work normally.
Unfortunately, this program appears to be a bit of a mess and does things in a non-standard way. I think what's happened is that at some point the v4l2 kernel api or uvc driver has changed and because of the non-standard approach, a few things have broken.
I see there's now a gtk+ version called guvcview. I've not tried it, but maybe you'll have more luck with that one.
I've just tried the 'trunk' version direct from svn.
I see there's now a gtk+ version called guvcview. I've not tried it, but maybe you'll have more luck with that one.
awesome!!! it works!!! it's a little bit weird... don't really know what i'm doing with the sliders but will get there. any idea where it stores it's config so that it can be reset to the defaults (before i started playing with the camera settings)?
gazl@slack:~/Projects/trunk/luvcview$ ./luvcview --help
luvcview 0.2.6
usage: uvcview [-h -d -g -f -s -i -c -o -C -S -L -l -r]
-h print this message
-d /dev/videoX use videoX device
-g use read method for grab instead mmap
-w disable SDL hardware accel.
-f choose video format (YUYV/yuv and MJPG/jpg are valid, MJPG is default)
-i fps use specified frame rate
-s widthxheight use specified input size
-c enable raw frame capturing for the first frame
-C enable raw frame stream capturing from the start
-S enable raw stream capturing from the start
-o avifile create avifile, default video.avi
-L query valid video formats
-l query valid controls and settings
-r read and set control settings from luvcview.cfg (save/restore with F1/F2)
gazl@slack:~/Projects/trunk/luvcview$
I've not played with it all that much, but it looks like the function keys and -r option are what you're looking for. I've not tried the gtk one at all, so I can't offer any advice on that one.
Oh, and I think one of those 4 buttons in the middle is a reset to defaults, but I can't remember which.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.