crowsnest.conf 1.8 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #### Information about ports and according URL's #####
  10. #### #####
  11. #####################################################################
  12. #### #####
  13. #### Port 8080 equals /webcam/?action=[stream/snapshot] #####
  14. #### Port 8081 equals /webcam2/?action=[stream/snapshot] #####
  15. #### Port 8082 equals /webcam3/?action=[stream/snapshot] #####
  16. #### Port 8083 equals /webcam4/?action=[stream/snapshot] #####
  17. #### #####
  18. #####################################################################
  19. [crowsnest]
  20. log_path: ~/printer_data/logs/crowsnest.log
  21. log_level: verbose # Valid Options are quiet/verbose/debug
  22. delete_log: false # Deletes log on every restart, if set to true
  23. [cam 1]
  24. mode: mjpg # mjpg/rtsp
  25. port: 8080 # Port
  26. device: /dev/video0 # See Log for available ...
  27. resolution: 1024x768 # widthxheight format
  28. max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
  29. #custom_flags: # You can run the Stream Services with custom flags.
  30. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.