-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowsnest.conf
75 lines (68 loc) · 4.17 KB
/
crowsnest.conf
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#### 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] #####
#### #####
#### Note: These ports are default for most Mainsail #####
#### installations. To use any other port would involve #####
#### changing the proxy configuration or using directly #####
#### http://<ip>:<port>/?action=[stream/snapshot] #####
#### #####
#####################################################################
#### RTSP Stream URL: ( if enabled and supported ) #####
#### rtsp://<ip>:<rtsp_port>/stream.h264 #####
#####################################################################
[crowsnest]
log_path: /home/pi/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 AngryCam]
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/video0 # See Log for available ...
resolution: 3840x3104
#resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
custom_flags: --backlight-compensation 0 --contrast 2 --brightness -8
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
## Custom flags Supported Controls: --namecontrol X
# brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=-10
# contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32
# saturation 0x00980902 (int) : min=0 max=128 step=1 default=64 value=64
# hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
# white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
# gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100
# gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0
# power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1
# 0: Disabled
# 1: 50 Hz
# 2: 60 Hz
# white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
# sharpness 0x0098091b (int) : min=0 max=10 step=1 default=9 value=9
# backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1
# exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3
# 1: Manual Mode
# 3: Aperture Priority Mode
# exposure_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=157 value=157 flags=inactive
# exposure_auto_priority 0x009a0903 (bool) : default=0 value=1
##### https://github.com/mainsail-crew/moonraker-timelapse/issues/105 ####
# Configure crowsnest.conf
#resolution: 3280x2464
#max_fps: 15
#custom_flags: --camera-options=ColourGains=2.0,1.2 --camera-snapshot.options=compressionquality=100