docs: updated documentation for device definition (#65)

Improved readability of device definition section and added text to resolve "Video capture not supported by the device" error when using /dev/video0 on non-RPi hardware.

Signed-off-by: Cor Ruiten <zozo@ruiten.com>

Signed-off-by: Cor Ruiten <zozo@ruiten.com>
This commit is contained in:
ZoZo 2022-12-01 10:18:05 -08:00 committed by GitHub
parent 33981e763c
commit dc27e3f52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,12 +224,15 @@ According to that 8080 will be /webcam, port 8081 will be /webcam2 and so on._**
device: /dev/video0
The Videodevice (Camera) what should be used by choosen Streamservice.
This setting defines what video device will be used by the selected service.
If you are not using a Raspberry Pi then `/dev/video0` might not work and you might encounter an "`Video capture not supported by the device`" error in the `crowsnest.log` log file.
In this case you should use the direct device ID for the USB camera found in the `/dev/4vl/by-id` directory, like in the following example:
device: /dev/v4l/by-id/usb-PixArt_Imaging_Inc._USB2.0_Camera-video-index0
is also valid. Your devices are listed in your log-file on every run.\
So, you can easily copy it from there.
Please be aware that all available devices are always listed in the `crowsnest.log` log file, so you can always copy the appropriate device ID from there.
---