GOOBFACE
← Back to Config Store

📄 crowsnest.conf

FILE: crowsnest.conf
LINES: 65
SIZE: 3.79 KB
SYNTAX: INI / Klipper G-Code
1 #### crowsnest.conf
2 #### This is a typical default config.
3 #### Also used as default in mainsail / MainsailOS
4 #### See:
5 #### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
6 #### for details to configure to your needs.
7
8
9 #####################################################################
10 #### #####
11 #### Information about ports and according URL's #####
12 #### #####
13 #####################################################################
14 #### #####
15 #### Port 8080 equals /webcam/?action=[stream/snapshot] #####
16 #### Port 8081 equals /webcam2/?action=[stream/snapshot] #####
17 #### Port 8082 equals /webcam3/?action=[stream/snapshot] #####
18 #### Port 8083 equals /webcam4/?action=[stream/snapshot] #####
19 #### #####
20 #### Note: These ports are default for most Mainsail #####
21 #### installations. To use any other port would involve #####
22 #### changing the proxy configuration or using directly #####
23 #### http://<ip>:<port>/?action=[stream/snapshot] #####
24 #### #####
25 #####################################################################
26 #### RTSP Stream URL: ( if enabled and supported ) #####
27 #### rtsp://<ip>:<rtsp_port>/stream.h264 #####
28 #####################################################################
29
30
31 [crowsnest]
32 log_path: /home/derp/printer_data/logs/crowsnest.log
33 log_level: verbose # Valid Options are quiet/verbose/debug
34 delete_log: false # Deletes log on every restart, if set to true
35 no_proxy: false
36
37 [cam 1]
38 mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
39 # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
40 enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
41 rtsp_port: 8554 # Set different ports for each device!
42 port: 8080 # HTTP/MJPG Stream/Snapshot Port
43 device: /dev/video0 # See Log for available ...
44 resolution: 640x480 # widthxheight format
45 max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
46 #custom_flags: # You can run the Stream Services with custom flags.
47
48 #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
49
50 #User Controls
51 brightness 0x00980900 (int) : min=0 max=255 step=1 default=0 value=0 flags=slider
52 contrast 0x00980901 (int) : min=0 max=255 step=1 default=32 value=32 flags=slider
53 saturation 0x00980902 (int) : min=0 max=255 step=1 default=64 value=64 flags=slider
54 hue 0x00980903 (int) : min=-90 max=90 step=1 default=0 value=0 flags=slider
55 white_balance_automatic 0x0098090c (bool) : default=1 value=1
56 exposure 0x00980911 (int) : min=0 max=255 step=1 default=120 value=253 flags=inactive, volatile
57 gain_automatic 0x00980912 (bool) : default=1 value=1 flags=update
58 gain 0x00980913 (int) : min=0 max=63 step=1 default=20 value=3 flags=inactive, volatile
59 horizontal_flip 0x00980914 (bool) : default=0 value=0
60 vertical_flip 0x00980915 (bool) : default=0 value=0
61 power_line_frequency 0x00980918 (menu) : min=0 max=1 default=0 value=0
62 sharpness 0x0098091b (int) : min=0 max=63 step=1 default=0 value=0 flags=slider
63
64 #Camera Controls
65 auto_exposure 0x009a0901 (menu) : min=0 max=1 default=0 value=0 flags=update