question

GeorgeWillegers-7596 avatar image
1 Vote"
GeorgeWillegers-7596 asked FlorianWidder-8830 answered

Teams for Linux sees camera, but can not use it

I just installed Teams for Linux, version 1.3.00.25560, 64-bit deb-package, on Linux Mint 20 (based on Ubuntu 20.04).
Everything seems to be working, except the camera. Teams recognizes the camera (A Mobius, connected as webcam via USB), but says it can not use the camera. The screen stays black.
Camera is switched on and can be used by a Python script (did this as a test).
The Teams log does not contain the words camera, video or Mobius.
Why can't Teams use my camera, or at least tell me why it can not use the camera?

I already tried unplugging the camera, killing Teams, reconnecting the camera, starting Teams, without success.

office-teams-linux-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Same situation with OBS-CAM.

0 Votes 0 ·
SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered GeorgeWillegers-7596 commented

@GeorgeWillegers-7596, @FabienTremblay-1652,

The certified web camera for Microsoft Teams are listed here.
Mobius and OBS are not included in it. So, it recommends you change a certified camera.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Strange, since it does work with MS Teams and with OBS on Windows 10. And it does work with OBS on Linux.
So from my point of view there is nothing wrong with the camera.

1 Vote 1 ·
SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered

@GeorgeWillegers-7596,

It maybe the compatibility problem between Teams app and your camera devices.

So, it’s better to use the certified camera device.

Besides, I have created a feedback to request more certified device for Teams in this link: https://microsoftteams.uservoice.com/forums/555103-public/suggestions/41873938-need-more-certified-devices-for-microsoft-teams. You could vote for it.

Microsoft will always focus on customer’s feedback and experience. Some new features would be added to the services based on customers' feedback in the future, and your good ideas will be very helpful for them to improve the service.

Your time, understanding and cooperation will be highly appreciated.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MartinEmrich-1531 avatar image
2 Votes"
MartinEmrich-1531 answered

Hi George!

I just found out that Teams on Linux apparently only supports resolutions up to 1280x720. So if your webcam, OBS or loopback device outputs e.g. 1080p video, the screen stays black in teams.
If that's the case, try lowering the resolution in your source if possible.

See also https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/42405061-linux-application-shows-black-video-on-webcam-with

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ReinierPost-5205 avatar image
1 Vote"
ReinierPost-5205 answered

I just experienced the same problem on Ubuntu 18.04 with the Teams client installed from package (not snap) and a dirt cheap 20 year old webcam (lsusb says it's an ID 093a:2468 Pixart Imaging, Inc. SoC PC-Camera). The Teams client sees it, but sees no image; camorama sees it just fine.

In the past, with other video applications, I've been able to fix this by preloading a compatibility library, so I just tried to do the same with Teams:

env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so teams

No luck. It must be something else. Time to buy a new webcam :) The built-in webcam on my HP Zbook works fine.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FlorianWidder-8830 avatar image
0 Votes"
FlorianWidder-8830 answered

I was able to solve the Problem using a virtual video Device and ffmpeg.


 sudo apt install v4l2loopback-dkms
 sudo modprobe v4l2loopback
    
 ffmpeg -f v4l2 -i /dev/video0 -vf format=yuv420p,scale=1280x720 -f v4l2 /dev/video1

It changes size of the Video so Teams is able to use it.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.