Green Screen to Transparent WebM: When to Key vs Remove Background

If your clip has a flat green (or other solid) backdrop, you can chroma-key it to alpha (for example with FFmpeg) and encode VP9 WebM yuva420p. If the background is a real room, keying will fail—you need AI background removal that writes a real alpha channel, then export WebM or ProRes 4444. Everyday H.264 MP4 cannot store transparency. ExportAlpha’s AI path handles non-flat backgrounds and downloads WebM (≤60s) or ProRes 4444 (≤8s); it does not export GIF, HEVC-with-alpha, or a public API.

Updated

Spec box

InputMP4 / MOV / WebM / M4V
Flat-color pathKey locally (FFmpeg / editor / OBS) → encode WebM with alpha
Real-background pathAI matting that writes alpha → WebM / ProRes
Default ExportAlpha exportTransparent VP9 WebM (yuva420p), ≤60s
Optional ExportAlpha exportProRes 4444 MOV, ≤8s
Not offeredGIF · animated WebP · PNG sequence · HEVC-with-alpha · public API
Sign-inGoogle
TrialMost new accounts: 5 free credits

Full ≤60s WebM ≈ Quick $6.99

Real room? Remove the background

Flat plates can be keyed locally. A real background needs a matte, then WebM up to 60 seconds.

Google sign-in required · Failed jobs refund credits

Two paths: key vs AI remove

Path 1 — Chroma / color key (flat backdrop). Your background is one even colour: studio green, blue, flat black, or flat white. A keyer sets matching pixels transparent, then you encode VP9 with an alpha pixel format. This is local, fast, and free with FFmpeg when the plate is truly flat.

Path 2 — AI background removal (real scene). Your background is a room, street, messy desk, or uneven lighting. A single key colour will either leave background chunks or eat the subject. You need a matte from AI removal (or rotoscoping in an NLE), then an alpha-capable export.

Both paths end the same way for OBS and the web: a WebM with real alpha, not an H.264 MP4 that still contains green or black fill. What an alpha channel is: What is a video alpha channel?.

Decision table

Your footagePreferWhyNext step
Flat green / blue screen, even lightingChroma key → WebMKeyers are built for thisFFmpeg or editor key, then VP9 yuva420p
Flat black / white graphic plateColorkey → WebMRGB key clears solid fillsSee the convert guide commands
Real room / busy backgroundAI remove → WebM/ProResKey will not holdUpload to a remover that writes alpha
Already ProRes 4444 with alphaEncode onlyDo not key againOptional ProRes → WebM for a lighter OBS file
Everyday H.264 MP4 that looks transparent in a screenshotRebuild alphaMP4 likely baked opaque pixelsDoes MP4 support transparency?

Everyday H.264 MP4 has no alpha

Changing the file extension, uploading to a host, or exporting again as MP4 does not create transparency. If green or black is stored as normal colour pixels, players will show those colours unless something keys or mattes them and the next encode stores alpha. That is why this page’s delivery target is WebM with alpha (or short ProRes 4444), not a “transparent MP4.”

FFmpeg keying overview

The convert MP4 to transparent WebM guide documents these commands, tested on FFmpeg 6.1.1 (October 9, 2026) for synthetic flat plates. This page repeats the same flags. If those commands change, update the convert page first.

Flat green

ffmpeg -i input.mp4 -vf "chromakey=0x00FF00:0.25:0.05,format=yuva420p" -c:v libvpx-vp9 -b:v 0 -crf 30 -auto-alt-ref 0 -an output.webm

Flat black

ffmpeg -i input.mp4 -vf "colorkey=0x000000:0.10:0.05,format=yuva420p" -c:v libvpx-vp9 -b:v 0 -crf 30 -auto-alt-ref 0 -an output.webm

Flat white

ffmpeg -i input.mp4 -vf "colorkey=0xFFFFFF:0.10:0.05,format=yuva420p" -c:v libvpx-vp9 -b:v 0 -crf 30 -auto-alt-ref 0 -an output.webm

Similarity values, the libvpx decoder versus the default vp9 decoder, and spill or hair are covered on the convert page—not by these synthetic plates. Real shoots with spill, compression blocks, or wispy hair often need a similarity retune, or they belong on the AI path instead of endless key tweaking.

OBS: keep alpha WebM, remove leftover Chroma Key

Once you have a true-alpha WebM:

  1. Add it as a Media Source.
  2. Remove any Chroma Key / Colour Key filters left over from the green-MP4 era.
  3. For looping overlays, Loop on; for alerts, Loop off plus Restart when active (stream alerts).
  4. If edges look wrong, try Apply alpha in linear space (OBS guide).
  5. Black box troubleshooting: Why transparent video turns black.

ExportAlpha: AI path for non-flat backgrounds

  1. Sign in with Google at exportalpha.com.
  2. Upload the clip (≤60s, 1080p, about 200 MB — confirm on home and Sources).
  3. Download Transparent WebM (default) or ProRes 4444 if ≤8 seconds and you need an editorial master.
  4. Use WebM in OBS, Chrome, Firefox, and Edge. Safari WebM alpha may show grey rather than holes (WebKit #275908). ExportAlpha does not export HEVC-with-alpha.

Full ≤60s WebM ≈ Quick $6.99

What we don’t export

ExportAlpha does not ship GIF, animated WebP, PNG sequences, HEVC-with-alpha, batch API queues, or real-time virtual camera keying. Other tools that cover those formats are a separate category. This page does not rank them.

NLE handoff

Editors differ on whether they import WebM alpha cleanly. A practical pattern:

  • True alpha handoff into many NLEs: prefer ProRes 4444 when you need an editorial master.
  • OBS / Chrome overlays: prefer WebM with alpha.
  • Consumer timelines such as CapCut: public help content often points people to chroma key on a green MP4 rather than relying on WebM alpha import. Verify in your app version before promising a click path. This page does not invent CapCut, Premiere, or Resolve menu labels.

Frequently Asked Questions

Can I turn green screen MP4 into WebM with alpha without re-shooting?

Yes—if the green (or other key colour) is flat enough to key. Key to alpha, then encode VP9 yuva420p. If lighting is uneven or the green is contaminated, fix the plate or switch to AI removal.

When should I use AI removal instead of chroma key?

When the background is a real room, has gradients, spill you cannot tune out, or colour collision with the subject. Keys assume a controllable solid plate.

Will CapCut, Premiere, or Resolve prefer green MP4 or ProRes with alpha?

It depends on the app. Many consumer timelines still expect green plus chroma key. Editorial apps commonly prefer ProRes 4444 when you need stored alpha. For OBS and web delivery, WebM with alpha is the lightweight target. Verify imports in your version; do not assume WebM alpha works everywhere.

Does ExportAlpha key green screen locally in my browser like FFmpeg?

ExportAlpha's product path on this page is AI background removal that writes alpha, then a WebM or ProRes download. For local FFmpeg key commands on flat plates, use the convert MP4 to transparent WebM guide.

Is there a free trial?

Most new accounts get 5 free credits after Google sign-in. Pack credits never expire.

Next step

  1. Flat plate? Key with FFmpeg or an editor using the convert guide, or upload for AI matting.
  2. Real room? Upload at exportalpha.com and download Transparent WebM.
  3. Out of trial credits? One project ≈ Quick pack $6.99.

Remove a real background

Upload the clip. The download is WebM with alpha, or a short ProRes 4444 master.

Google sign-in required · Failed jobs refund credits

Sources