ESP32-cam
Stream is not loaded
Octoprint 1.7.2
I configured the Webcam Support:
Webcam-Support enabled
Stream-URL: http://esp32-cam:81/stream
Timelapse-Support activated
Snapshot-URL: http://esp32-cam/capture
Timelapse is working inside Octoprint
Stream displays an error.
If I click on the Streaming-URL (http://esp32-cam:81/stream) in the errormessage, the stream is loaded in a new browserwindow.
Any ideas
Logs:
webcamd.log
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/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/video10
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
Nov 27 17:30:30 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/video10
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
Done bring up all configured video device
Goodbye...
SYSLOG:
Nov 27 17:31:55 octopi systemd[1]: webcamd.service: Succeeded.
Nov 27 17:31:55 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Nov 27 17:31:57 octopi systemd[1]: webcamd.service: Service RestartSec=1s expired, scheduling restart.
Nov 27 17:31:57 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 2795.
Nov 27 17:31:57 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Nov 27 17:31:57 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Nov 27 17:31:57 octopi root: Starting USB webcam
Nov 27 17:31:58 octopi MJPG-streamer [9946]: starting application
Nov 27 17:31:58 octopi MJPG-streamer [9946]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Nov 27 17:31:58 octopi MJPG-streamer [9946]: Using V4L2 device.: /dev/video10
Nov 27 17:31:58 octopi MJPG-streamer [9946]: Desired Resolution: 640 x 480
Nov 27 17:31:58 octopi MJPG-streamer [9946]: Frames Per Second.: 10
Nov 27 17:31:58 octopi MJPG-streamer [9946]: Format............: JPEG
Nov 27 17:31:58 octopi MJPG-streamer [9946]: TV-Norm...........: DEFAULT
Nov 27 17:31:58 octopi MJPG-streamer [9946]: init_VideoIn failed
Nov 27 17:31:59 octopi systemd[1]: webcamd.service: Succeeded.
Nov 27 17:31:59 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Nov 27 17:32:00 octopi systemd[1]: webcamd.service: Service RestartSec=1s expired, scheduling restart.
Nov 27 17:32:00 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 2796.
Nov 27 17:32:00 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Nov 27 17:32:00 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Nov 27 17:32:00 octopi root: Starting USB webcam
Nov 27 17:32:00 octopi MJPG-streamer [9972]: starting application
Nov 27 17:32:00 octopi MJPG-streamer [9972]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Nov 27 17:32:01 octopi MJPG-streamer [9972]: Using V4L2 device.: /dev/video10
Nov 27 17:32:01 octopi MJPG-streamer [9972]: Desired Resolution: 640 x 480
Nov 27 17:32:01 octopi MJPG-streamer [9972]: Frames Per Second.: 10
Nov 27 17:32:01 octopi MJPG-streamer [9972]: Format............: JPEG
Nov 27 17:32:01 octopi MJPG-streamer [9972]: TV-Norm...........: DEFAULT
Nov 27 17:32:01 octopi MJPG-streamer [9972]: init_VideoIn failed
Nov 27 17:32:01 octopi systemd[1]: webcamd.service: Succeeded.