[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: new camera



On Friday 26 June 2020 16:44:32 Georgi Naplatanov wrote:

> On 6/26/20 11:20 PM, Gene Heskett wrote:
> > Greetings all;
> >
> > Just got a new camera, fawcny endoscope, I intend to use for
> > machine.
> >
> > Moderately high priced, 5 Megapixel, autofocus.
> >
> > But this stretch machine can't find it amongst all the other usb
> > stuff. It doesn't have cheese, and vlc doesn't recognize it.
> >
> > From dmesg:
> > [598961.717093] usb 1-12.4.4.4: new high-speed USB device number 18
> > using xhci_hcd [598961.869828] usb 1-12.4.4.4: New USB device found,
> > idVendor=1bcf, idProduct=284c [598961.869837] usb 1-12.4.4.4: New
> > USB device strings: Mfr=1, Product=2, SerialNumber=3 [598961.869844]
> > usb 1-12.4.4.4: Product: SPCA2650 AV Camera [598961.869848] usb
> > 1-12.4.4.4: Manufacturer: SunplusIT Inc [598961.869852] usb
> > 1-12.4.4.4: SerialNumber: 01.00.00
> > [598961.954556] media: Linux media interface: v0.10
> > [598961.973982] Linux video capture interface: v2.00
> > [598961.999017] uvcvideo: Found UVC 1.00 device SPCA2650 AV Camera
> > (1bcf:284c) [598962.015747] uvcvideo 1-12.4.4.4:1.0: Entity type for
> > entity Extension 4 was not initialized! [598962.015756] uvcvideo
> > 1-12.4.4.4:1.0: Entity type for entity Extension 3 was not
> > initialized! [598962.015760] uvcvideo 1-12.4.4.4:1.0: Entity type
> > for entity Processing 2 was not initialized! [598962.015764]
> > uvcvideo 1-12.4.4.4:1.0: Entity type for entity Camera 1 was not
> > initialized! [598962.015987] input: SPCA2650 AV Camera as
> > /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12.4/1-12.4.4/1-12.4.4.
> >4/1-12.4.4.4:1.0/input/input20 [598962.016163] usbcore: registered
> > new interface driver uvcvideo
> >
> > Anybody have an idea of what driver this camera needs?
> >
> > Cheers, Gene Heskett
>
> Hi Gene,
>
> try to use your camera with mpv player. Just use something like this:
>
> $ mpv av://v4l2:/dev/video0
>
That sorta works, video refresh rate at 640x480 is about 1 frame a 
second, and if any camera motion, has severe window shade effects.
Not plugged directly into a usb3 mobo port however.  Color etc seems good 
though.

From the terminal:
gene@coyote:/etc/init.d$ mpv av://v4l2:/dev/video0
Playing: av://v4l2:/dev/video0
 (+) Video --vid=1 (rawvideo)
libEGL warning: DRI2: failed to authenticate
[vo/opengl] Suspected software renderer or indirect context.
[vo/opengl] Suspected software renderer or indirect context.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared 
object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vo/sdl] Using opengl
Using conversion filter.
VO: [sdl] 640x480 yuv420p
V: 00:02:06
[ffmpeg/demuxer] video4linux2,v4l2: Some buffers are still owned by the 
caller on close.
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor
[ffmpeg] ioctl(VIDIOC_QBUF): Bad file descriptor


Exiting... (Quit)


> My camera works just fine with Skype, Zoom and Hangouts but it doesn't
> work with VLC.
>
> Kind regards
> Georgi

Thanks Georgi.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: