Advertisement
Guest User

Octopi Config x2

a guest
Aug 3rd, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. ### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
  2. ### Do not use Notepad or WordPad.
  3.  
  4. ### MacOSX users: If you use Textedit to edit this file make sure to use
  5. ### "plain text format" and "disable smart quotes" in "Textedit > Preferences"
  6.  
  7. ### Configure which camera to use
  8. #
  9. # Available options are:
  10. # - auto: tries first usb webcam, if that's not available tries raspi cam
  11. # - usb: only tries usb webcam
  12. # - raspi: only tries raspi cam
  13. #
  14. # Defaults to auto
  15. #
  16. camera="usb"
  17.  
  18. ### Additional options to supply to MJPG Streamer for the USB camera
  19. #
  20. # See https://faq.octoprint.org/mjpg-streamer-config for available options
  21. #
  22. # Defaults to a resolution of 640x480 px and a framerate of 10 fps
  23. #
  24. camera_usb_options="-r 1920x1080 -f 30 -d /dev/v4l/by-id/usb-046d_C922_Pro_Stream_Webcam_E6DFA6AF-video-index0"
  25.  
  26. ### Additional webcam devices known to cause problems with -f
  27. #
  28. # Apparently there a some devices out there that with the current
  29. # mjpg_streamer release do not support the -f parameter (for specifying
  30. # the capturing framerate) and will just refuse to output an image if it
  31. # is supplied.
  32. #
  33. # The webcam daemon will detect those devices by their USB Vendor and Product
  34. # ID and remove the -f parameter from the options provided to mjpg_streamer.
  35. #
  36. # By default, this is done for the following devices:
  37. # Logitech C170 (046d:082b)
  38. # GEMBIRD (1908:2310)
  39. # Genius F100 (0458:708c)
  40. # Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
  41. #
  42. # Using the following option it is possible to add additional devices. If
  43. # your webcam happens to show above symptoms, try determining your cam's
  44. # vendor and product id via lsusb, activating the line below by removing # and
  45. # adding it, e.g. for two broken cameras "aabb:ccdd" and "aabb:eeff"
  46. #
  47. # additional_brokenfps_usb_devices=("aabb:ccdd" "aabb:eeff")
  48. #
  49. # If this fixes your problem, please report it back so we can include the device
  50. # out of the box: https://github.com/guysoft/OctoPi/issues
  51. #
  52. #additional_brokenfps_usb_devices=()
  53.  
  54. ### Additional options to supply to MJPG Streamer for the RasPi Cam
  55. #
  56. # See https://faq.octoprint.org/mjpg-streamer-config for available options.
  57. #
  58. # NOTE: Newer raspi cam modules are reporting as usb devices causing these
  59. # options to be ignored. Set `camera="raspi"` to avoid these issues.
  60. #
  61. # Defaults to 10fps
  62. #
  63. #camera_raspi_options="-fps 10"
  64.  
  65. ### Configuration of camera HTTP output
  66. #
  67. # Usually you should NOT need to change this at all! Only touch if you
  68. # know what you are doing and what the parameters mean.
  69. #
  70. # Below settings are used in the mjpg-streamer call like this:
  71. #
  72. # -o "output_http.so -w $camera_http_webroot $camera_http_options"
  73. #
  74. # Current working directory is the mjpg-streamer base directory.
  75. #
  76. camera_http_webroot="./www-octopi"
  77. camera_http_options="-n -p 8080"
  78.  
  79. ### EXPERIMENTAL
  80. # Support for different streamer types.
  81. #
  82. # Available options:
  83. # mjpeg [default] - stable MJPG-streamer
  84. # hls - experimental FFMPEG HLS streamer
  85. #camera_streamer=mjpeg
  86.  
  87.  
  88. --------------------------------------------------------------------------------------------------------------------------
  89.  
  90. ### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
  91. ### Do not use Notepad or WordPad.
  92.  
  93. ### MacOSX users: If you use Textedit to edit this file make sure to use
  94. ### "plain text format" and "disable smart quotes" in "Textedit > Preferences"
  95.  
  96. ### Configure which camera to use
  97. #
  98. # Available options are:
  99. # - auto: tries first usb webcam, if that's not available tries raspi cam
  100. # - usb: only tries usb webcam
  101. # - raspi: only tries raspi cam
  102. #
  103. # Defaults to auto
  104. #
  105. camera="usb"
  106.  
  107. ### Additional options to supply to MJPG Streamer for the USB camera
  108. #
  109. # See https://faq.octoprint.org/mjpg-streamer-config for available options
  110. #
  111. # Defaults to a resolution of 640x480 px and a framerate of 10 fps
  112. #
  113. camera_usb_options="-r 1920x1080 -f 60 -d /dev/v4l/by-id/usb-Sonix_Technology_Co.__Ltd._NexiGo_HD_Webcam_SN0001-video-index0"
  114.  
  115. ### Additional webcam devices known to cause problems with -f
  116. #
  117. # Apparently there a some devices out there that with the current
  118. # mjpg_streamer release do not support the -f parameter (for specifying
  119. # the capturing framerate) and will just refuse to output an image if it
  120. # is supplied.
  121. #
  122. # The webcam daemon will detect those devices by their USB Vendor and Product
  123. # ID and remove the -f parameter from the options provided to mjpg_streamer.
  124. #
  125. # By default, this is done for the following devices:
  126. # Logitech C170 (046d:082b)
  127. # GEMBIRD (1908:2310)
  128. # Genius F100 (0458:708c)
  129. # Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
  130. #
  131. # Using the following option it is possible to add additional devices. If
  132. # your webcam happens to show above symptoms, try determining your cam's
  133. # vendor and product id via lsusb, activating the line below by removing # and
  134. # adding it, e.g. for two broken cameras "aabb:ccdd" and "aabb:eeff"
  135. #
  136. # additional_brokenfps_usb_devices=("aabb:ccdd" "aabb:eeff")
  137. #
  138. # If this fixes your problem, please report it back so we can include the device
  139. # out of the box: https://github.com/guysoft/OctoPi/issues
  140. #
  141. #additional_brokenfps_usb_devices=()
  142.  
  143. ### Additional options to supply to MJPG Streamer for the RasPi Cam
  144. #
  145. # See https://faq.octoprint.org/mjpg-streamer-config for available options.
  146. #
  147. # NOTE: Newer raspi cam modules are reporting as usb devices causing these
  148. # options to be ignored. Set `camera="raspi"` to avoid these issues.
  149. #
  150. # Defaults to 10fps
  151. #
  152. #camera_raspi_options="-fps 10"
  153.  
  154. ### Configuration of camera HTTP output
  155. #
  156. # Usually you should NOT need to change this at all! Only touch if you
  157. # know what you are doing and what the parameters mean.
  158. #
  159. # Below settings are used in the mjpg-streamer call like this:
  160. #
  161. # -o "output_http.so -w $camera_http_webroot $camera_http_options"
  162. #
  163. # Current working directory is the mjpg-streamer base directory.
  164. #
  165. camera_http_webroot="./www-octopi"
  166. camera_http_options="-n -p 8081"
  167.  
  168. ### EXPERIMENTAL
  169. # Support for different streamer types.
  170. #
  171. # Available options:
  172. # mjpeg [default] - stable MJPG-streamer
  173. # hls - experimental FFMPEG HLS streamer
  174. #camera_streamer=mjpeg
  175.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement