Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5174

Troubleshooting • Re: USB Camera Detects but video won't work?

$
0
0
What does this show?

Code:

v4l2-ctl --list-devices
e.g. my cheap USB webcam on a Pi4 has:

Code:

HiCamera: UVC Camera (usb-0000:01:00.0-1.3):        /dev/video0        /dev/video1        /dev/media4
This is what I get: sudo v4l2-ctl --list-devices
pispbe (platform:1000880000.pisp_be):
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video24
/dev/video25
/dev/video26
/dev/video27
/dev/video28
/dev/video29
/dev/video30
/dev/video31
/dev/video32
/dev/video33
/dev/video34
/dev/video35
/dev/video36
/dev/video37
/dev/media0
/dev/media2

rpivid (platform:rpivid):
/dev/video19
/dev/media1

Cannot open device /dev/video0, exiting.

I don't think these devices are real?
It didn't like video19 or media1:

sudo fswebcam -d /dev/video19 test.jpg
--- Opening /dev/video19...
Trying source module v4l2...
/dev/video19 opened.
No input was specified, using the first.
Unable to query input 0.
VIDIOC_ENUMINPUT: Inappropriate ioctl for device

sudo fswebcam -d /dev/media1 test.jpg
--- Opening /dev/media1...
Trying source module v4l2...
/dev/media1 opened.
/dev/media1: Not a V4L2 device?
Trying source module v4l1...
/dev/media1 opened.
/dev/media1: Not a V4L device?
VIDIOCGCAP: Inappropriate ioctl for device

Statistics: Posted by MooCow27 — Thu Aug 08, 2024 3:03 pm



Viewing all articles
Browse latest Browse all 5174

Trending Articles