On 2019-08-23, Jan Stary <h...@stare.cz> wrote:
> This is current/amd64 on a Dell Latitude E5570 (dmesg below).
> I am trying to use a USB camera (bought with a microscope,
> to display the miracles of paramecium life on the laptop).
>
> https://www.bresser.de/en/Astronomy/Accessories/BRESSER-MikrOkular-Full-HD-eyepiece-camera.html
>
> uvideo1 at uhub0 port 1 configuration 1 interface 0 "Alcor Micro
> MikrOkularHD" rev 2.00/0.00 addr 4
> video1 at uvideo1
>
> While video(1) works with the laptop's integrated camera (video0),
> it doesn't work with this USB camera (video1):
>
>   $ doas video -f /dev/video1 -v         
>   doas (h...@dell.stare.cz) password: 
>   video: /dev/video1 has no usable YUV encodings
>
> The device itself works, in that "doas cat /dev/video1 > /tmp/video.raw"
> spews out data, presumably frames captured by the camera. I can even
> play that back with "video -i /tmp/video.raw", but it's garbage,
> not being in one of the "YUV encodings". file(1) says
>
> /tmp/video.raw: JPEG image data, JFIF standard 1.01,
>       baseline, precision 0, 4360x720
>
> so is it some format based on a sequence of jpges?
> (Please excuse my video ignorance.)

MJPEG? that's possible.

Try some of these:

ffplay -f video4linux2 /dev/video0
gst-launch-1.0 v4l2src \! xvimagesink
mplayer tv:// 
mpv tv://

If you want to record, and ffplay works, you should at least be able to use 
ffmpeg
and write a file with a standard container format.


Reply via email to