41 lines
2.5 KiB
Plaintext
41 lines
2.5 KiB
Plaintext
#### 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] #####
|
|
#### #####
|
|
#####################################################################
|
|
|
|
|
|
[crowsnest]
|
|
log_level: verbose # Valid Options are quiet/verbose/debug
|
|
rollover_on_start: false # Creates a backup and clears the 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 1]
|
|
mode: ustreamer # https://docs.mainsail.xyz/crowsnest/faq/backends
|
|
port: 8080 # HTTP/MJPG stream/snapshot port
|
|
device: /dev/video0 # See log for available devices
|
|
resolution: 1920x1080 # <width>x<height> format
|
|
max_fps: 24 # If hardware supports it, it will be forced, otherwise ignored/coerced.
|
|
custom_flags: --allow-truncated-frames # You can run the stream services with custom flags.
|
|
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see log for your camera capabilities.
|