# Virtual background videos not working

**URL:** <https://devforum.zoom.us/t/virtual-background-videos-not-working/41217>\
**Category:** macOS\
**Created:** [January 21, 2021, 5:58pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217 "2021-01-21T17:58:27Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 21, 2021, 5:58pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/1 "2021-01-21T17:58:27Z")

</div>

**Description**  
Setting a **video** as a virtual background in in-app Zoom settings fails. I had a similar problem with images a while back but was able to fix by setting the app’s iTunesConnect organization/team identifier. That did not affect virtual background videos.

Related issue for **image** virtual backgrounds not working (and resolved):

> [@Virtual background and filter don't work in Mac os](https://devforum.zoom.us/t/virtual-background-and-filter-dont-work-in-mac-os/36508):
>
> at same mac os(Big Sur) and same app with sdk [v5.2.41751.1026](https://github.com/zoom/zoom-sdk-macos/releases/tag/v5.2.41751.1026). the virtual background feature is valid, but today I found it does not work in same zoom account. After upgrade to latest version [v5.2.42037.1112](https://github.com/zoom/zoom-sdk-macos/releases/tag/v5.2.42037.1112) SDK, this issue is still existing. - (BOOL)isVideoFilterEnabled; - (BOOL)isSupportVideoFilter; both of these function return YES. But the same sdk in windows, it works well. we try with Zoom’s client, and found zoom client disable virtual background, enable filter. whether zoom disa…

**Which version?**  
5.4.54528.1230

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 21, 2021, 9:04pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/2 "2021-01-21T21:04:44Z")

</div>

Hi @stalefishlabs, thanks for the post.

Can you please provide some additional context around the issue you are seeing so that we may investigate this further?

- macOS version
- Is this issue through the default UI or are you setting this programmatically?
- Does the device you are using have an M1 chip?

Thanks!

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 21, 2021, 10:16pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/3 "2021-01-21T22:16:51Z")

</div>

Thanks for the help. macOS version is Big Sur 11.1. This is through the default UI (not programmatically) but we are using Zoom in custom UI mode. This is on a Macbook Pro but NOT with M1 chip. I should also add that video virtual backgrounds work fine for me in the normal Zoom app - the same default background settings for adding/choosing videos works in Zoom, not in our Zoom SDK app.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 21, 2021, 10:57pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/4 "2021-01-21T22:57:09Z")

</div>

Hi @stalefishlabs, thanks for the additional info.

If you are modifying the video filter or virtual background settings programmatically, please ensure that your camera input device is recording before changing settings. If the camera is not on, there is no way to update this feature.

Thanks!

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 22, 2021, 4:16am UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/5 "2021-01-22T04:16:28Z")

</div>

This is a screen shot of what happens when selecting a video as a virtual background in our Zoom SDK app. The thumbnail is diagonal gray/black (blank) and the preview above it would show the normal camera with no background (I had it covered here). As a comparison, the same video works fine as a virtual background in the normal Zoom app chosen through the same settings.

 ![Screen Shot 2021-01-21 at 10.11.39 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/3/b3bb59dfe46168b8b773afdf59ec17f7c63dbf78.jpeg)

So it’s possible something’s amiss with the handling of the video file itself since the thumbnail doesn’t render properly…?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 22, 2021, 6:01pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/6 "2021-01-22T18:01:11Z")

</div>

Hi @stalefishlabs, thanks for providing the screenshot.

Strange, this is definitely not something I have encountered before with the SDK. Does this only happen with one specific video or for all video backgrounds?

Is this specific to Big Sur, or is it present on all versions of macOS?

Thanks!

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 22, 2021, 8:24pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/7 "2021-01-22T20:24:09Z")

</div>

I can verify this happens with all videos and on Big Sur, Catalina, and Mojave, so there doesn’t appear to be an OS dependency.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 22, 2021, 9:48pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/8 "2021-01-22T21:48:58Z")

</div>

Hi @stalefishlabs,

Thanks for confirming that. Can you also please let me know if this is specific to one video or if it’s happening for all video backgrounds?

Thanks!

---

<div class="post-metadata">

**Author:** ![rami](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rami/32/22037_2.png) [@rami](https://devforum.zoom.us/u/rami)\
**Post date:** [January 25, 2021, 12:54pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/9 "2021-01-25T12:54:34Z")

</div>

Hi @stalefishlabs, I’m encountering the same issue you had with setting a virtual background image.

I tried adding the Team identifier when initialising the SDK, however that did not help.

The useBGImage calls returns with a 0 error, and if I open the Zoom settings, I can see the background selected, however the video preview appears as if there is no background.

Toggling on Green screen makes the background appear however it does look quite bad with green screen. (The test device supports VB without green screen).

Any thoughts on what could be causing this?

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 25, 2021, 5:08pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/10 "2021-01-25T17:08:53Z")

</div>

It is happening for all video backgrounds.

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [January 25, 2021, 5:11pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/11 "2021-01-25T17:11:41Z")

</div>

@rami somehow setting the team identifier fixed the problem for me, but ONLY for images. I do recall being able to turn on green screen and images sorta working (but weirdly pixellated) before the team identifier change.

Videos still aren’t working for me at all, they always appear blank in the preview and no background.

---

<div class="post-metadata">

**Author:** ![rami](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rami/32/22037_2.png) [@rami](https://devforum.zoom.us/u/rami)\
**Post date:** [January 25, 2021, 5:15pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/12 "2021-01-25T17:15:33Z")

</div>

I’ve just gotten it to work - I needed to use the “Developer ID Application: xxx” key rather than the “Apple Development: xxx” key.

Just tried video - does not work on our test MacBook Pro. Will update if we get it working.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 25, 2021, 6:38pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/13 "2021-01-25T18:38:00Z")

</div>

Hi @stalefishlabs (and welcome to the dev forum @rami!)

I have been trying to reproduce this issue in our sample app, but am able to successfully add and preview video backgrounds through the settings menu. Can you please try to reproduce in our sample app as well to rule out anything that may be causing this from within your dev environment?

Thanks!

---

<div class="post-metadata">

**Author:** ![ami111](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@ami111](https://devforum.zoom.us/u/ami111)\
**Post date:** [February 23, 2021, 5:25pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/14 "2021-02-23T17:25:43Z")

</div>

video filters also not available in Linux

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 23, 2021, 9:39pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/15 "2021-02-23T21:39:33Z")

</div>

Hi @ami111,

This forum is only meant to assist developers who are integrating our SDKs into their own applications. For help with the Zoom client, please see our [general support page](https://support.zoom.us/hc/en-us). 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![amirtal](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amirtal/32/33119_2.png) [@amirtal](https://devforum.zoom.us/u/amirtal)\
**Post date:** [December 6, 2021, 12:25pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/16 "2021-12-06T12:25:04Z")

</div>

but it seems the SDK implementation in you zoom client for mac is also broken.  
thats the official client.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [December 6, 2021, 9:28pm UTC](https://devforum.zoom.us/t/virtual-background-videos-not-working/41217/17 "2021-12-06T21:28:23Z")

</div>

Hi @amirtal, thanks for using Zoom.

If there are issues you are running into with the Zoom client, please use the support link in my previous reply. Additionally we recently launched the [Zoom Community](https://community.zoom.com/), which is a forum similar to this one, but tailored towards Zoom users. 🙂

Thanks!
