Closed LehmannADL closed 2 years ago
i seriously think i need to redo it somehow something has to be wrong
adam@octoprint:~$ ls -la /dev/cam* lrwxrwxrwx 1 root root 6 Apr 6 18:15 /dev/cam_LulzMini -> video0 lrwxrwxrwx 1 root root 6 Apr 6 18:15 /dev/cam_SV04 -> video2 adam@octoprint:~$ cat /etc/udev/rules.d/99-octoprint.rules KERNELS=="5-1:1.0",SUBSYSTEM=="tty",SYMLINK+="octo_SV04" SUBSYSTEM=="tty", ATTRS{serial}=="7403530343035131C061", SYMLINK+="octo_LulzMini" SUBSYSTEM=="video4linux",KERNELS=="2-1.6:1.0",SUBSYSTEMS=="usb",ATTR{index}=="0",DRIVERS=="uvcvideo",SYMLINK+="cam_LulzMini" SUBSYSTEM=="video4linux",KERNELS=="5-2:1.0",SUBSYSTEMS=="usb",ATTR{index}=="0",DRIVERS=="uvcvideo",SYMLINK+="cam_SV04" adam@octoprint:~$ sudo systemctl status cam_SV04 ● cam_SV04.service - the OctoPi(buntu) webcam daemon with the user specified config Loaded: loaded (/etc/systemd/system/cam_SV04.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-04-06 18:15:15 UTC; 34min ago Main PID: 790 (mjpg_streamer) Tasks: 24 (limit: 9079) Memory: 2.1M CGroup: /system.slice/cam_SV04.service └─790 /home/adam/mjpg-streamer/mjpg_streamer -i input_uvc.so -d /dev/cam_SV04 -r 1280x720 -f 30 -o output_http.so -p 8001
Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: HTTP TCP port........: 8001 Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: HTTP Listen Address..: (null) Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: username:password....: disabled Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: commands.............: enabled Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: starting input plugin input_uvc.so Apr 06 18:15:15 octoprint mjpg_streamer[790]: MJPG-streamer [790]: starting output plugin: output_http.so (ID: 00) Apr 06 18:22:45 octoprint mjpg_streamer[790]: i: select() timeout Apr 06 18:22:45 octoprint mjpg_streamer[790]: i: cleaning up resources allocated by input thread Apr 06 18:22:45 octoprint mjpg_streamer[790]: MJPG-streamer [790]: select() timeout Apr 06 18:22:45 octoprint mjpg_streamer[790]: MJPG-streamer [790]: cleaning up resources allocated by input thread adam@octoprint:~$
Unfortunately, this is something related to your camera hardware. That's not something I can provide support for as it doesn't have anything to do with the script (which is working as it is supposed to). The timeout would suggest your camera became disconnected somehow. Why not swap the USB ports of the two cameras and see if the same things happens. It would tell you if it is the camera itself.
Haha I appreciate all the help, I’m just going to order another brand camera. Let’s hope it works from there.
SOrry i keep bothering you but now its driving me nuts i thought i was completely done.