Motion - Feature Request 2013x 06x 10x 183528

Feature Request: Disable auto focus on UVC webcams

Description

I'd like to have an option to disable auto-focus on webcams. In my case, I'm using a Microsoft Lifecam Cinema.

I read that it's a UVC feature, but I have no idea how easy it would be to incorporate. If there's an existing way to do this, please point me in the right direction.

Thanks for all your work.

Eric

-- EricRead - 10 Jun 2013

Follow up

Comments

You can do it with v4l2-ctl (usually in vl4 utils), first use the -l option to list your cammera options, if some option related to auto-focus is listed you can use it with the -c option, for example:

v4l2-ctl -c auto_focus=0

you can do this in a script that run on system startup, I´m doing the same but for auto_exposure option in a Logitech webcam.

Regards Luis

-- LuisBackup - 30 Apr 2014
Topic revision: r2 - 30 Apr 2014, LuisBackup
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.