Webcam stream not working

Thank you so much! It's so silly :see_no_evil:
Especially when you don't understand how URL's really work.

So the answer is this: http://octopi.local/webcam/?action=stream

1 Like

Hey guys,

I just installed a pi 4 B with octopring using a picam v2. And I cannot get the camera running.

The "control" tab just notes "Webcam stream loading..."

**pi@octopi:~ $ vcgencmd get_camera**
supported=1 detected=1

The log file says

**pi@octopi:~ $ journalctl -u webcamd**
-- Logs begin at Wed 2022-01-05 10:08:57 CET, end at Wed 2022-01-05 10:34:53 CET. --
Jan 05 10:09:01 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Jan 05 10:09:01 octopi root[470]: Starting USB webcam
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: starting application
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: Using V4L2 device.: /dev/video0
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: Desired Resolution: 640 x 480
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: Frames Per Second.: 10
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: Format............: JPEG
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: TV-Norm...........: DEFAULT
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: www-folder-path......: ./www-octopi/
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: HTTP TCP port........: 8080
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: HTTP Listen Address..: 127.0.0.1
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: username:password....: disabled
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: commands.............: disabled
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: starting input plugin input_uvc.so
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: starting output plugin: output_http.so (ID: 00)
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: Can't enable video in first time
Jan 05 10:09:01 octopi mjpg_streamer[471]: MJPG-streamer [471]: cleaning up resources allocated by input thread
Jan 05 10:09:02 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.

any idea, how to solve this problem?

EDIT: solved by replacing camera --> hardware defect

1 Like

Thank you! You saved me hours of work!!! My octipi got knocked off by my print head and the jarring caused the camera to come unseated from the camera board.