# Green Screen

{% hint style="success" %}
GMetri supports Green Screen Effect. All GMetri XR Experiences support applying the green screen effect on virtual reality (VR) videos. You worry about shooting and perfecting those vacation candids, we do the job of heavy processing on it.
{% endhint %}

{% embed url="<https://view.gmetri.com/v5/gmetri/green-screen>" %}
Green Screen Effect
{% endembed %}

To learn how to apply green screen effect to your videos, go to ​[Apply Green Screen to Videos](/guidelines-compatibility/guidelines/workflows/green-screen/apply-green-screen-to-videos.md)

### Description

The use of Green Screens has come a long way in the past decade. Technology that was primarily used in hollywood movies is now being used by everyone, including our favorite youtubers and insta-celebs. Here we'll go through the entire process required to enable green screen effect on your XR experience. Before we dive into how to enrich virtual reality with green screen effect, let's familiarize ourselves with a few key terms.

### Definitions <a href="#definitions" id="definitions"></a>

#### Green Screen <a href="#green-screen" id="green-screen"></a>

Refers to a colored background that you want to remove from your shot. This is usually single colored backdrop that can be of any color. Usually, a bright green color is used because it is the furthest away from a human's skin color. In past times, blue colored screens were also popular. When there is a green colored prop required in the shot, a bright blue colored screen is used instead.

#### Chroma Key <a href="#chroma-key" id="chroma-key"></a>

Goes hand-in-hand with green screen. It is the technique of compositing two images/videos together based on color hues. All colors have a chroma component, hence the name.

#### Keying <a href="#keying" id="keying"></a>

Refers to the process of removing the green screen background from the shot while post processing the shot. The portions of the video which match the pre-selected color are replaced by transparent pixels which can be later filled in with another image or video.

{% hint style="info" %}
Even though webm video format is supported in major browsers, it still suffers from potential failure points.

* The internal spec is shaky. Transparency doesn't work at times on certain devices.
* Encoding a webm video is hassle. Getting the right codec and media settings can be tricky. Encoding a webm video doesn't follow the well known approaches used by designers and VFX artists. It requires special knowledge of ffmpeg and/or blender.
* Safari doesn't support transparency in webm videos!
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gmetri.com/guidelines-compatibility/guidelines/workflows/green-screen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
