Closed yschroeder closed 3 years ago
Are you using The Spaghetti Detective?
@gotdsm95 Does Spaghetti Detective change anything?
@gotdsm95 I am not, and I also can't imagine how that would change anything.
It uses another type of streaming that can't coinside with mjpeg streamer. https://www.thespaghettidetective.com/docs/webcam-feed-is-laggy/
The camera gets recognized as a USB camera using the bcm2835-v4l2 driver. It is a normal behavior.
I guess #690 addresed this and this can be closed.
What were you doing?
camera_raspi_options
in/boot/octopi.txt
webcamd
What did you expect to happen?
Changes to
camera_raspi_options
change the output ofmjpg_streamer
in the OctoPrint UI.What happened instead?
Camera picture was not affected by the options.
Did the same happen when running OctoPrint in safe mode?
Did not test, as this is not a problem of OctoPrint.
Version of OctoPi
0.17.0
Relevant output of
journalctl -u webcamd
Workaround
Set
camera="raspi"
instead ofcamera="auto"
in/boot/octopi.txt
results in the changes tocamera_raspi_options
to be applied and the log ofwebcamd
changes to the following:Note: There was not USB webcam connected at any time to the Pi, it always uses the Raspberry Pi Camera!
wecamd
seems to choose/dev/video0
when available, which is also true when using the Raspberry Pi camera. There should be a more sophisticated detection that checks if/dev/video0
is actually the Raspberry Pi camera and use that one instead of handling/dev/video0
like a USB webcam.