Hallo allerseits.
Ich versuche gerade meine Digitalkamera (Canon PowerShot G7X) als Webcam einzurichten, und diese für Live-Streams zu nutzen (bin quasi Lehrer und muss Hybridlehre vorbereiten). Unter Linux gibt es dafür anscheinend eine Lösung, und zwar über einen Loopback. Hier wäre die Anleitung, die ich gerade ausprobiere: https://www.crackedthecode.co/…slr-as-a-webcam-in-linux/ . Leider ist die Beschreibung nur für Debian, Ubuntu, Fedora und Arch, aber anscheinend haben Leute das schon unter openSuse zum Laufen gebracht: modprobe v4l2loopback ... - keine Änderung .
Mein Problem ist bereits Schritt 1. Ich soll das Kernel-Modul v4l2loopback via
laden, dieses wird mir aber nicht angeboten. Installiert sollte alles sein:
BLABLA@linux-ogpy:~> zypper se v4l2
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Summary | Type
---+--------------------------+---------------------------------------------------------+-----------
| libgviewv4l2core-2_0-2 | GTK+ UVC Viewer and Capturer | Paket
| libgviewv4l2core-lang | Languages for libgviewv4l2core | Paket
i+ | libv4l2-0 | Video4linux support library | Paket
i+ | libv4l2-0-32bit | Video4linux support library | Paket
i+ | libv4l2rds0 | Video4linux support library | Paket
| libv4l2rds0-32bit | Video4linux support library | Paket
| obs-v4l2sink | OBS studio output plugin for Video4Linux2 device | Paket
| obs-v4l2sink | OBS studio output plugin for Video4Linux2 device | Quellpaket
| obs-v4l2sink-debuginfo | Debug information for package obs-v4l2sink | Paket
| obs-v4l2sink-debugsource | Debug sources for package obs-v4l2sink | Paket
i+ | qv4l2 | Video4linux test control and streaming test application | Paket
i+ | v4l2loopback-autoload | Autoload driver for V4L2 loopback devices | Paket
i+ | v4l2loopback-kmp-default | A kernel module to create V4L2 loopback devices | Paket
| v4l2loopback-kmp-preempt | A kernel module to create V4L2 loopback devices | Paket
i+ | v4l2loopback-utils | Utils for V4L2 loopback devices | Paket
Alles anzeigen
Der Aufruf von "sudo modprobe v4l2[TAB][TAB]" sagt mir
BLABLA@linux-ogpy:~> sudo modprobe v4l2[TAB][TAB]
v4l2-dv-timings v4l2-flash-led-class v4l2-fwnode
Mein Kernel sieht wie folgt aus:
BLABLA@linux-ogpy:~> uname -a
Linux linux-ogpy 5.12.9-1.gf17eb01-default #1 SMP Thu Jun 3 07:44:58 UTC 2021 (f17eb01) x86_64 x86_64 x86_64 GNU/Linux
Vielleicht sind noch genauere Informationen zu den relevanten Paketen wichtig:
BLABLA@linux-ogpy:~> zypper if kernel-default
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
Informationen zu Paket kernel-default:
--------------------------------------
Repository : @System
Name : kernel-default
Version : 5.12.9-1.1.gf17eb01
Arch : x86_64
Anbieter : obs://build.opensuse.org/Kernel
Installierte Größe : 191,5 MiB
Installiert : Ja
Status : aktuell
Quellpaket : kernel-default-5.12.9-1.1.gf17eb01.nosrc
Zusammenfassung : The Standard Kernel
Beschreibung :
The standard kernel for both uniprocessor and multiprocessor systems.
Source Timestamp: 2021-06-03 07:44:58 +0000
GIT Revision: f17eb01161845e938845a4d96c1b159c5b7e2368
GIT Branch: stable
BLABLA@linux-ogpy:~> zypper if v4l2loopback-kmp-default
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
Informationen zu Paket v4l2loopback-kmp-default:
------------------------------------------------
Repository : repo-oss-15.3
Name : v4l2loopback-kmp-default
Version : 0.12.5_k5.3.18_57-lp153.1.46
Arch : x86_64
Anbieter : openSUSE
Installierte Größe : 77,0 KiB
Installiert : Ja
Status : aktuell
Quellpaket : v4l2loopback-0.12.5-lp153.1.46.src
Zusammenfassung : A kernel module to create V4L2 loopback devices
Beschreibung :
This module allows you to create "virtual video devices". Normal (v4l2)
applications will read these devices as if they were ordinary video
devices, but the video will not be read from e.g. a capture card but
instead it is generated by another application.
Alles anzeigen
Theoretisch müsste mir eines der installierten Pakete aber v4l2loopback anbieten. Leider kenne ich mich mit solchen Kernel-Geschichten nicht so aus und hoffe hier Hilfe zu finden.
Danke schonmal und viele Grüße