Guest User

config

a guest
Jul 6th, 2023
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  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. #####################################################################
  21. #### RTSP Stream URL: ( if enabled and supported ) #####
  22. #### rtsp://<ip>:<rtsp_port>/stream.h264 #####
  23. #####################################################################
  24.  
  25.  
  26. [crowsnest]
  27. log_path: /home/pi/SWX1_data/logs/crowsnest.log
  28. log_level: debug # Valid Options are quiet/verbose/debug
  29. delete_log: true # Deletes log on every restart, if set to true
  30. no_proxy: false
  31.  
  32. [cam 1]
  33. mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices)
  34. # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
  35. enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
  36. rtsp_port: 8554 # Set different ports for each device!
  37. port: 8080 # HTTP/MJPG Stream/Snapshot Port
  38. device: /dev/video0 # See Log for available ...
  39. resolution: 1280x720 # widthxheight format
  40. max_fps: 20 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
  41. #custom_flags: # You can run the Stream Services with custom flags.
  42. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
  43.  
  44. [cam 2]
  45. mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices)
  46. # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
  47. enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
  48. rtsp_port: 8555 # Set different ports for each device!
  49. port: 8081 # HTTP/MJPG Stream/Snapshot Port
  50. device: /dev/v4l/by-id/usb-046d_HD_Webcam_C615_BFD88FC0-video-index0 # See Log for available ...
  51. resolution: 1280x720 # widthxheight format
  52. max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
  53. #custom_flags: # You can run the Stream Services with custom flags.
  54. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
  55.  
Advertisement
Add Comment
Please, Sign In to add comment