v4l2loopback-dkms in EasyOS

Moderator: BarryK

Post Reply
Maybe
Posts: 115
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 85 times
Been thanked: 13 times

v4l2loopback-dkms in EasyOS

Post by Maybe »

Hello!

I can't compile. But I beg you please help me create a package virtv4l2loopback-dkms to use virtual camera in OBS Studio in EasyOS

From Dmitry (Russia)

User avatar
BarryK
Posts: 2286
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 94 times
Been thanked: 571 times

Re: v4l2loopback-dkms in EasyOS

Post by BarryK »

Easy already has v4l2loopback-dc.ko:

Code: Select all

# modinfo v4l2loopback-dc
filename:       /lib/modules/5.15.79/extra/v4l2loopback-dc.ko
license:        GPL
author:         Vasily Levin, IOhannes m zmoelnig <zmoelnig@iem.at>, Stefan Diewald, Anton Novikov
description:    V4L2 loopback video device
depends:        videodev
name:           v4l2loopback_dc
vermagic:       5.15.79 SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   unknown
signature:      
parm:           width:frame width (int)
parm:           height:frame height (int)
parm:           video_nr:video device numbers (-1=auto, 0=/dev/video0, etc.) (int)
Maybe
Posts: 115
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 85 times
Been thanked: 13 times

Re: v4l2loopback-dkms in EasyOS

Post by Maybe »

BarryK wrote: Sun Dec 25, 2022 11:29 am

Easy already has v4l2loopback-dc.ko:

Hi, dear @BarryK this is great news! Thank you! But, how to make this package work with OBS so that the virtual camera works? I downloaded OBS studio and its dependencies from the package manager EasyOS.

Usually after installing v4l2loopback package the virtual camera button appears in the OBS studio interface. You don't need to do any tricky moves.

It's sad there is no button virtual camera in OBS studio interface in EasyOS.

Please tell me, maybe I missed something.

User avatar
BarryK
Posts: 2286
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 94 times
Been thanked: 571 times

Re: v4l2loopback-dkms in EasyOS

Post by BarryK »

I cannot remember. It is fortunate that I post frequently to my blog. Maybe these posts will help:

https://bkhome.org/news/202204/kernel-5 ... odule.html

https://bkhome.org/news/202204/droidcam ... ssues.html

https://bkhome.org/news/202204/droidcam ... works.html

...that last one is using the phone as video input for OBS, which probably isn't what you want.

Can't say that I know what a "virtual camera" is.

Maybe
Posts: 115
Joined: Fri May 28, 2021 7:07 pm
Has thanked: 85 times
Been thanked: 13 times

Re: v4l2loopback-dkms in EasyOS

Post by Maybe »

Dear, @BarryK The fact that you have made it possible to use a phone as a webcam is amazing and very convenient. Thank you very much for this!

I want to tell a little about the virtual camera function in obs-studio. The virtual camera feature allows you to use obs-studio instead of a webcam in Zoom or another messenger.

The virtual camera in obs-studio allows you to use many convenient features, such as broadcasting photos of desktop graphs during a conference in zoom.

The effect is the same as while watching the news on television, there is an announcer who reads the news next to him, photographs of a quote or something else appear on the screen, while the image of the person reading the news does not disappear.

To implement these features need v4l2loopback-dkms kernel module

Last edited by Maybe on Sat Dec 31, 2022 11:27 am, edited 1 time in total.
User avatar
BarryK
Posts: 2286
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 94 times
Been thanked: 571 times

Re: v4l2loopback-dkms in EasyOS

Post by BarryK »

OK, looks like a very useful thing to do.
I'm starting a bit of a New Year break, but have written this down in the to-do list.

User avatar
rockedge
Site Admin
Posts: 5728
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1999 times
Been thanked: 2102 times
Contact:

Re: v4l2loopback-dkms in EasyOS

Post by rockedge »

@BarryK I have been following your work and Droidcam became an interesting subject. Inspired, I began to test using old cell phones as network cameras for ZoneMinder.

Turns out Droidcam works well with ZoneMinder and really opens up possibilities. I have now some interesting mobile phone mounting devices that turned out to be an easy Christmas gift for this grandfather.

Post Reply

Return to “EasyOS”