How to replace a video background
- Add the clip. Drop an MP4, MOV or WebM file with a person in the frame. A line above the options shows its resolution, length and frame rate.
- Choose “New background”. The list has four entries: Blur the original background, Solid colour, Your own image and Chroma green (for editors).
- Set the detail for that mode. Pick a colour, move the “Blur strength” slider, or choose a JPG or PNG under “Background image”.
- Pick the “Model”. Full body — ISNet keeps the whole person. Fast — MODNet is for head-and-shoulders shots.
- Check “Output size”. A smaller frame renders faster.
- Read the estimate. After a few seconds the page shows “About N min on this computer”.
- Press “Remove background”. A progress bar shows the time left. “Stop” cancels the job.
- Download the MP4. The button shows the file size before you save.
What happens to each frame
The browser decodes the video frame by frame. For a frame, the model draws a mask: white where the subject is, black where the background is, grey on soft edges such as hair. The frame is cut out with that mask, drawn over the new background and encoded into an H.264 MP4.
Why the model skips frames
The model is the slow part, so it runs on every 3rd frame. Masks for the frames in between are blended from their two neighbours. When the picture changes noticeably the tool computes a mask sooner, and during fast motion it computes one for every frame. A calm talking head needs the model on about a third of the frames, a lively clip on about two thirds. The line under the result reports both numbers.
Why edges do not shimmer
Each new mask is mixed with the previous one. Pixels that changed a little are averaged, which removes the frame-to-frame flicker along hair and shoulders. Pixels that changed sharply follow the new frame at once, so a moving hand does not leave a trail.
The four backgrounds
Blur the original background
Your own room stays behind you, out of focus, like the blur in a video call but rendered into the file. “Blur strength” goes from 6 to 60 px and starts at 24. Low values soften clutter; high values turn the room into patches of colour.
Solid colour
One flat colour from the picker; it starts as white. White suits product clips, a dark tone suits a talking head.
Your own image
The JPG or PNG is scaled until it fills the frame and is centred, so a picture with a different shape loses its edges. To control what is cut, prepare it at the shape of the video first, for example 1920×1080 for landscape, with the image resizer. The start button stays inactive until an image is chosen.
Chroma green (for editors)
A flat #00FF00 background. This is the route to a moving background: remove the green with the chroma-key effect of your editor and put any footage underneath.
Full body or Fast: the two models
| Full body — ISNet | Fast — MODNet | |
|---|---|---|
| Keeps | Whole person: hair, hands, legs. Also products and pets | Head and shoulders. Loses legs and hands |
| Mask resolution | 1024×1024 | Up to 512 px on the long side |
| Download | 88 MB on a graphics card, 176 MB on the CPU | 26 MB |
| On a graphics card | About 4–10 minutes per minute of video on a laptop, 1–2 on a gaming card | 1–2 minutes per minute of video |
| On the CPU | Hours for a long clip | Several times longer than on a graphics card |
| Licence | Apache 2.0 | Apache 2.0 |
On a desktop or laptop with WebGPU the page starts with Full body on the graphics card. On phones, and on computers without WebGPU, it starts with Fast on the CPU. “Advanced” holds the “Compute” switch if you want to change that.
Output size and what is inside the file
- Sizes. Original, 1080p, 720p and 480p; only sizes smaller than the source are offered. A 4K source is set to 1080p by default, so choose Original to keep 4K.
- Edge detail. The mask is computed at the model resolution and scaled up to the frame. A 4K export takes longer to render but its edges are not sharper than at 1080p.
- Video. MP4 with H.264. The frame rate follows the source, between 10 and 60 fps. The bitrate follows the source too, with a floor of about 5.6 Mbit/s at 1080p and a ceiling of 40 Mbit/s.
- Audio. The original track is copied untouched when its codec fits MP4. Otherwise it is re-encoded to AAC at 160 kbit/s.
- File name. The original name plus
-new-backgroundor-greenscreen.
How long it takes
Before you start, the tool runs the model on 4 frames of your clip and multiplies the result by the length. The estimate is measured again when you change the model, the output size or the compute device.
On a mid-range laptop GPU the full-body model needs roughly 4–10 minutes per minute of video, about 9 on lively footage. A gaming card needs 1–2.
Ways to shorten the wait
- Cut the clip to the part you need with the video cutter before you start.
- Use Fast for a head-and-shoulders shot where the hands stay out of frame.
- Lower “Output size” to 720p for social media drafts.
- Keep the tab open until the job ends.
The one-hour cap
Clips longer than one hour are refused with a message. Split the recording and process the parts separately.
Footage that cuts out cleanly, and footage that does not
| Footage | What to expect |
|---|---|
| Evenly lit person against a plain wall | The cleanest edges |
| Person in a busy room | Good; small errors where clothes match the background |
| Window or lamp behind the person | Flicker along the outline |
| Loose, very fine hair | Small imperfections around the head |
| Dancing, waving, fast camera moves | Slower, because the model runs on every frame |
| Product on a table, a pet | Works with Full body only |
| Empty room at the start, person walks in later | The first mask fails the check; see Troubleshooting |
ISNet cuts out the main subject as a whole. A chair back or a microphone that touches you may stay in the picture.
Keying the green file in an editor
| Editor | Effect to use |
|---|---|
| Premiere Pro | Ultra Key |
| DaVinci Resolve | 3D Keyer |
| Final Cut Pro | Keyer |
| CapCut | Chroma key |
| OBS Studio | Chroma Key filter on the media source |
Set the key colour to #00FF00. The green here is perfectly flat, so a low tolerance is enough. If you wear green, the editor will remove your clothes as well: export with “Solid colour” in pure blue instead and key that colour.
What this tool does not do
- No video as a background inside the tool. Export green and combine the layers in an editor.
- No transparent file. MP4 cannot store transparency.
- No manual correction. There is no brush to fix a mask and no way to pick which person or object to keep.
- No clips over one hour.
- Photos are a different job. For a still picture use the background remover.
How it runs on your device
The model file is downloaded once and kept in the browser cache; later runs skip the download. Decoding and encoding use WebCodecs, which needs Chrome, Edge, Opera or Safari 17+. The video itself is read from your disk and never sent anywhere, which matters for client footage and unreleased material. Large results are written to the private storage of the browser instead of memory.
The first mask from the graphics card is checked. If it is broken, the tool retries the full-body model at full precision, then falls back to the fast model, then to the CPU, and a notice says which path was taken. The line under the result names the device, the model, the frame count and the seconds spent.
Troubleshooting
The estimate says an hour or more
The full-body model is running on the CPU or on weak graphics. Switch to Fast, lower the output size or shorten the clip.
The tool switched to the fast model by itself
Either the graphics card could not run ISNet, or the first frame had no clear subject. Trim the empty lead-in so the clip starts with the person in view, then run it again.
Hands or legs are missing
That is the Fast model: it is trained on portraits. Choose Full body — ISNet.
The outline flickers around hair
Backlight and busy backgrounds cause it. Reshoot with light on the face and a plain wall, or choose the blur background, where small mask errors are hard to see.
The video cannot be decoded
The browser has no decoder for that codec. Export the clip again as MP4 with H.264 from your phone or editor, or open the page in Chrome or Edge.
The file is too large to send
The result is encoded at a high bitrate. Shrink it with the video compressor.