#webcam feed stops after a couple of seconds
77 messages ยท Page 1 of 1 (latest)
A crowsnest.log is appreciated ๐
On it!
Doesn't help if I change it to 800x600
Which is actually a supported format
What UI do you use? Mainsail or Fluidd? And which service (mjpg, adaptive mjpg, webrtc)?
Mainsail
Oh, I see you are on Buster, so no webrtc. Do you use adaptive mjpg or mpg then?
Got it on adaptive right now
Ok, plaese set log_level: debug and send a new log, after that issue appears again
Send the file please
Also run dmesg > ~/printer_data/config/dmesg.txt and send the dmesg.txt that can be found on the machine page with your configs
There we go
I don't see anything particularly wrong except for can't set input channel
That's why I asked for the dmesg output
What exact model is that Brio Logitech? Some browsing on the models let me think that this series of cams might not be compatible with Linux
Had it working at one point with webcamd
Then might be a problem with ustreamer ๐คทโโ๏ธ
Can you send a screenshot of ls ~/printer_data/config?
Maybe it's just on the second page of the configs?
Seems like you didn't execute it correctly maybe?
Or maybe I'm just dumb ^^
No, the command should be correct
It should be inside ~/printer_data/config
ls ~ will be printing the files in your home btw
About some deeper errors
Nope
I am btw on the legacy build
It shows overall messages from the kernel
I already saw this ^^
But this shouldn't matter for this
fixed it
int input = dev->input; // Needs a pointer to int for ioctl()
LOG_INFO("Using input channel: %d", input);
if (xioctl(RUN(fd), VIDIOC_S_INPUT, &input) < 0) {
LOG_ERROR("Can't set input channel");
return -1;
}
commented this out in the device.c file of ustreamer
I wouldn't do that ^^
Also the dmesg output might help
Most likely there is a reason for an exit. There might be no problems, but it could also create problems
Then run again dmesg > ~/printer_data/config/dmesg.txt and send a screenshot/picture of the console
Ok the fix wasn't actually the fix
I ran sudo make config
And with the option apply raspi fix
I chose yes
That was the fix
This shouldn't have fixed anything.....That fix is for something completely different ๐ค
Yeah
Somehow it worked
What was it suppose to fix?
Btw how can I open a direct stream
The raspicams will randomly be mapped to something else than /dev/video0. On Buster this fix will make them to map always to /dev/video0
Owyeah I read that
http://<ip.of.your.pi>/webcam/?action=stream
Aah ok
So that wasn't also a fix
It is probably webcamd taking over because crowsnest is failing to start
Run systemctl disable webcamd
If it succesfully disables, then you might be right
If no service is found, then it's not running
Then I need the dmesg output somehow (copy paste, screenshot, the command I send, ....)
Update: I did a fresh install now the camera works properly with crowsnest. Probably some old residu is messing too much with the services.