Advertisement
rootiest

webcam.txt

Sep 7th, 2022
6,673
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.61 KB | None | 1 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="auto"
  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 640x480 -f 10
  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. #
  50. #additional_brokenfps_usb_devices=()
  51.  
  52. ### Additional options to supply to MJPG Streamer for the RasPi Cam
  53. #
  54. # See https://faq.octoprint.org/mjpg-streamer-config for available options
  55. #
  56. # Defaults to 10fps
  57. #
  58. #camera_raspi_options="-fps 10"
  59.  
  60. ### Configuration of camera HTTP output
  61. #
  62. # Usually you should NOT need to change this at all! Only touch if you
  63. # know what you are doing and what the parameters mean.
  64. #
  65. # Below settings are used in the mjpg-streamer call like this:
  66. #
  67. #   -o "output_http.so -w $camera_http_webroot $camera_http_options"
  68. #
  69. # Current working directory is the mjpg-streamer base directory.
  70. #
  71. #camera_http_webroot="./www-fluidd"
  72. #camera_http_options="-n"
  73.  
  74. ### EXPERIMENTAL
  75. # Support for different streamer types.
  76. #
  77. # Available options:
  78. #   mjpeg [default] - stable MJPG-streamer
  79. #camera_streamer=mjpeg
  80.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement