You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I first boot Klipper and Mainsail comes up, the V4L2 settings are not applied. I can tell because my camera shows out of focus. If I restart Crowsnest from the Mainsail menu it applies the V4L2 settings and when I refresh the camera screen it shows up focused.
What did you expect to happen
For Crowsnest to apply the V4L2 settings on inital bootup without a need to restart the service.
How to reproduce
Turn off machine. Boot machine and the V4L2 settings will not apply, but will apply on any restart of Crowsnest from Mainsail interface.
Additional information
Log entries for initial boot and subsequent restart of Crowsnest:
You are not using the latest Crowsnest version, so update first, before asking for help, and this is not an issue, but a question for support. So please refer to the ways on how to get support listed by the bot.
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 the Github Issue-Tracker only for development related
topics, like feature requests, bug reports etc. To get help,
please join our Discord-Server or ask in Github Discussions:
What happened
When I first boot Klipper and Mainsail comes up, the V4L2 settings are not applied. I can tell because my camera shows out of focus. If I restart Crowsnest from the Mainsail menu it applies the V4L2 settings and when I refresh the camera screen it shows up focused.
What did you expect to happen
For Crowsnest to apply the V4L2 settings on inital bootup without a need to restart the service.
How to reproduce
Turn off machine. Boot machine and the V4L2 settings will not apply, but will apply on any restart of Crowsnest from Mainsail interface.
Additional information
Log entries for initial boot and subsequent restart of Crowsnest:
[12/12/24 07:04:11] crowsnest: Shutdown or Killed by User!
[12/12/24 07:04:11] crowsnest: Please come again :)
[12/12/24 07:04:17] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[12/12/24 07:04:17] crowsnest: Version: v3.0.7-4-g0bdc1bc
[12/12/24 07:04:17] crowsnest: Prepare Startup ...
[12/12/24 07:04:17] crowsnest: INFO: Host information:
[12/12/24 07:04:17] crowsnest: Host Info: Distribution: Ubuntu 22.04.5 LTS
[12/12/24 07:04:17] crowsnest: Host Info: Kernel: Linux 5.15.0-126-generic x86_64
[12/12/24 07:04:17] crowsnest: Host Info: Model: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
[12/12/24 07:04:17] crowsnest: Host Info: Available CPU Cores: 2
[12/12/24 07:04:17] crowsnest: Host Info: Available Memory: 3898560 kB
[12/12/24 07:04:17] crowsnest: Host Info: Diskspace (avail. / total): 75G / 98G
[12/12/24 07:04:17] crowsnest: INFO: Checking Dependencys
[12/12/24 07:04:17] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini.
[12/12/24 07:04:17] crowsnest: Dependency: 'find' found in /usr/bin/find.
[12/12/24 07:04:17] crowsnest: Dependency: 'logger' found in /usr/bin/logger.
[12/12/24 07:04:17] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs.
[12/12/24 07:04:17] crowsnest: Dependency: 'ffmpeg' found in /usr/bin/ffmpeg.
[12/12/24 07:04:17] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/ustreamer.
[12/12/24 07:04:17] crowsnest: Dependency: 'rtsp-simple-server' found in bin/rtsp-simple-server/rtsp-simple-server.
[12/12/24 07:04:17] crowsnest: Version Control: ustreamer new version available: v5.45-3-gfc3e023 (v5.45).
[12/12/24 07:04:17] crowsnest: Version Control: rtsp-simple-server is up to date. (v0.20.2)
[12/12/24 07:04:17] crowsnest: Version Control: ffmpeg is up to date. (4.4.2-0ubuntu0.22.04.1)
[12/12/24 07:04:17] crowsnest: INFO: Print Configfile: '/home/craig/printer_data/config/crowsnest.conf'
[12/12/24 07:04:17] crowsnest: [crowsnest]
[12/12/24 07:04:17] crowsnest: log_path: ~/printer_data/logs/crowsnest.log
[12/12/24 07:04:17] crowsnest: log_level: verbose
[12/12/24 07:04:17] crowsnest: delete_log: false
[12/12/24 07:04:17] crowsnest:
[12/12/24 07:04:17] crowsnest: [cam 1]
[12/12/24 07:04:17] crowsnest: mode: mjpg
[12/12/24 07:04:17] crowsnest: port: 8080
[12/12/24 07:04:17] crowsnest: device: /dev/video0
[12/12/24 07:04:17] crowsnest: resolution: 1920x1080
[12/12/24 07:04:17] crowsnest: max_fps: 30
[12/12/24 07:04:17] crowsnest: v4l2ctl: focus_automatic_continuous=0,focus_absolute=400,zoom_absolute=0
[12/12/24 07:04:17] crowsnest: v4l2ctl: focus_automatic_continuous=0,focus_absolute=400,zoom_absolute=0
[12/12/24 07:04:17] crowsnest: v4l2ctl: focus_automatic_continuous=0,focus_absolute=400,zoom_absolute=0
[12/12/24 07:04:17] crowsnest: INFO: Detect available Devices
[12/12/24 07:04:17] crowsnest: INFO: Found 1 total available Device(s)
[12/12/24 07:04:17] crowsnest: INFO: Found 1 available camera(s)
[12/12/24 07:04:17] crowsnest: /dev/v4l/by-id/usb-Sonix_Technology_Co.__Ltd._Angetube_Live_Camera_SN0001-video-index0 -> /dev/video0
[12/12/24 07:04:17] crowsnest: Supported Formats:
[12/12/24 07:04:17] crowsnest: [0]: 'MJPG' (Motion-JPEG, compressed)
[12/12/24 07:04:17] crowsnest: Size: Discrete 640x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1600x896
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1280x720
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1024x768
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1024x576
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 960x544
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 864x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 848x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 800x448
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 640x360
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 352x288
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 320x240
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1920x1080
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.017s (60.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: [1]: 'YUYV' (YUYV 4:2:2)
[12/12/24 07:04:17] crowsnest: Size: Discrete 640x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1600x896
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1280x720
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1024x768
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1024x576
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 960x544
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 864x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 848x480
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 800x448
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.100s (10.000 fps)
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 640x360
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 352x288
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 320x240
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.033s (30.000 fps)
[12/12/24 07:04:17] crowsnest: Size: Discrete 1920x1080
[12/12/24 07:04:17] crowsnest: Interval: Discrete 0.200s (5.000 fps)
[12/12/24 07:04:17] crowsnest: Supported Controls:
[12/12/24 07:04:18] crowsnest:
[12/12/24 07:04:18] crowsnest: User Controls
[12/12/24 07:04:18] crowsnest:
[12/12/24 07:04:18] crowsnest: brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0
[12/12/24 07:04:18] crowsnest: contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32
[12/12/24 07:04:18] crowsnest: saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64
[12/12/24 07:04:18] crowsnest: hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
[12/12/24 07:04:18] crowsnest: white_balance_automatic 0x0098090c (bool) : default=1 value=1
[12/12/24 07:04:18] crowsnest: gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100
[12/12/24 07:04:18] crowsnest: gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0
[12/12/24 07:04:18] crowsnest: power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2 (60 Hz)
[12/12/24 07:04:18] crowsnest: 0: Disabled
[12/12/24 07:04:18] crowsnest: 1: 50 Hz
[12/12/24 07:04:18] crowsnest: 2: 60 Hz
[12/12/24 07:04:18] crowsnest: white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
[12/12/24 07:04:18] crowsnest: sharpness 0x0098091b (int) : min=0 max=6 step=1 default=3 value=3
[12/12/24 07:04:18] crowsnest: backlight_compensation 0x0098091c (int) : min=0 max=160 step=1 default=80 value=80
[12/12/24 07:04:18] crowsnest:
[12/12/24 07:04:18] crowsnest: Camera Controls
[12/12/24 07:04:18] crowsnest:
[12/12/24 07:04:18] crowsnest: auto_exposure 0x009a0901 (menu) : min=0 max=3 default=3 value=3 (Aperture Priority Mode)
[12/12/24 07:04:18] crowsnest: 1: Manual Mode
[12/12/24 07:04:18] crowsnest: 3: Aperture Priority Mode
[12/12/24 07:04:18] crowsnest: exposure_time_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive
[12/12/24 07:04:18] crowsnest: exposure_dynamic_framerate 0x009a0903 (bool) : default=0 value=1
[12/12/24 07:04:18] crowsnest: pan_absolute 0x009a0908 (int) : min=-36000 max=36000 step=3600 default=0 value=0
[12/12/24 07:04:18] crowsnest: tilt_absolute 0x009a0909 (int) : min=-36000 max=36000 step=3600 default=0 value=0
[12/12/24 07:04:18] crowsnest: focus_absolute 0x009a090a (int) : min=1 max=1023 step=1 default=280 value=400
[12/12/24 07:04:18] crowsnest: focus_automatic_continuous 0x009a090c (bool) : default=1 value=0
[12/12/24 07:04:18] crowsnest: zoom_absolute 0x009a090d (int) : min=0 max=19 step=1 default=0 value=0
[12/12/24 07:04:18] crowsnest: INFO: No usable CSI Devices found.
[12/12/24 07:04:18] crowsnest: V4L2 Control: Device: [cam 1]
[12/12/24 07:04:18] crowsnest: V4L2 Control: Options: focus_automatic_continuous=0,focus_absolute=400,zoom_absolute=0
[12/12/24 07:04:18] crowsnest: Try to start configured Cams / Services...
[12/12/24 07:04:18] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue...
[12/12/24 07:04:19] crowsnest: Starting ustreamer with Device /dev/video0 ...
[12/12/24 07:04:20] crowsnest: ... Done!
The text was updated successfully, but these errors were encountered: