Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webcamd is dead #23

Open
TGC-TECH opened this issue May 11, 2022 · 2 comments
Open

Webcamd is dead #23

TGC-TECH opened this issue May 11, 2022 · 2 comments

Comments

@TGC-TECH
Copy link

Hello. I have enabled webcam in citrio-config and rebooted however when I try to access the stream URL in octoprint I get a 404 and when I run

pi@citrico-rock64:~$ systemctl status webcamd

I get

● webcamd.service - the OctoPi webcam daemon with the user specified config Loaded: loaded (/etc/systemd/system/webcamd.service; disabled; vendor preset: enabled) Active: inactive (dead)

I see that the service is dead. Attempting to manually start the service results in the process hanging at activating before eventually going back to being dead

● webcamd.service - the OctoPi webcam daemon with the user specified config Loaded: loaded (/etc/systemd/system/webcamd.service; disabled; vendor preset: enabled) Active: activating (auto-restart) since Wed 2022-05-11 16:19:40 UTC; 953ms ago Process: 2431 ExecStart=/root/bin/webcamd (code=exited, status=0/SUCCESS) CPU: 124ms

@TGC-TECH
Copy link
Author

I have come up with a work around. I installed mpjg streamer according to this https://krystof.io/mjpg-streamer-on-a-raspberry-pi-zero-w-with-a-usb-webcam-streaming-setup/ and I then was able to manually specify the device (in my case /dev/video4) in order to get the stream started. I was then able to plug the stream URL into octoprint.

I still have to setup a service to start mjpg streamer on boot but other then that I should be good to go

@ludiazv
Copy link
Owner

ludiazv commented Nov 28, 2022

configuration of the webcam is done via /boot/octopi.txt.
Check this out: https://community.octoprint.org/t/how-can-i-change-mjpg-streamer-parameters-on-octopi/203

The video output and configuration parameters are key to make your webcam work. Check this link for reference: https://community.octoprint.org/docs?topic=21149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants