|
| 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/pi/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: ustreamer # 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: 2560x1472 # widthxheight format |
| 45 | +max_fps: 60 # If Hardware Supports this it will be forced, otherwise ignored/coerced. |
| 46 | +#custom_flags: # You can run the Stream Services with custom flags. |
| 47 | +#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of. |
| 48 | +exposure_auto: 1 |
| 49 | +focus_absolute: 40 |
| 50 | +sharpness: 200 |
| 51 | +contrast: 130 |
| 52 | +saturation: 120 |
| 53 | +brightness: 150 |
| 54 | +v4l2ctl: tilt_absolute=36000, pan_absolute=3600, zoom_absolute=600 |
| 55 | + |
0 commit comments