hints/urls please for configuring usb cameras
Julian H. Stacey
jhs at berklix.com
Mon Apr 27 14:35:50 UTC 2020
Hi, Reference:
> From: Hans Petter Selasky <hps at selasky.org>
> Date: Mon, 27 Apr 2020 16:08:29 +0200
Hans Petter Selasky wrote:
> On 2020-04-27 15:53, Julian H. Stacey wrote:
> > Hi multimedia at freebsd.org,
> > hints/urls please for configuring usb cameras ?
> > I've not found anything in
> > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
> > https://wiki.freebsd.org/
>
> https://wiki.freebsd.org/WebcamCompat
>
> >
> > With freebsd current & module cuse.ko & webcamd & gtkam I see 2 cameras,
> > With entangle I can connect to external but not internal camera
>
> Try "webcamd -l"
Thanks yes already done that, pasting below content of
http://www.berklix.org/meet/freebsd_camera.html
> > I can't configure to any cameras,
> > not yet been able to view an image from a BSD camera,
> > Can view images from MS/Linus/Android/Mac cameras sent via jitsi into chrome
> > I have 4 real external USB, i internal, & 4 android cameras to try with.
> > Hints please ?
> >
> > Detail http://www.berklix.org/meet/freebsd_camera.html
>
> --HPS
-------
dmesg
ugen0.3: <XPA2535XY 1.3M WebCam> at usbus0
kldload kldload cuse.ko
webcamd -l
webcamd [-d ugen0.1] -N Intel-EHCI-root-HUB -S unknown -M 0
webcamd [-d ugen1.1] -N Intel-EHCI-root-HUB -S unknown -M 1
webcamd [-d ugen1.2] -N vendor-0x8087-product-0x0020 -S unknown -M 0
webcamd [-d ugen0.2] -N vendor-0x8087-product-0x0020 -S unknown -M 1
webcamd [-d ugen0.3] -N XPA2535XY-1-3M-WebCam -S unknown -M 0
webcamd [-d ugen1.3] -N Semi-Tech-Semi-Tech-PS-2-Keyboard---PS-2-Mouse -S unknown -M 0
webcamd [-d ugen1.4] -N vendor-0x05e3-USB2-0-Hub -S unknown -M 0
webcamd [-d ugen1.6] -N Cypress-Sem-PS2-USB-Browser-Combo-Mouse -S unknown -M 0
webcamd [-d ugen1.5] -N vendor-0x2770-USB-Digital-Still-Camera -S unknown -M 0
webcamd [-d ugen1.7] -N SAMSUNG-SAMSUNGAndroid -S 248d1752 -M 0
webcamd -d ugen0.3 -N XPA2535XY-1-3M-WebCam -S unknown -M 0
webcamd 2301 - - webcamd: Cannot find USB device
webcamd -d ugen1.5 -N vendor-0x2770-USB-Digital-Still-Camera -S unknown -M 0
webcamd 2270 - - Attached to ugen1.5[0]
webcamd 2270 - - Creating /dev/video0
webcamd -d ugen1.6 -N vendor-0x2770-USB-Digital-Still-Camera -S unknown -M 0
webcamd 1708 - - Attached to ugen1.6[0]
webcamd 1708 - - Creating /dev/video0
webcamd -d ugen1.6 -N SAMSUNG-SAMSUNGAndroid -S 248d1752 -M 0
ps -laxww | grep webcamd; ls -l /dev/video0
ln -s video0 /dev/photopc
chmod 666 /dev/video0
gtkam
does show both cameras
but cant find a mathing camera type
Could not initialize camera
---
The android screen says disconnect cable & try again, then webcamd dies
I juess I need to set some android permissions
pkg install entangle
entangle
Does not show the Acer laptop internal camera.
Show external usb:001,006 as Aries Digital Keychain Camera, 1
It shows option of a net camera too, but I sposes no point as localhost
It show camera loads controls failed
Camera does not provide configurtion options
With no webcamd running:
Disconnected & connected android
Rescan shows usb 1,5 Samsung Galaxy Models (MTP)
click on blue, click connect
change android to MTP
"This camera does not support image capture"
I guess I need thange android options.
Android evelope options set to USB=PTP
connected
Syntax sample from
https://www.unixmen.com/freebsd-nginx-ffmpeg-camera-recording-and-live-streaming/
rtsp://admin:12345@10.50.6.101:554/Streaming/Channels/101?transportmode=unicast
---------
Next
vi /etc/devfs.rules
pkg install kamera
vi /usr/ports/graphics/kamera/pkg-plist # just a load of shms, no bin/
pkg remove kamera
-------
Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
http://www.berklix.org/corona/#masks 150 Euro fine or tie 2 handkerchiefs ?
www.bbc.com/news/business-52304821 Brexit 31 Dec 2020 will further hit UK & EU
More information about the freebsd-multimedia
mailing list