NSS Background Remover
Cut out backgrounds from GIFs and video, frame by frame
Two tools handle moving images: the GIF background remover works frame by frame with APNG export, and the video background remover runs a recurrent matting engine for flicker-free people cutouts.
Advertisement
Cutting a subject out of a still image is a solved problem. Doing it across hundreds of frames without the edge crawling, flickering, or popping between frames is a considerably harder one, and it is where most background removers stop.
Two tools cover it. The GIF background remover at /gif-background-remover processes frame by frame and exports transparent GIF or APNG. The video background remover at /video-background-remover runs a recurrent matting engine designed for temporal stability. Both were rebuilt in the v2.3.0 release, and both run on your device.
Contents
Two ways to finish
Animated GIF
Frame-by-frame removal, transparent GIF or APNG out.
Video
Recurrent matting for flicker-free people cutouts.
- 1
1. Understand why moving images are harder
A still cutout only has to be right once. An animated one has to be right consistently, and inconsistency reads as flicker — an edge that shifts by two pixels between frames is barely visible in a still and extremely visible in motion.
That is why a per-frame still remover applied naively to video looks bad even when every individual frame looks fine. Temporal stability is a separate problem from edge quality, and it needs a model that carries state between frames.
- Per-frame accuracy and temporal stability are different problems.
- A two-pixel edge wobble is invisible in a still and obvious in motion.
- Recurrent matting carries state between frames to prevent it.
- 2
2. Use the GIF tool for short animated loops
The GIF background remover processes each frame and exports either a transparent GIF or an APNG. Reach for APNG whenever you can: GIF transparency is binary — a pixel is either fully opaque or fully transparent — so soft edges become jagged ones, while APNG carries a real alpha channel.
The trade is support. APNG is widely but not universally supported, so check the destination before committing. Where GIF is required, expect harder edges and choose a subject with a clean silhouette.
Advertisement
- 3
3. Use the video tool for people
The video background remover is tuned for people matting, and the engine is recurrent — it uses information from previous frames to keep the matte stable. That is what produces green-screen results without a green screen.
Being tuned for people is a real constraint rather than marketing. A clip whose subject is a product on a turntable or an animal is outside what the model was built for, and results will be less reliable than they are on a person.
- 4
4. Shoot for the tool where you can
Cutout quality is decided as much by the source as by the model. Even, diffuse lighting on the subject, meaningful separation between subject and background, and a background that is not the same tone as the subject all help more than any setting.
Motion blur is the usual killer. A fast pan or a quick gesture produces frames where the subject boundary genuinely is ambiguous, and no matting model can recover an edge that was not captured.
- 5
5. Compose behind the cutout
Once a clip has a transparent background, the video editor at /video-editor places scene backgrounds behind it, and can do the removal in-editor as well. That is usually the faster path for anything you are going to composite anyway rather than exporting and reimporting.
The video object remover is the related tool for the opposite job: click an object in a clip, have it outlined, and remove, blur, or pixelate it with tracking across frames.
- 6
6. Export deliberately
Transparency in video means WebM — H.264 MP4 has no alpha channel, so exporting a cutout to MP4 flattens it against a background. If you need to keep the transparency, WebM is the format.
If the destination demands MP4, composite the background you want first and export the finished frame rather than expecting to composite later. And as always, everything here runs on your device: the clip is not uploaded.
Temporal stability is the whole game
Prefer APNG over GIF for soft edges, since GIF transparency is binary. The video tool is tuned for people specifically. Light the subject evenly, keep it separated from the background, and avoid motion blur — no model recovers an edge that was never captured. Export to WebM if you need to keep the alpha channel.
Share this tutorial
Advertisement
Frequently asked questions
Quick answers to common questions about this topic.
Why does my GIF cutout have jagged edges?
GIF transparency is binary — a pixel is fully opaque or fully transparent, with nothing in between — so soft edges become hard ones. Export APNG instead where the destination supports it, since APNG carries a real alpha channel.
Why is the video remover tuned for people?
Because temporal stability requires a model that carries state between frames, and the recurrent matting engine was trained for people matting specifically. Products on turntables and animals fall outside what it was built for.
Can I export a transparent MP4?
No. H.264 MP4 has no alpha channel. Export WebM to keep transparency, or composite your background first and export the finished frames.
What ruins a cutout most often?
Motion blur. A fast pan or quick gesture produces frames where the subject boundary genuinely is ambiguous, and no matting model can recover an edge that was not captured.