#### 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] ##### #### ##### ##################################################################### #### RTSP Stream URL: ( if enabled and supported ) ##### #### rtsp://:/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 1] mode: camera-streamer # 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: 1920x1080 # widthxheight format max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced. custom_flags: --camera-path=/base/soc/i2c0mux/i2c@1/ov5647@36 --camera-type=libcamera --camera-format=H264 --camera-nbufs=3 --camera-fps=30 --camera-allow_dma=1 --camera-high_res_factor=0.500000 --camera-low_res_factor=0.500000 --camera-auto_reconnect=0 --camera-auto_focus=1 --camera-vflip=0 --camera-hflip=0 --camera-snapshot.options=compression_quality=100 --camera-snapshot.height=0 --camera-stream.disabled=0 --camera-stream.options=compression_quality=100 --camera-stream.height=0 --camera-stream.disabled=0 --camera-stream.options=video_bitrate_mode=0 --camera-stream.options=repeat_sequence_header=5000000 --camera-stream.options=h264_i_frame_period=30 --camera-stream.options=h264_level=11 --camera-stream.options=h264_profile=4 --camera-stream.options=Sharpness=0.0 --camera-stream.options=ExposureValue=0 --camera-stream.options=h264_minimum_qp_value=51 --camera-stream.options=h264_maximum_qp_value=51 --camera-stream.options=video_bitrate=25000000 --camera-stream.options=video_bitrate_mode=0 --camera-stream.options=AeExposureMode=2 --camera-stream.options=ScalerCrop=0 --camera-list_options=0 # 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.