You are not logged in.

#1 2015-01-04 14:59:33

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Power line frequency of Webcam

Hallo guys,
everytime I use Skype I need to open v4l2ucp and set the Power Line Frequency to 60 Hz, when is always set to Disabled from default, otherwise my camera shows a total dark video.
Any solution about how to set this option to 60 Hz to default?

Offline

#2 2015-01-17 17:05:45

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Power line frequency of Webcam

I have something like this in /etc/udev/rules.d/90-webcam.rules

ACTION=="add|change", ATTRS{idVendor}=="04f2", ATTRS{idProduct}=="b066", RUN+="/usr/bin/v4l2-ctl -c sharpness=1 -c hue=-15 -c power_line_frequency=0 --device=/dev/$name"

You will need to adapt it to your needs but it should be easy to do.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB