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
| Input | MP4 / MOV / WebM / M4V |
|---|---|
| Flat-color path | Key locally (FFmpeg / editor / OBS) → encode WebM with alpha |
| Real-background path | AI matting that writes alpha → WebM / ProRes |
| Default ExportAlpha export | Transparent VP9 WebM (yuva420p), ≤60s |
| Optional ExportAlpha export | ProRes 4444 MOV, ≤8s |
| Not offered | GIF · animated WebP · PNG sequence · HEVC-with-alpha · public API |
| Sign-in | |
| Trial | Most 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 footage | Prefer | Why | Next step |
|---|---|---|---|
| Flat green / blue screen, even lighting | Chroma key → WebM | Keyers are built for this | FFmpeg or editor key, then VP9 yuva420p |
| Flat black / white graphic plate | Colorkey → WebM | RGB key clears solid fills | See the convert guide commands |
| Real room / busy background | AI remove → WebM/ProRes | Key will not hold | Upload to a remover that writes alpha |
| Already ProRes 4444 with alpha | Encode only | Do not key again | Optional ProRes → WebM for a lighter OBS file |
| Everyday H.264 MP4 that looks transparent in a screenshot | Rebuild alpha | MP4 likely baked opaque pixels | Does 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.webmFlat 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.webmFlat 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.webmSimilarity 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:
- Add it as a Media Source.
- Remove any Chroma Key / Colour Key filters left over from the green-MP4 era.
- For looping overlays, Loop on; for alerts, Loop off plus Restart when active (stream alerts).
- If edges look wrong, try Apply alpha in linear space (OBS guide).
- Black box troubleshooting: Why transparent video turns black.
ExportAlpha: AI path for non-flat backgrounds
- Sign in with Google at exportalpha.com.
- Upload the clip (≤60s, 1080p, about 200 MB — confirm on home and Sources).
- Download Transparent WebM (default) or ProRes 4444 if ≤8 seconds and you need an editorial master.
- 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
- Flat plate? Key with FFmpeg or an editor using the convert guide, or upload for AI matting.
- Real room? Upload at exportalpha.com and download Transparent WebM.
- 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
- ExportAlpha convert guide (FFmpeg 6.1.1 tests): Convert MP4 to transparent WebM
- FFmpeg filters, chromakey and colorkey: ffmpeg-filters.html
- WebKit bug 275908: grey background rather than transparent
- ExportAlpha Sources and Pricing
- OBS Project, Media Sources: Official KB