feat: Add crowsnest for webcam

This commit is contained in:
Zach Schimke 2022-06-20 17:16:42 -07:00
parent 4b61bad1ef
commit 47ca207612
1 changed files with 34 additions and 0 deletions

34
crowsnest.conf Normal file
View File

@ -0,0 +1,34 @@
#### crowsnest.conf
#### This is mainsail / MainsailOS default config.
#### 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: /tmp/crowsnest.log # Default logfile in ~/klipper_logs/crowsnest.log
log_level: quiet # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
[cam raspicam]
mode: mjpg # mjpg/rtsp
port: 8080 # Port
device: /dev/video0 # See Log for available ...
resolution:1920x1080 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.