webcam capture error
-
can you try this
-
Thankyou for your quick response
I’'ve already tried this
usePreview: false
device: “/dev/video1”,
but still it showing the same
“webcam captures error” -
logs says
/dev/video1
?wiki says:
-> See the backend log to get your installed camera name (with debug mode activated)
past me the line of the log
-
options: {
playShutter: true,
autoValidate: true,
showResult: true,
TBkey: null,
useTBKeyOnly: false
}
}
[20.12.2022 03:11.12.728] [LOG] fswebcam -r 1280x720 --jpeg 100 -d /dev/video1 --no-banner /home/pi/MagicMirror/modules/EXT-Selfies/photos/221220_031112.jpeg
[20.12.2022 03:11.12.840] [LOG] — Opening /dev/video1…
Trying source module v4l2…
/dev/video1 opened.
No input was specified, using the first.
Unable to query input 0.
VIDIOC_ENUMINPUT: Inappropriate ioctl for device[20.12.2022 03:11.12.848] [ERROR] [SELFIES] Capture Error!
Edit: 2Times …, thx to use tag code
-
It’s not that i want …
enable debug mode and tell me the list of devicesomething like this:
[19.12.2022 23:27.12.962] [LOG] [SELFIES] Searching camera devices... [19.12.2022 23:27.12.975] [LOG] [SELFIES] Detected devices: [ '/dev/video0', '/dev/video1', '/dev/video10', '/dev/video11', '/dev/video12', '/dev/video13', '/dev/video14', '/dev/video15', '/dev/video16', '/dev/video18', '/dev/video19', '/dev/video20', '/dev/video21', '/dev/video22', '/dev/video23', '/dev/video31' ]
-
can you please tell me how to do that?
-
- enable debug mode feature in config
- restart the mirror
- past the detected devices line send on back logs (with code flag)
-
that’s what I did , if I am not wrong , I did debug:true
then restart the mirror -
-
Edit; thx to apply rules!