Camera: Labtec Webcam
I've got an insanely old webcam that I have lying around which I wanted to try to get to work with Octopi. It's so old, it doesn't even have autofocus.
Already tried the -y option, but it didn't work.
Also tried taking a screenshot with streamer -f jpeg -o image.jpeg
, which actually worked. The picture size was only 320x240 but hey, better than no image
lsusb:
Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 005: ID 046d:0929 Logitech, Inc. Labtec Webcam Pro
Bus 001 Device 007: ID 0bb4:0c02 HTC (High Tech Computer Corp.) Dream / ADP1 / G1 / Magic / Tattoo (Debug)
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
/var/log/webcamd.log
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01: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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01:11 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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01:13 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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01:15 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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01:17 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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Starting up webcamDaemon...
--- 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/video0
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Nov 20 13:01:20 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 -i input_uvc.so -r 640x480 -f 10 -d /dev/video0
MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 10
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: The specified resolution is unavailable, using: width 352 height 288 instead
i: Could not obtain the requested pixelformat: MJPG , driver gave us: RGB3
... will try to handle this by checking against supported formats.
... Falling back to RGB24 mode (consider using -fourcc RGB24 option). Note that this requires much more CPU power
Setting FPS on the capture device is not supported, fallback to software framedropping
: Invalid argument
i: Frame period time ......: 100 ms
Unable to map buffer: Invalid argument
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Tell me if you need anything else
OctoPrint Version: 1.7.2
Thanks in advance for any help!