Closed etwasmitbaum closed 2 years ago
Try disabling input selection in the code, rebuild it and run.
Comment these lines in srv/ustreamer/device.c
:
https://github.com/pikvm/ustreamer/blob/030077fb47c80d10218b663e7d77befb0df4719f/src/ustreamer/device.c#L452-L457
This fixed the issue but got a new one.
================================================================================
-- INFO [480.179 stream] -- Device fd=8 opened
-- ERROR [480.179 stream] -- Unable to set pixelformat=MJPEG, stride=2560, resolution=1280x720: Device or resource busy
-- INFO [480.179 stream] -- Device fd=8 closed
-- INFO [480.180 stream] -- Sleeping 1 seconds before new stream init ...
================================================================================
My Raspberry PI is fresh booted and I did not try to access the camera in any way.
It doesn't look like this camera was working at all. It looks like a driver glitch.
I think the same. Since this is no more related to this project I will close this issue. Thanks for your help.
If you find Linux software that works with it, let me know, I'll try to figure out what's wrong here.
Everything is working now. I used the default Raspberry Pi OS (32 bit) instead of OctoPI to run the stream. Something was wrong with my installation of OctoPI.
Hello, I used an old laptop to run OctoPrint and stream a WebCam with ustreamer. I now decided to use a raspberryPI 4 und and installing ustreamer and testing it and I ran into a problem. This is the command I am using this command to stream my webacm:
/home/pi/ustreamer/ustreamer --device /dev/video0 --resolution 1280x720 --format MJPEG --desired-fps 25 --buffers 1 --workers 1 --encoder HW --host :: --port 8000
I tried leaving out every unnecessary part of the command, same results.
And the output is this:
The Output repeats itself every second.
Here is the WebCam info from
v4l2-ctl --all -d /dev/video0
: