Why H.264 MP4 has no alpha
A video stores colour for every pixel. Transparency needs a fourth value per pixel—the alpha channel—saying how opaque that pixel is. The H.264 profiles used in everyday MP4 files have no place for it, so an exporter must fill the empty area with something: usually black, sometimes green or white.
That fill is baked into the pixels. No player or converter can turn it back into transparency, because the information about which pixels were empty is gone.
Formats that do keep alpha
- WebM with VP9 alpha — small files for websites and OBS. Plays transparently in Chrome, Firefox and Edge.
- ProRes 4444 (MOV) — large editing masters for Premiere Pro, After Effects, DaVinci Resolve and Final Cut Pro.
- HEVC with alpha (MOV/MP4) — an alpha-capable HEVC variant used in compatible Apple playback workflows.
- PNG sequence — one image per frame, for game engines and animation tools.
Note the last one: an MP4 container can hold HEVC with alpha, but only when it was encoded that way. Renaming a file never adds transparency.
The four formats side by side
| Format | Alpha | Typical use | Transparent in | Size character |
|---|---|---|---|---|
| WebM (VP9 alpha) | Yes | Websites, OBS overlays | Chrome, Firefox, Edge | Small — a web delivery codec |
| ProRes 4444 (MOV) | Yes | Editing masters | Editors, not browsers | Large — about 12 MB per second at 1080p |
| HEVC with alpha (MOV/MP4) | Yes | Safari and iOS delivery | Safari, Apple apps | Delivery codec — verify the encoder and destination |
| PNG sequence | Yes | Game engines, animation tools | As images, not video | One file per frame |
No single row covers everything. That is normal: the usual shape of a transparent-video workflow is one editing master plus one web file, plus an Apple variant if Safari matters to you.
Already have a transparent HEVC MP4?
You can convert supported SDR HEVC alpha MOV/MP4 files to transparent WebM or ProRes 4444 here. Those are the output formats: the converters do not generate transparent MP4 or HEVC. A base-layer report of yuv420p does not rule out an HEVC alpha layer. See why HEVC alpha can disappear after conversion.
Why exporters offer MP4 anyway
MP4 is the universal delivery format: every phone, camera, editor and social platform writes or accepts it, and every player decodes it. Alpha is the rare requirement — most video is watched full-frame, so most exporters optimise for compatibility and size instead.
The friction only appears when a video has to sit on top of other content. That is the moment to leave the MP4 pipeline and pick one of the four alpha formats above — or to deliver MP4 against a green background and key it at the destination, with the quality costs that brings.
How to check whether a file really has alpha
With FFmpeg, look at the pixel format and, for WebM, the alpha tag:
ffprobe -v error -show_entries stream=codec_name,pix_fmt:stream_tags=alpha_mode -of compact input.webm
ProRes with alpha reports a pixel format starting with yuva. A transparent WebM is trickier: FFprobe shows its pixel format as plain yuv420p, because the alpha is stored separately—the sign to look for is the tag ALPHA_MODE=1. Then look at a frame: decoding a WebM needs -c:v libvpx-vp9 before -i, or FFmpeg’s default decoder silently drops the alpha.
ffmpeg -c:v libvpx-vp9 -i input.webm -vf alphaextract -frames:v 1 alpha.png
In alpha.png, white is opaque and black is transparent. A completely white image means there is no usable transparency.
The green-screen workaround
There is one legitimate way to ship "transparent" footage as ordinary MP4: export it with a solid green background and key the green out at the destination. That is the chroma-key workflow every studio knows — OBS has a chroma key filter, and every editor has one too.
It works, with two costs. Hard edges: keying cannot recover the soft, semi-transparent pixels around hair that a real alpha channel stores. Spill: green light reflecting off the subject tints the pixels you keep, which is why dedicated green-screen setups light the background separately from the person. A 1-second test of an AI cutout against a chroma key shows both costs at the edges.
So MP4-plus-green is reasonable when the destination only accepts MP4 and re-encodes anyway. For overlays, stingers and anything composited in an editor, a real alpha format beats a key every time.
Already have a black-background MP4?
Then the transparency was lost at export. Either export again from the original project as WebM or ProRes 4444, or remove the background from the footage with AI: our video background remover produces a transparent WebM, and a free ProRes 4444 export for editors.
Common questions
Can I add transparency to an MP4 after exporting it?+
No. Once exported, the empty area has been filled with real pixels — black, green or white — and the information about which pixels were transparent is gone. Re-export from the source project in an alpha format, or remove the background again from the footage.
Is there any MP4 file with transparency?+
An MOV or MP4 container can hold HEVC with alpha if it was encoded with an alpha-capable workflow. Ordinary H.264 exports have no alpha. The extension and HEVC base-layer pixel format alone cannot establish transparency; verify actual decoded alpha.
Why does my video show a green background?+
The exporter filled the transparent area with green so the destination can chroma-key it away. If nothing keys it, you see the fill colour. That is a deliberate export mode, not corruption.
Which transparent format has the smallest files?+
WebM with VP9 alpha. It is a web delivery codec built for transfer size, while ProRes 4444, an editing master, measured about 12 MB per second at 1080p in our converter tests. Use WebM for sites and OBS; keep ProRes for the editing timeline.