On Monday, 30 March 2020 16:44:45 BST Adam Mizerski wrote:
W dniu 23.03.2020 o 11:22, Ianseeks pisze:
HI
I'm at a loss how to configure this - i'm sure there used to be a webcam option in system settings or yast - can't find it any more.
Using "IP Webcam" on the phone and it gives a IP address and port but where do you configure it on TW? I've tried webcamoid (takes desktop image and redisplays it recursively in its window) and wxcam (uses /dev/video0).
if there a simple way to configure a wifi device as a webcam. Couldn't find anything relevant with a search. Sure i'm having a senior moment here
regards
Ian
I hope I'm not too late. I asked my fried, who has achieved such setup for instruction how he did it, so here it is:
""" I'm using IP Webcam (com.pas.webcam) on the Android side together with this script on my PC: https://github.com/bluezio/ipwebcam-gst. The script makes use of v4l2loopback and GStreamer to create a virtual video device. In my setup the Android device is connected via USB since there's less delay, but it also works over Wi-Fi.
The script is well documented in its readme and comments. The configuration part includes a bunch of settings you need to keep in sync with IP Webcam, namely: - width and height of the video stream (WIDTH, HEIGHT), - video frame rate (GST_FPS), - whether you're streaming video, audio or both (CAPTURE_STREAM).
In order for the v4l2loopback device to be detected by chromium-based browsers you'll need to load the kernel module with an additional parameter as shown below: sudo modprobe -r v4l2loopback && sudo modprobe v4l2loopback exclusive_caps=1 With systemd you can make these changes persistent across reboots using /etc/modules-load.d and /etc/modprobe.d conf files.
For a discussion on the exclusive_caps parameter see: https://github.com/umlaeute/v4l2loopback/issues/78. In the case of Firefox, there is a known issue where the stream stops after a single frame (https://github.com/umlaeute/v4l2loopback/issues/251), unfortunately I wasn't able to get it running there so far.
The script mentioned earlier is no longer maintained as far as I'm aware and I'm working on improving it, as well as documenting all this in a blog post. """
Thanks Adam, i'll give that a try. -- opensuse:tumbleweed:20200326 Qt: 5.14.1 KDE Frameworks: 5.68.0 - KDE Plasma: 5.18.3 - kwin 5.18.3 kmail2 5.13.3 (19.12.3) - akonadiserver 5.13.3 (19.12.3) - Kernel: 5.5.11-1-default - xf86-video-nouveau: 1.0.15 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org