From dc27e3f52aa16c49f089adc3076b5e67ac578136 Mon Sep 17 00:00:00 2001 From: ZoZo Date: Thu, 1 Dec 2022 10:18:05 -0800 Subject: [PATCH] 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 Signed-off-by: Cor Ruiten --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 85de06d..a0b61c1 100644 --- a/README.md +++ b/README.md @@ -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. ---