Description of problem:
There's no loopback support in upstream kernel yet, and mageia doesn't ship the v4l2loopback module package yet.
A v4l2 (video for linux 2) device is used as source by many applications, including browsers for video-conferencing but also other programs that are making use of video-captures.
A loopback device allows to use other programs to create a video stream instead of using an actual camera attached to the computer. This allows adding video-filters to applications that otherwise would not support it. For example combining multiple individual videos into a single one for applications that only accept a single input, crop, colorgrade or otherwise improve your video or create a video stream from other sources that don't have a v4l2 interface, like for example a feed from a DSLR via USB
The project's wiki https://github.com/umlaeute/v4l2loopback/wiki lists various examples using different tools
Created attachment 11668 [details]
spec file I used to build a dkms package for my own use
sample spec file that can be used as a basis.
v4l2loopback includes a utility application that can be used to configure various parameters once the loopback device was created that is not built/installed in this spec - for my use it's optional, but it would be nice if a proper mageia package did include it.
Thank you for the suggestion and the details.
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.
You Christian might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
Add v4l2loopback kernel module =>
v4l2loopback (video for linux 2) kernel module, NEW PKG REQUESTSource RPM:
Forgot to point out the obvious that this request applies even more to Cauldron/M8.
*** Bug 28488 has been marked as a duplicate of this bug. ***
Since this is an dkms module, do we have someone who has experience in dkms modules and can import this package from fedora?
tried to use
made some adaptions, but I think we have different scripts for dkms...
Does some has a hint how this is done on mga? Checked nvidia390, but this looks very specific to adapt to our needs here
why not try the spec file I used and attached to the bugreport already? works fine for me....
I've overread your attachment. I'll give it a try.
why is the util omitted ?
out of laziness really - in 0.12.5 it still is just a script that doesn't require much, but on current master it is a c file/needs to be compiled, and not sure how strict the packaging policies in Mageia are and whether it would be OK to just ship it as part of a dkms package or whether it would need to be split out.
But real issue is that I don't have a use for it personally, I only use a single setting/device that I can just configure with module parameters…
initial version submitted.
wrong naming of dkms package.
dkms packages should always be named dkms-<packagename>
Thx Thomas. This was still the naming from fedora. Corrected.
can we use #28488 as backports request?
v4l2loopback was imported on Mageia, so closing as fixed!