Re: Turning of webcam auto-focus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 12, 2021 at 12:27 AM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
>
> >> You might try uvcdynctl that is what I have been using as it directly
> >> talks to the webcam.
> >>
> >> It will show the controls that exist and let you query and set them.
> >>
> > uvcdynctrl that is.
>
> FWIW, uvcdynctrl seems to return much the same info as does v4l2-ctl.  At least for my capture device.
>
> [egreshko@meimei ~]$ uvcdynctrl -c
> Listing available controls for device video0:
>    Brightness
>    Contrast
>    Saturation
>    Hue
>
> [egreshko@meimei ~]$ v4l2-ctl -l
>                       brightness 0x00980900 (int)    : min=-100 max=100 step=1 default=0 value=0
>                         contrast 0x00980901 (int)    : min=50 max=200 step=1 default=100 value=100
>                       saturation 0x00980902 (int)    : min=0 max=200 step=1 default=100 value=100
>                              hue 0x00980903 (int)    : min=-90 max=90 step=1 default=0 value=0
>
> v4l2-ctl seems just a tad bit more user friendly since it returns the current value for the controls.

Thanks, Roger. Ed's suspicion has turned out to be pointing to the
right direction:

------------------------------------
# v4l2-ctl --list-devices
OBS Virtual Camera (platform:v4l2loopback-000):
    /dev/video0

EasyCamera 5M: EasyCamera 5M (usb-0000:01:00.0-7):
    /dev/video1
    /dev/video2
    /dev/media0
#
------------------------------------

The default camera is taken to be the virtual one. Thus, running the command:

v4l2-ctl -d /dev/video1 -c focus_auto=0

went fine!

Paul
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux