-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrowsnest.conf
More file actions
45 lines (40 loc) · 3.04 KB
/
crowsnest.conf
File metadata and controls
45 lines (40 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#### crowsnest.conf
#### This is the default config after installation.
#### It is also used as the default config in MainsailOS.
#### For details on how to configure this to your needs, see:
#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md
#####################################################################
#### #####
#### 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] #####
#### #####
#### Note: These ports are default for most Mainsail #####
#### installations. Using any other port would involve #####
#### changing the proxy configuration or using URLs #####
#### with the specific port like #####
#### http://<ip>:<port>/?action=[stream/snapshot] #####
#### #####
#####################################################################
#### RTSP Stream URL: ( if enabled and supported ) #####
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
#####################################################################
[crowsnest]
log_path: ~/printer_data/logs/crowsnest.log
log_level: debug # Valid Options are quiet/verbose/debug
delete_log: true # Deletes log on every restart, if set to true
no_proxy: false # If set to true, no reverse proxy is required. Only change this, if you know what you are doing.
[cam main]
mode: ustreamer # ustreamer - Provides MJPG and snapshots. (All devices)
# camera-streamer - Provides WebRTC, MJPG and snapshots. (only RPiOS + RPi 0/1/2/3/4)
port: 8080 # HTTP/MJPG stream/snapshot port
device: /dev/video0 # See log for available devices
resolution: 640x480 # <width>x<height> format
max_fps: 15 # If hardware supports it, it will be forced, otherwise ignored/coerced.
custom_flags: --format=JPEG --slowdown # You can run the stream services with custom flags.
#v4l2ctl: power_line_frequency=2,compression_quality=75 # Add v4l2-ctl parameters to setup your camera, see log for your camera capabilities.