44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
#### crowsnest.conf
|
|
#### This is a typical default config.
|
|
#### Also used as default in mainsail / MainsailOS
|
|
#### See:
|
|
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
|
|
#### for details to configure to your needs.
|
|
|
|
|
|
#####################################################################
|
|
#### #####
|
|
#### Information about ports and according URL's #####
|
|
#### #####
|
|
#####################################################################
|
|
#### #####
|
|
#### Port 8080 equals /webcam/?action=[stream/snapshot] #####
|
|
#### Port 8081 equals /webcam2/?action=[stream/snapshot] #####
|
|
#### Port 8082 equals /webcam3/?action=[stream/snapshot] #####
|
|
#### Port 8083 equals /webcam4/?action=[stream/snapshot] #####
|
|
#### #####
|
|
#####################################################################
|
|
|
|
|
|
[crowsnest]
|
|
log_path: ~/printer_data/logs/crowsnest.log
|
|
log_level: verbose
|
|
delete_log: true
|
|
|
|
[cam chamber]
|
|
mode: mjpg
|
|
port: 8080
|
|
device: /dev/v4l/by-id/usb-HZ_USB_Camera_20220301104-video-index0
|
|
resolution: 1280x720
|
|
max_fps: 30
|
|
|
|
[cam c930e]
|
|
mode: mjpg
|
|
port: 8081
|
|
device: /dev/v4l/by-id/usb-046d_Logitech_Webcam_C930e_CA4F3EDE-video-index0
|
|
resolution: 1280x720
|
|
max_fps: 30
|
|
# 50 Hz avoids mains-light flicker. Fixed focus prevents the autofocus from
|
|
# hunting when the toolhead crosses the centre of the frame.
|
|
v4l2ctl: power_line_frequency=1,exposure_dynamic_framerate=0,focus_automatic_continuous=0,focus_absolute=0
|