Camera model
Logitech C922 pro
"Cubeternet" endoscope camera
What is the problem?
I followed the Setting up multiple webcams in OctoPi the right way guide. for some time, the set up worked just fine - two USB cameras, one for the bed and one for the nozzle. one day, it stopped working and I haven't been able to get it working again. The path for the main config video file loads, but it is not displaying the expected video - it's the device in webcam2.txt
http://octopi1.local/webcam/?action=stream is playing video from the device in webcam2.txt, which surprised me because I thought that was locked by the id
http://octopi1.local:8081/?action=stream does not load
What did you already try to solve it?
replaced USB hub
check config files
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
webcamd.log (72.4 KB)
)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint version : 1.8.2
OctoPi version : 0.18.0
config.txt:
### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
# - usb: only tries usb webcam
# - raspi: only tries raspi cam
#
# Defaults to auto
#
camera="usb"
### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://faq.octoprint.org/mjpg-streamer-config for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
#camera_usb_options="-r 640x480 -f 10"
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/usb-046d_C922_Pro_Stream_Webcam_8CF98BAF-video-index0 -y"
### Configuration of camera HTTP output
#
# Usually you should NOT need to change this at all! Only touch if you
# know what you are doing and what the parameters mean.
#
# Below settings are used in the mjpg-streamer call like this:
#
# -o "output_http.so -w $camera_http_webroot $camera_http_options"
#
# Current working directory is the mjpg-streamer base directory.
#
camera_http_webroot="./www"
camera_http_options="-n"
### EXPERIMENTAL
# Support for different streamer types.
#
# Available options:
# mjpeg [default] - stable MJPG-streamer
# hls - experimental FFMPEG HLS streamer
#camera_streamer=mjpeg
webcam2.txt:
### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
# - usb: only tries usb webcam
# - raspi: only tries raspi cam
#
# Defaults to auto
#
camera="usb"
### Additional options to supply to MJPG Streamer for the USB camera
#
# See https://faq.octoprint.org/mjpg-streamer-config for available options
#
# Defaults to a resolution of 640x480 px and a framerate of 10 fps
#
#camera_usb_options="-r 640x480 -f 10"
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/usb-Etron_Technology__Inc._USB2.0_Camera-video-index0 -y"
### Configuration of camera HTTP output
#
# Usually you should NOT need to change this at all! Only touch if you
# know what you are doing and what the parameters mean.
#
# Below settings are used in the mjpg-streamer call like this:
#
# -o "output_http.so -w $camera_http_webroot $camera_http_options"
#
# Current working directory is the mjpg-streamer base directory.
#
camera_http_webroot="./www"
#camera_http_options="-n"
camera_http_options="-p 8081"
### EXPERIMENTAL
# Support for different streamer types.
#
# Available options:
# mjpeg [default] - stable MJPG-streamer
# hls - experimental FFMPEG HLS streamer
#camera_streamer=mjpeg