Can I export an MP4 with an alpha channel?

Short answer: not as everyday H.264 MP4. People ask “can I make MP4 but alpha export?” or “can you do alpha on an .mp4 that already has black built in?” — if the black is already baked into the pixels, you cannot recover holes from that file. True transparency needs a format that stores alpha (WebM VP9 with yuva420p, or ProRes 4444 MOV). Apple HEVC-with-alpha is a narrow Safari exception, not universal “MP4 alpha output.”

Skip everyday MP4 if you need transparency

ExportAlpha writes transparent VP9 WebM for Chrome, Firefox, and OBS, or ProRes 4444 MOV for editors. It does not ship HEVC-with-alpha.

5 free credits on first sign-in for most new accounts. Trial stills capped at 5. No card required. Fair-use limits apply.

Why H.264 MP4 doesn't work for transparency

H.264/AVC is the video codec. MP4 is the container. When people say "MP4," they almost always mean H.264 inside an MP4 container.

The H.264 specification includes provisions for auxiliary pictures, but decoding alpha isn't a conformance requirement. Real-world encoders like libx264 don't support yuva pixel formats. This means transparent regions are filled in during export. The file you get has no alpha channel.

Container vs. codec

It's important to understand the distinction:

  • Container (.mp4, .mov): The file wrapper that holds video, audio, and metadata
  • Codec (H.264, HEVC, ProRes): The compression algorithm for video data

QuickTime (.mov) can contain ProRes 4444 with alpha. An MP4 container with H.264 inside typically cannot carry alpha in practice, even though the specification theoretically allows it.

The exception: HEVC-with-alpha

Apple's HEVC Video with Alpha can be stored in MPEG-4 or QuickTime containers. Per Apple WWDC19 session 506: HEVC video with Alpha is supported by Safari in iOS 13 and macOS Catalina. This is a specific Apple implementation. We did not play-test HEVC-alpha. This is not the same as saying "any MP4 can be transparent."

What to use instead

If you need universally transparent video:

  • For Chrome/Firefox/Edge web: VP9 WebM with yuva420p (tested)
  • For Safari web: HEVC-with-alpha — verify it works in your version. Apple documents support from iOS 13 / macOS Catalina (WWDC19 506); we did not play-test HEVC-alpha.
  • For Premiere / Resolve / Final Cut / After Effects: ProRes 4444 MOV — editors import ProRes per vendor docs; Apple states only 4444/XQ carry alpha. See the matrix (docs cells, not our import tests).

Don't export H.264 MP4 if you need transparency. It won't work. If the goal is a smaller file that still has holes in the frame, see compressing a video with an alpha channel—that starts from a file that already has alpha, or from background removal first.

Frequently Asked Questions

Can I export MP4 with alpha?

Not as everyday H.264 MP4. For true alpha, export transparent WebM or ProRes 4444 MOV. “MP4 alpha output” in marketing usually means a different codec (often Apple HEVC-with-alpha), not a normal H.264 download.

Can you do alpha on an MP4 that already has black built in?

No. Black built into the frame is opaque. Re-encoding that MP4 cannot invent transparency. Run background removal on footage that still has a separable subject, then export WebM or ProRes with alpha.

Can MP4 be transparent?

Everyday H.264 MP4 cannot. Typical exporters fill the holes. Apple HEVC-with-alpha is the exception when it is stored in an MP4 or MOV container, and it is not a drop-in replacement for “any MP4.” For Chrome, Firefox, and OBS, use VP9 WebM. For editors, use ProRes 4444.

Can MP4 have a transparent background?

Not if you mean a normal H.264 MP4. A transparent background has to live in a codec that actually stores alpha. Re-encoding an opaque MP4 does not create one. Export WebM or ProRes 4444 after the matte exists, or remove the background first.

Does MP4 support an alpha channel?

H.264 MP4 does not, in the workflows people actually use. An “MP4 with alpha channel” search usually lands on Apple HEVC Video with Alpha—same container family, different codec. Players that ignore that alpha layer show a solid picture. We publish a player-by-player alpha matrix (tested / docs / untested) here: Which video formats support transparency?. Still test your own file in the target app.

Can I convert H.264 MP4 with a black background into a transparent video?

No. Once the video is exported without alpha, the transparent regions are permanently filled. You can't recover transparency from a video that was already composited onto black or white. You need to re-export from the original source with alpha enabled, or run background removal to generate a new matte.

Why does the H.264 spec mention auxiliary pictures?

The specification allows for it, but decoder implementations aren't required to support it. In practice, libx264 (the most common H.264 encoder) doesn't support yuva formats. Specification capability doesn't equal real-world usability.

Will HEVC-with-alpha work outside Safari?

HEVC-with-alpha outside Safari was untested in our matrix (we could not produce a true HEVC-alpha file on Linux). ExportAlpha does not ship HEVC-with-alpha. See the full alpha compatibility matrix.

Sources

Export with real alpha, not everyday MP4

Upload a clip and download transparent WebM or ProRes 4444 — formats that actually store alpha. New accounts get 5 free processing seconds.

5 free credits on first sign-in for most new accounts. Trial stills capped at 5. No card required. Fair-use limits apply.