CreatBotCrowsnest/sample_configs/mainsail_default.conf
Stephan Wendel 03d03f851e
feat: log available v4l2 controls
Needs new option in config file
log_v4l2ctrls: true

This spits out the equvivalent to v4l2-ctl -L in log.
See README for details.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2022-04-02 15:20:01 +02:00

18 lines
793 B
Plaintext

### webcam.conf
### This is mainsail / MainsailOS default config.
### See docs.mainsail.xyz/whatever for Details to configure to your needs.
[webcamd]
log_path: ~/klipper_logs/webcamd.log # Default logfile in ~/klipper_logs/webcamd.log
log_level: verbose # Valid Options are quiet/verbose/debug
log_v4l2ctrls: true
[cam 1]
mode: mjpg # mjpg/rtsp/webrtc
port: 8080 # Port
device: /dev/video0 # See Log for available ...
resolution: 640x480 # widthxheight format
max_fps: 15 # If Hardware Supports this it will be forced, ohterwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.