mainsail-crew / crowsnest

Webcam Service for multiple Cams
GNU General Public License v3.0
302 stars 71 forks source link

V4L2 focus_absolute resets to 192 after "Starting ustreamer with Device /dev/video0" #185

Closed sleewok closed 9 months ago

sleewok commented 9 months ago

What happened

I have my V4L2 Control: Options: focus_auto=0,focus_absolute=260,sharpness=4,power_line_frequency=2

When restarting the service I spam the command: v4l2-ctl -d /dev/video0 --list-ctrls-menus

I can see the focus_absolute set to 260 as soon as the log shows: :V4L2 Control: Options: focus_auto=0,focus_absolute=260,sharpness=4,power_line_frequency=2:

Then when it gets to "Starting ustreamer with Device /dev/video0 ..." the value is set to 192.

The default value is 0 and I have no idea where 192 is coming from.

What did you expect to happen

I expect my focus_absolute to set to the value specified in the config file.

How to reproduce

Set the value in my config and restart the service.

Additional information

Is there anywhere else the 192 value could be set that is overriding this?

mryel00 commented 9 months ago

Sry that it took so long to respond here. The only thing I could think of right now, without any log, would be that you maybe have some kind of error inside your config or just edit the wrong config file. We support such things on Discord, so please join it and open a post inside the support-forum for further troubleshooting/help.

github-actions[bot] commented 9 months ago

Ahoi!

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response.

We use github to handle bugreports, feature requests and planning new releases.

Please use our Discord-Server for help: discord.gg/mainsail

This ticket will be automatically closed.

Fair wind and a following sea! ~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.