Camera model
Logitech C922
What is the problem?
I doesn´t work
What did you already try to solve it?
I´m pretty new in all of this, i tried to edit octopi.txt, install updates and nothing
I also tried to change resolution, tried -y option, uncomment
#camera="usb"
#camera_http_webroot="./www"
#camera_http_options=""
nothing works, i plug the webcam in my pc and it detect it, but i try to use windows webcam program and fails, also when i plug the cam to my pc 2 lights of the cam bright for a second, when i plug it to de raspberry pi nothing happens, maybe a power supply problem?, im using a 5v/2,4a adapter
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
lsusb
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
in this capture i have my printer disconnected
--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 640x480 -f 10
raspi options: -fps 10
http options: -w ./www-octopi -n --listen 127.0.0.1
Explicitly USB device:
Found video devices:
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video18
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-st$
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
<13>Dec 2 12:56:08 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...
- It seems that you don't have VL805 (Raspberry Pi 4).
There should be no problems with USB (a.k.a. select() timeout)
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1$
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video10
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
Error opening device /dev/video10: video capture not supported.
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
/root/bin/webcamd: line 103: kill: (426) - No such process
Additional information about your setup (OctoPrint version, OctoPi version, ...)
octopi.txt
- 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
Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
Do not use Notepad or WordPad.
MacOSX users: If you use Textedit to edit this file make sure to use
"plain text format" and "disable smart quotes" in "Textedit > Preferences"
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 Available mjpg-streamer configuration options - Guides - OctoPrint Community Forum for available options
Defaults to a resolution of 640x480 px and a framerate of 10 fps
camera_usb_options="-r 1920x1080 -f 30"
Additional webcam devices known to cause problems with -f
Apparently there a some devices out there that with the current
mjpg_streamer release do not support the -f parameter (for specifying
the capturing framerate) and will just refuse to output an image if it
is supplied.
The webcam daemon will detect those devices by their USB Vendor and Product
ID and remove the -f parameter from the options provided to mjpg_streamer.
By default, this is done for the following devices:
Logitech C170 (046d:082b)
GEMBIRD (1908:2310)
Genius F100 (0458:708c)
Cubeternet GL-UPC822 UVC WebCam (1e4e:0102)
Using the following option it is possible to add additional devices. If
your webcam happens to show above symptoms, try determining your cam's
vendor and product id via lsusb, activating the line below by removing # and
adding it, e.g. for two broken cameras "aabb:ccdd" and "aabb:eeff"
additional_brokenfps_usb_devices=("aabb:ccdd" "aabb:eeff")
If this fixes your problem, please report it back so we can include the device
out of the box: https://github.com/guysoft/OctoPi/issues
#additional_brokenfps_usb_devices=()
Additional options to supply to MJPG Streamer for the RasPi Cam
See Available mjpg-streamer configuration options - Guides - OctoPrint Community Forum for available options.
NOTE: Newer raspi cam modules are reporting as usb devices causing these
options to be ignored. Set camera="raspi"
to avoid these issues.
Defaults to 10fps
#camera_raspi_options="-fps 10"
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=""
EXPERIMENTAL
Support for different streamer types.
Available options:
mjpeg [default] - stable MJPG-streamer
hls - experimental FFMPEG HLS streamer
#camera_streamer=mjpeg