#No signal error
16 messages · Page 1 of 1 (latest)
That's not an error, it's just telling you that ustreamer cannot get a signal from your specified camera
Set log_level: debug for a useful log
Ok here it is
````[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: ================================================================================
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.187 ] -- Using V4L2 device: /dev/video0
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.187 ] -- CAP: Using capture type: single-planar
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.187 ] -- CAP: Using input channel: 0
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.200 ] -- CAP: Using resolution: 320x240
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.200 ] -- CAP: Using format: YUYV
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.205 ] -- CAP: Using HW FPS: 5
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.205 ] -- CAP: Using IO method: MMAP
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.205 ] -- CAP: Requested 3 device buffers, got 3
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.208 ] -- CAP: Capturing started
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.208 ] -- Using JPEG quality: 80%
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.208 ] -- Creating pool JPEG with 2 workers ...
[01/31/26 18:56:43] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14086.219 ] -- Capturing ...
[01/31/26 18:56:45] crowsnest: DEBUG: ustreamer [cam 1]: -- ERROR [14088.220 ] -- CAP: Device select() timeout
[01/31/26 18:56:45] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14088.230 ] -- Destroying workers pool JPEG ...
[01/31/26 18:56:45] crowsnest: DEBUG: ustreamer [cam 1]: -- INFO [14088.253 ] -- CAP: Capturing stopped
[01/31/26 18:56:45] crowsnest: DEBUG: ustreamer [cam 1]: ================================================================================```
Is the device working correctly?
It's a laptop camera. I was able to take a picture with ffmpeg.
ffmpeg -f v4l2 -input_format yuyv422 -video_size 640x480 -i /dev/video0 -frames:v 1 test.jpg
Sry, then I cannot really help you much. There are a few issues on the ustreamer GitHub about problems with this:
https://github.com/pikvm/ustreamer/issues?q=is%3Aissue state%3Aopen CAP%3A Device select timeout
There can be a lot of different issues. The simplest thing you can try is to increase the timeout timer:
--device-timeout=30
Add that to your custom_flags and just try with a high number first and reduce it, if it helped. If not, you might want to ask on the ustreamer GitHub for help, as the ustremaer maintainer is way more knowledgeable than me in terms of cameras.
You can start ustreamer on your command line like this:```sh
~/crowsnest/bin/ustreamer --host 0.0.0.0 -p 8080 -d /dev/video0 --device-timeout=2 -r 320x240 -f 5 --allow-origin=* --static ~/crowsnest/ustreamer-www --format=yuyv
You can do this, by editing `~/crowsnest/bin/build.sh` and setting `v6.36` to `v6.50`, then run `cd ~/crowsnest && make update`
Quite a lot at once I know. If you got questions, don't hesitate to ask
ok, thank you so much
Aumenting the device timeout fixed the issue
I think it has something to do with the laptop being a potato
xd