<div dir="ltr"><div><br></div><div><br></div><div>Are able to use <br></div><div><br></div><div><a href="https://opencv.org/">https://opencv.org/</a></div><div>OpenCV (Open Source Computer Vision Library)</div><div><br></div><div> ?</div><div><br></div><div>In Linux , it is able to use a web camera .</div><div>In OpenIndiana , I think , it can use a web camera also .<br></div><div><br></div><div><br></div><div>Mehmet Erol Sanliturk</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 7, 2021 at 2:36 PM <a href="mailto:stes@PANDORA.BE">stes@PANDORA.BE</a> <<a href="mailto:stes@telenet.be">stes@telenet.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
I have attached meanwhile a Logitech C930e webcam to the USB 3.1 ports (some docs refer to these ports as USB 3.2) on my OpenIndiana system.<br>
<br>
This seems to work. I can record audio with "audacity" so that's already working. The microphone of the webcam works and functions fine.<br>
<br>
I have not actually been using the webcam video because there seems no "cheese" package in the OpenIndiana repository and I haven't figured out how to capture video with "ffmpeg".<br>
<br>
So the USB 2.0 device seems to function on the xhci driver for the USB 3.1/3.2 ports:<br>
<br>
# modinfo | grep xhci<br>
103 fffffffff7cf5000 e8f0 251 1 xhci (USB xHCI Driver)<br>
<br>
# cfgadm -lv usb1/6<br>
Ap_Id Receptacle Occupant Condition Information<br>
When Type Busy Phys_Id<br>
usb1/6 connected configured ok Mfg: <undef> Product: Logitech Webcam C930e NConfigs: 1 Config: 0 <no cfg str descr><br>
unavailable usb-miscell n /devices/pci@0,0/pci1028,98d@14:6<br>
<br>
# modinfo usbvc<br>
ffffffff7e73000 7bf8 303 1 usbvc (USB video class driver)<br>
<br>
Cheese is "obsoleted" in the OI repository. The latest cheese-41 seems to use "meson" and doesn't build for me, neither do old versions seem to build.<br>
<br>
Perhaps it makes more sense to capture video with "ffmpeg". <br>
<br>
But I think ffmpeg is currently built on OpenIndiana without --enable-libv4l2 configure option:<br>
<br>
<a href="https://ffmpeg.org/ffmpeg-devices.html#video4linux2_002c-v4l2" rel="noreferrer" target="_blank">https://ffmpeg.org/ffmpeg-devices.html#video4linux2_002c-v4l2</a><br>
<br>
So the video4linux2 options do not seem to work.<br>
<br>
$ ffmpeg -list_formats all<br>
ffmpeg version 3.2.14 Copyright (c) 2000-2019 the FFmpeg developers<br>
built with gcc 7.5.0 (OpenIndiana 7.5.0-il-0)<br>
configuration: --prefix=/usr --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/lib/amd64 --cc=/usr/gcc/7/bin/gcc --enable-runtime-cpudetect --enable-mmx --enable-sse --enable-ssse3 --disable-debug --enable-nonfree --enable-gpl --enable-postproc --enable-avfilter --enable-swscale --enable-libgsm --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libspeex --enable-pthreads --enable-libass --enable-openssl --enable-openal --enable-avresample --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-vdpau --enable-shared --disable-static<br>
libavutil 55. 34.101 / 55. 34.101<br>
libavcodec 57. 64.101 / 57. 64.101<br>
libavformat 57. 56.101 / 57. 56.101<br>
libavdevice 57. 1.100 / 57. 1.100<br>
libavfilter 6. 65.100 / 6. 65.100<br>
libavresample 3. 1. 0 / 3. 1. 0<br>
libswscale 4. 2.100 / 4. 2.100<br>
libswresample 2. 3.100 / 2. 3.100<br>
libpostproc 54. 1.100 / 54. 1.100<br>
Unrecognized option 'list_formats'.<br>
<br>
The option list_formats seems not to be supported although according to the docs if --enable-v4l2 would be used, it could perhaps work.<br>
<br>
The /dev/video0 device is there.<br>
<br>
Has anyone suggestions on what other application could be used to test the /dev/video0 device ?<br>
<br>
Regards,<br>
David Stes<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
</blockquote></div>