webcam capture error
-
Hi, when i try to capture selfies by saying jarvis take a selfie, it shows smile but at the end ext-alert shows webcam capture error, can anyone help me through this
-
Hi, Anything else to help me out?
-
yes please , sorry to bother you
my ext-selfie configuration is{ module: 'EXT-Selfies', position: 'top_left', config: { debug: false, captureWidth:1280, captureHeight:720, device: null, usePreview: false, previewWidth:640, previewHeight:360, displayButton: true, buttonStyle: 1, buttons: { 1: "master.png", 2: "halloween.png", 3: "birthday.png", 4: "christmas.png" }, blinkButton: false, playShutter: true, resultDuration: 1000 * 10, autoValidate: true, counterStyle: 1, showResult: true } },
Edit: Next time, thx to use code tag:
-
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!