Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] MS-Teams on XFCE4/Gentoo
Date: Thu, 18 Jun 2020 10:01:05
Message-Id: 20691299.EfDdHjke4D@eve
In Reply to: Re: [gentoo-user] MS-Teams on XFCE4/Gentoo by "J. Roeleveld"
1 On Thursday, June 18, 2020 10:37:39 AM CEST J. Roeleveld wrote:
2 > On Thursday, June 18, 2020 10:32:35 AM CEST Neil Bothwick wrote:
3 > > On Thu, 18 Jun 2020 10:21:12 +0200, J. Roeleveld wrote:
4 > > > > I don't have "media-video/obs-v4l2sink", I do have
5 > > > > "media-video/obs-studio"
6 > > > >
7 > > > > Is this a typo? Or are you using an overlay?
8 > > >
9 > > > Never mind this, was added recently.
10 > > >
11 > > > Which USE-flags did you use and is there a simple howto somewhere?
12 > >
13 > > The homepage has clear instructions for setting it up. For doing the
14 > > background replacement in OBS, I googled and found some Youtube videos.
15 >
16 > Great, watching youtube for the guide...
17 > Will start googling, did you bookmark them?
18 >
19 > > Am I getting old or do others also wish they could just get a text howto
20 > > instead of watching a video every time they want to do something new?
21 >
22 > I prefer text-howto's over videos. Makes it easier to go through it at my
23 > own pace and rewinding/pausing text is soo much simpler than on youtube
24 > where it keeps adding adverts in the middle of an explanation.
25 >
26 > --
27 > Joost
28
29 Managed to get the video working through OBS. I did notice that if the
30 resolution is too large, I get a black screen.
31
32 The largest I managed to get working is 640x360.
33
34 Bill, you might be able to get video by sending it through OBS as well?
35
36 I unmasked "media-video/obs-studio" and "media-video/obs-v4l2sink"
37 (Latest version, except for 9999)
38
39 Don't forget to apply the patch Neil mentioned in his email.
40
41 I added the "v4l" USE-flag to "media-video/obs-studio"
42
43
44 When all is installed, load the v4l2loopback driver with:
45
46 # modprobe v4l2loopback exclusive_caps=1 video_nr=5 card_label="loopback"
47
48 Then start OBS:
49 # obs
50
51 In settings, set "output (scaled) resolution" to 640x360 (You can find this
52 under "VIDEO")
53
54 Add your real webcam as video-source (set resolution to 640x360 if at all
55 possible, OBS will scale on the fly if necessary.
56
57 Start the V4L2 sink by:
58 Tools -> V4L2 Video Ouput
59
60 Set " /dev/video5 " as device and format " YUV420 "
61
62 Then start "teams" and select "loopback" as the video-device.
63
64 For me, this worked.
65
66 Now only to find out how to add a different background and do other silly
67 things.
68
69 --
70 Joost