Webcam stream not working (Newbie)

Webcam: SPC900NC/00 Philips

Webcam stream unable to load

Not sure where to begin solving the issue, I have enabled camera functions both on the pi itself using ssh and have enabled webcam on octoprint settings but still receiving no output. The automatic light on my webcam also has not turned on.

octoprint.log (179.7 KB)

octoprint version: 1.5.3
Octopi version: 0.18.0


The pi seems to be registering that the webcam is connected to the usb port.

I also ran this command and my pi seesm to be recognising my webcam but no output on octoprint
pi@octopi-3d:~ $ dmesg | tail -n 20
[ 719.521353] usb 1-1.3: Product: Original Prusa i3 MK2
[ 719.521362] usb 1-1.3: Manufacturer: Prusa Research (prusa3d.com)
[ 719.521371] usb 1-1.3: SerialNumber: CZPX3117X003XK29903
[ 719.522478] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[ 858.597760] usb 1-1.2: USB disconnect, device number 9
[ 858.985156] usb 1-1.2: new full-speed USB device number 11 using dwc_otg
[ 859.244422] usb 1-1.2: New USB device found, idVendor=0471, idProduct=0329, bcdDevice= 0.03
[ 859.244439] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 859.244450] usb 1-1.2: SerialNumber: 01690000A602045C
[ 859.246662] pwc: Philips SPC 900NC USB webcam detected.
[ 859.850043] pwc: Registered as video0.
[ 859.850271] input: PWC snapshot button as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/input/input2
[ 2616.295741] usb 1-1.2: USB disconnect, device number 11
[ 2616.691453] usb 1-1.2: new full-speed USB device number 12 using dwc_otg
[ 2616.950703] usb 1-1.2: New USB device found, idVendor=0471, idProduct=0329, bcdDevice= 0.03
[ 2616.950720] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 2616.950731] usb 1-1.2: SerialNumber: 01690000A602045C
[ 2616.953056] pwc: Philips SPC 900NC USB webcam detected.
[ 2617.556670] pwc: Registered as video0.
[ 2617.556905] input: PWC snapshot button as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/input/input3

Philips SPC900 webcam works with Octopi by using PICS instead of the MJPEG streamer supplied with Octopi:

Download and build PICS on your RPi
Disable Octopi's webcamd service and create a service for PICS using systemctl
In Octoprint Settings->Webcam & Timelapse use http://octopi.local:8080/dev/video0 and http://octopi.local:8080/dev/still0 for Steam URL and Snapshot URL respectively.