Video Background Remover
Person segmentation on every frame without a green screen. Replace the background, fine-tune the edges and export for any editor, all inside your browser.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Open the video
Pick a clip with one or two people.
- 2Wait for the model
The segmenter loads once and the preview shows the result.
- 3Choose a background
Green, blue, colour, picture, blur, transparent or matte.
- 4Refine edges
Adjust threshold, softness, shrink or grow, feather and flicker reduction.
- 5Preview
Press Play preview and scrub to hard frames.
- 6Export
Download MP4, transparent WebM or a PNG sequence ZIP.
About this tool
Removing the background of a photo is easy today, but a video has thousands of frames, and the mask has to be stable from one frame to the next or the edges flicker. This tool runs the MediaPipe selfie segmentation model on every single frame of your video. The model gives each pixel a confidence that it belongs to a person. The tool then refines that confidence into a clean mask: a threshold decides where the edge lies, the softness widens or narrows the transition, shrink or grow moves the edge in or out to remove halos or recover hair, feather smooths it, and flicker reduction blends each mask with the previous one. The person is then placed over your chosen background: a broadcast green or blue screen for keying in another editor, any solid colour, your own picture, a blurred copy of the original, or full transparency. The video never leaves your device, and the model is only a quarter of a megabyte.
Choosing the output
MP4 is the easiest to share and plays everywhere, with the new background baked in. Transparent WebM uses VP8 with an alpha channel, which Chrome, Edge and Firefox play with transparency, handy for web overlays and for editors that read WebM alpha. A PNG sequence in a ZIP has full transparency for every frame and works in every professional editor and in After Effects. The black and white matte exports the mask itself as a video, which compositing programs use as a track matte with the original clip.
Getting clean edges
Start with the defaults and pause on a frame with hair and hands. If a coloured halo surrounds the person, move Shrink or grow slightly toward shrink. If thin hair or fingers disappear, grow a little and reduce the threshold. Feather of 2 to 3 pixels hides stair steps on the edge. Flicker reduction of 30 to 50 percent calms shimmering edges on a still speaker; lower it for fast movement, because a high value makes the mask lag behind.
Speed and quality
Mask detail sets the resolution at which the mask is computed: fast for previews on phones, fine for final exports on a computer. The landscape model is faster on wide shots. The preview processes frames while the video plays and may skip some on slow devices; the export always processes every frame in order.
Limits
The model is trained to separate people from their surroundings, usually one or two people close to the camera, as in webcam and vlog shots. It does not cut out objects, animals or people far away, and it can confuse a chair or desk with the person. Fast motion blur and backgrounds similar in colour to clothing reduce quality. Transparent WebM is encoded with ffmpeg.wasm, which is slow and limited to 1,800 frames here, and PNG sequences are limited to 900 frames to stay within browser memory. This is not a replacement for a real green screen shoot when you need perfect hair detail.
Worked example
A 25 second webcam clip at 1280 by 720 and 30 fps has 750 frames. With Balanced mask detail, threshold 0.5, softness 0.2, shrink 0.03, feather 2 px and flicker reduction 40 percent, the export to MP4 over a photo of an office takes about 50 seconds on a laptop. The same settings exported as transparent WebM give a 1280 by 720 VP8 file with alpha.
Quick facts
- Category: Audio, Video & Design
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Google MediaPipe Image Segmenter documentation
Frequently asked questions
Do I need a green screen?
No. The model finds the person in ordinary footage; a plain background still helps quality.
Is my video uploaded?
No. Segmentation and encoding run in your browser.
Why does MP4 not offer transparency?
The MP4 format used here has no alpha channel. Choose transparent WebM or a PNG sequence.
Can it remove the background behind a product?
No, the model only recognises people. Use a photo background remover for still product shots.
Why do the edges flicker?
Raise flicker reduction a little and add 2 to 3 px of feather.
Can I key the green screen elsewhere?
Yes. Export with Green screen and use any chroma key in your editor, or use the matte.
