Skip to content

Instantly share code, notes, and snippets.

@justheath
Created April 22, 2023 15:59
Show Gist options
  • Save justheath/c5cc417734725c968bd2dc56acf735e8 to your computer and use it in GitHub Desktop.
Save justheath/c5cc417734725c968bd2dc56acf735e8 to your computer and use it in GitHub Desktop.
Crowsnest config for built-in Chromebook camera plus two cheap USB webcams
#### 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] #####
#### #####
#####################################################################
[crowsnest]
log_path: ~/crowsnest/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
# [cam Chromebook]
# mode: mjpg # mjpg/rtsp
# port: 8080 # Port
# device: /dev/video2 # See Log for available ...
# resolution: 640x480 # widthxheight format
# 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 X5SA]
mode: mjpg # mjpg/rtsp
port: 8081 # Port
device: /dev/video2 # See Log for available ...
resolution: 1920x1080 # widthxheight format
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 Ender3]
mode: mjpg
port: 8082
device: /dev/video0
resolution: 1920x1080
max_fps: 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment