Short answer: export to a format that stores alpha — WebM (VP9) for the web and OBS, ProRes 4444 for editing, HEVC with alpha for Safari — never H.264 MP4 or ProRes 422. If the file is already in one of those, open it in the free transparency checker: a checkerboard behind the subject means the file is fine and the player is the problem.

What the black actually is

A transparent pixel still stores a colour; the alpha channel just tells the player not to show it. When the alpha disappears, that hidden colour becomes visible. Most exporters write black into fully transparent pixels — and every file with premultiplied alpha stores black there by definition — so the hidden colour is usually black.

We checked this directly. From the same moving test clip we made two sources whose transparent pixels held different colours, then exported both to H.264 MP4, which has no alpha:

SourceColour stored in transparent pixelsWhat the MP4 shows there
Straight alphaRGB 255, 120, 40 (orange)RGB 254, 119, 38 — orange
Premultiplied alphaRGB 0, 0, 0RGB 0, 0, 0 — black

So a black background is not something the exporter added. It is what was always underneath the transparency. That is also why some broken exports come out green or white instead of black: the transparent pixels simply held a different colour.

Which of three problems you have

  1. The file never had alpha. It was exported to a codec that cannot store transparency. Moving it onto another layer keeps the black rectangle, in every app.
  2. The alpha was dropped on decode. The file is fine, but the tool reading it used a decoder that ignores the alpha. Very common with WebM, including in FFmpeg itself.
  3. The player does not composite alpha. Standalone players often draw transparent pixels over black. The file is fine; the preview is misleading.

The fastest way to separate them: put the clip on top of a brightly coloured layer in an editor that supports alpha. If the colour shows through, it is problem 3 and nothing needs re-exporting. If black remains, check the file itself with the commands below.

Check the file in one command

For ProRes and other MOV files, the pixel format tells you. A format starting with yuva, rgba or argb has alpha; yuv422p10le or yuv444p10le does not:

ffprobe -v error -show_entries stream=codec_name,pix_fmt -of compact input.mov

WebM is the trap. FFprobe reports a transparent VP9 WebM as plain yuv420p, because VP9 stores the alpha as a separate stream of side data. Look for the tag ALPHA_MODE=1 instead:

ffprobe -v error -show_entries stream=pix_fmt:stream_tags=alpha_mode -of compact input.webm

To see the alpha itself, extract it from one frame. The -c:v libvpx-vp9 before -i is essential — see the next section:

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. An all-white image means the file has no usable transparency. Prefer not to use a terminal? The transparency checker runs the same test in your browser.

The decoder that silently drops alpha

FFmpeg ships two VP9 decoders. The built-in one is the default, and it ignores the alpha stream. We decoded the same transparent WebM both ways and measured the average opacity of one frame (0 = fully transparent, 255 = fully opaque; the source frame measured 34.9):

How the WebM was readAverage alphaResult
ffmpeg -c:v libvpx-vp9 -i input.webm …34.9Transparency intact
ffmpeg -i input.webm … (default decoder)255Fully opaque — black background

This catches people converting WebM to ProRes, to a PNG sequence or to another WebM: the output looks black even though the input was fine. Any FFmpeg command that reads a transparent WebM needs -c:v libvpx-vp9 before -i. Tools built on FFmpeg inherit the same behaviour unless they set it.

HEVC alpha lost during conversion

A HEVC-with-alpha MOV can contain a valid auxiliary layer even if a tool reports the colour stream as yuv420p. Older decoder paths may expose only colour; forcing an RGBA format can then create a useless opaque plane. The current converter reads supported SDR HEVC alpha, handles declared premultiplied colour and checks decoded transparency. Start with the HEVC alpha-loss checklist or choose HEVC alpha → WebM. Some older variants remain unsupported.

Where it turns black, app by app

WhereUsual causeFix
Premiere Pro exportH.264 or another codec without alphaExport QuickTime with Apple ProRes 4444 — alpha is included automatically when the sequence has transparency; convert it to WebM for the web
After Effects renderOutput module set to RGB onlyIn the output module choose a format with alpha (ProRes 4444) and set Channels to RGB + Alpha
DaVinci Resolve deliverAlpha export not enabledRender QuickTime ProRes 4444 with Export Alpha turned on
OBS media sourceThe file is H.264 MP4, or it never had alphaUse a VP9 WebM with alpha; check it with the transparency checker first
Chrome, Firefox, EdgeAn MP4 or a WebM without alphaServe VP9 WebM with alpha
SafariSafari does not display VP9 alphaServe HEVC with alpha to Safari — see transparent video in Safari
VLC and other standalone playersTransparent pixels drawn over blackNothing to fix; test in an editor or browser instead
FFmpeg conversionsDefault VP9 decoder ignores alphaAdd -c:v libvpx-vp9 before -i

Exporting from Premiere Pro or After Effects step by step: see Premiere Pro and After Effects.

Formats that keep alpha — tested

We exported the same two-second 640×360 clip with alpha to five formats and measured whether one frame kept its transparency:

ExportAlpha kept?File size
H.264 MP4No (255)3.5 KB
ProRes 422 HQNo (255)197 KB
ProRes 4444Yes (34.9)2.0 MB
VP9 WebMYes (34.9)7.7 KB
VP8 WebMYes (34.9)—

ProRes 422 is the one that surprises people: it is a professional codec, but only ProRes 4444 and 4444 XQ carry alpha. Our ProRes 4444 guide covers the export settings, and output formats compares all of them.

Dark edges, not a black box

If the background is transparent but the edges look grimy — a dark halo around hair or a soft shadow — the alpha is there but is being read the wrong way. Premultiplied alpha already has the colour darkened by the opacity; read it as straight alpha and it gets darkened a second time.

We composited one edge pixel at about 50% opacity over white. Read correctly it came out RGB 255, 182, 139. The same premultiplied pixel read as straight alpha came out RGB 192, 152, 129 — its red channel a quarter darker. The fix is to tell the app which kind of alpha the file has (in After Effects: Interpret Footage, Alpha), not to re-export.

Do you need -auto-alt-ref 0?

Many guides insist on it for transparent WebM. In our tests with FFmpeg 6.1.1 and libvpx 1.14 it only mattered for VP8: a VP8 encode with alternate reference frames turned on failed and wrote nothing. For VP9 the alpha came through intact with and without the flag, in single-pass CRF and in two-pass encoding — FFmpeg documents the option as two-pass only. Keeping it does no harm, but a VP9 WebM that turns out black has a different cause, usually one of the decoder or export problems above.

How we tested

November 7, 2026, FFmpeg 6.1.1 with libvpx 1.14 on Ubuntu. The source was a generated 640×360, 30 fps, two-second clip: an orange disc with a 20-pixel soft edge moving over full transparency, stored as PNG frames with alpha. For each output we decoded frame 15, extracted the alpha and measured its average (0–255).

Already have a black-background video?

If the alpha was lost at export, it cannot be recovered from that file — export again from the project in one of the formats above. If the project is gone, or the clip was never shot for transparency, remove the background with AI: it outputs a transparent WebM, and the free WebM to ProRes 4444 converter turns that into an editing master.

Common questions

Why does my transparent WebM look black in FFmpeg?+

FFmpeg's default VP9 decoder ignores the alpha stream. Put -c:v libvpx-vp9 before -i in any command that reads a transparent WebM. In our test the same file read 255 (opaque) with the default decoder and 34.9 (mostly transparent) with libvpx-vp9.

Why is my video black in VLC but fine in my editor?+

Many standalone players, VLC among them, draw transparent pixels over black. If the clip shows the layer underneath in your editor, the file is fine and needs no re-export.

Can I make a black-background MP4 transparent again?+

Not from the MP4 alone: the alpha channel is gone and the transparent area is now ordinary black pixels. Re-export from the source project, or remove the background from the footage with AI.

Does ProRes 422 support transparency?+

No. Only ProRes 4444 and ProRes 4444 XQ carry an alpha channel. In our test a ProRes 422 HQ export came out fully opaque while ProRes 4444 kept the transparency.

Why are only the edges of my cutout dark?+

The alpha is being read as the wrong type. Premultiplied alpha read as straight darkens semi-transparent pixels a second time; in our test a 50% edge pixel lost about a quarter of its red channel. Set the alpha interpretation in your editor.

Why does ffprobe say my transparent WebM is yuv420p?+

VP9 keeps the alpha in a separate stream, so the main pixel format reads yuv420p even when transparency is present. Check for the stream tag ALPHA_MODE=1, or extract a frame's alpha with the libvpx-vp9 decoder.