Files
LeoVoron2.4/crowsnest.conf
2025-03-16 03:22:40 +03:00

61 lines
3.2 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] #####
#### #####
#####################################################################
#### RTSP Stream URL: ( if enabled and supported ) #####
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
#####################################################################
[crowsnest]
log_path: /home/biqu/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false
#[cam xy]
#mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices), camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
#enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
#rtsp_port: 8554 # Set different ports for each device!
#port: 8080 # HTTP/MJPG Stream/Snapshot Port
#device: /dev/v4l/by-path/platform-5101000.usb-usb-0:1.3:1.0-video-index0 # See Log for available ...
#resolution: 1280x720 #640x480 # widthxheight format 2048x1536
#max_fps: 15 # If Hardware Supports this it will be forced, otherwise 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.
[cam head]
#mode: ustreamer
mode: MJPG
port: 8081
#device: /dev/v4l/by-path/platform-5101000.usb-usb-0:1.1:1.0-video-index0
device: /dev/v4l/by-id/usb-DSJ_UC60_Video_200901010001-video-index0
resolution: 1600x1200 #176x144, 320x240, 352x288, 640x480, 640x360, 640x400, 800x600, 1024x768, 1280x720, 1280x960, 1600x1200, 1920x1080, 2048x1536, 2560x1440, 2592x1944
max_fps: 15
v4l2ctl: focus_auto=0 #brightness=-10, backlight_compensation=0
#[cam bed_cam]
#mode: ustreamer
#port: 8080
#device: /dev/video0 # The CSI
#resolution: 1600x1200 #176x144, 320x240, 352x288, 640x480, 640x360, 640x400, 800x600, 1024x768, 1280x720, 1280x960, 1600x1200, 1920x1080, 2048x1536, 2560x1440, 2592x1944
#max_fps: 15
#custom_flags: --format=UYVY