PS3 Eyecam not playing nicely with up to date Octopi [Solved]

Camera model
PS3 Eyecam - ID 1415:2000

What is the problem?
Since fresh Octopi flash/install eyecam will not start properly

What did you already try to solve it?
Lots and lots of various configurations in /boot/OctoPi.txt

I also tried giving it " /dev/v4l/by-id/" (with my gnarly actual USB name "usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-video-index0")
as shown in this very helpful post with it still not working

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)

Starting up webcamDaemon...

--- Configuration: ----------------------------
/boot/octopi.txt: line 24: -r 640x480 -f 5 -y: command not found
cfg_file:      /boot/octopi.txt
camera:        usb
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
/dev/video18
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jan 23 16:38:16 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: Could not obtain the requested pixelformat: MJPG , driver gave us: GRBG
    ... will try to handle this by checking against supported formats.
Init v4L2 failed !! exit fatal
 i: init_VideoIn failed

Additional information about your setup (OctoPrint version, OctoPi version, ...)
Whatever is available from website for today, literally flashed SD card an hour ago.
Version 1.7.3
Version 0.18.0, running on Raspberry Pi 3 Model B Plus Rev 1.3

1 Like

I also tried giving the device by path too

Relevent info
pi@octopi:~ $ ls /dev/v4l/by-path
platform-3f980000.usb-usb-0:1.3:1.0-video-index0 platform-bcm2835-isp-video-index0 platform-bcm2835-isp-video-index2
platform-bcm2835-codec-video-index0 platform-bcm2835-isp-video-index1 platform-bcm2835-isp-video-index3

--- Configuration: ----------------------------
/boot/octopi.txt: line 24: -r 640x480 -f 5 -y -d /dev/v4l/by-path/platform-3f980000.usb-usb-0:1.3:1.0-video-index0: No such file or directory
cfg_file:      /boot/octopi.txt
camera:        usb
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
/dev/video18
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device: /dev/video0
<13>Jan 23 17:06:58 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: Could not obtain the requested pixelformat: MJPG , driver gave us: GRBG
    ... will try to handle this by checking against supported formats.
Init v4L2 failed !! exit fatal
 i: init_VideoIn failed

Loud nose sigh noises
I had


### 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 2 -y"

But I needed

### 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 2 -y"

see it? the damn space prior to the options killed it

2 Likes

I found that if you go to the 8080 url you get the mjpeg stream site, it then gives you the stream url
mine showed a url of
http://192.168.1.136:8080/?action=stream

so I went into the octoprint options for classic webcam and changed the stream to above and then everythng worked.