Transparent video field notes
Can MP4 Have a Transparent Background? What to Export for a Website Instead
Understand why ordinary MP4 exports lose transparency, choose an alpha-aware delivery, and validate the file separately from website playback.

An ordinary H.264 MP4 export is not a reliable way to deliver a transparent background: it usually flattens transparent areas into an opaque color. But “MP4 can never be transparent” is an oversimplified answer because the container, encoding, alpha information, and playback environment are different parts of the problem. For a website, choose a delivery designed for transparency and validate it in the actual page. For editing, use an alpha-capable master with the export settings your editor requires. First determine whether your file lost its alpha or whether the player simply cannot display it; those failures need different fixes.
Start with the destination, not the extension
The useful question is not just “Which file looks transparent in my editor?” It is “What must the next person or system do with this asset?” A designer placing a moving subject over a landing page has different needs from an editor adding that subject to another video. An email attachment, a website embed, and an editing master are not interchangeable deliverables.
Write a one-sentence handoff before exporting: “This clip must remain transparent over the client's published page,” or “This clip will be composited into a finished video.” Include the intended page or editing application. If the client actually wants a finished rectangular video, you can deliberately composite the subject over the final background and deliver an ordinary MP4. In that case, transparency is an intermediate requirement, not the final file requirement.
For website delivery, start with the Transparent WebM guide and the AlphaPublish compatibility page. These address delivery and review; neither should be interpreted as proof that any file with a familiar extension will work in every browser.
Four different things that people call transparency
The file extension identifies a container, which organizes media. The encoding determines how the pictures are represented. Alpha information describes opacity around and within the subject. Finally, a player has to decode that information and composite the result over the surface behind it. Success at one layer does not establish success at the others.
A black rectangle can therefore mean two very different things. The exported pictures might contain an actual black background, so there is no transparency left to display. Alternatively, the file might retain transparency but the viewer could display those areas against black or fail to composite them. Renaming the file does not resolve either cause.
Do not use a generic “video supported” badge as an alpha compatibility check. A browser can play the color pictures while failing the transparency requirement. The MDN web video codec guide distinguishes decoding support from alpha support. Its browser notes are documentation, not a replacement for a test of your current destination.
Why the usual MP4 export turns the background black
A common distribution preset prioritizes a small, widely playable finished video. If you send a transparent composition through a normal opaque export, the editor has to produce ordinary color pictures. The transparent area is then filled or composited against something. The result might be black, white, or another chosen background.
Returning that export to the timeline is an important checkpoint. Put it above a contrasting solid layer and inspect the regions outside the subject. If that background remains visibly baked into the imported clip, changing the website's background color will not bring the missing alpha back. Return to the original composition or another source that still retains the mask.
Avoid treating every unusual “transparent MP4” example as a universal export recipe. Apple documents an HEVC video-with-alpha workflow for compatible media and playback. That does not mean a standard H.264 export automatically contains alpha, or that an arbitrary player will display it correctly. This guide does not claim a newly tested MP4 alpha combination for your browser.
Choose the deliverable using this decision table
| What you need | Practical delivery direction | Acceptance check |
|---|---|---|
| A finished video with its final background | Deliberately composite and export ordinary MP4 | The final background and subject look correct together |
| A transparent asset for another editing timeline | Alpha-capable editing master, with alpha export enabled | Reimport above contrasting layers in the receiving editor |
| A transparent moving subject on a website | Alpha-aware web delivery and an appropriate player or embed | Test the public page, transparency, loading, and fallback separately |
| A reliable still when motion cannot run | A genuinely transparent poster | It remains readable and correctly positioned without playback |
This is a workflow table, not a browser support matrix. It intentionally avoids promising that a particular extension satisfies all four destinations. Keep separate names for the source, the editing master, and the web delivery so that a client does not accidentally replace a working embed with a large editing file.
Ask the recipient what they accept before producing the final master. “MOV” alone is not a sufficiently precise editing handoff: an opaque export in that container still fails the task. Likewise, “WebM” alone does not certify alpha or website compatibility. Agree on what the asset must do, and use a small representative sample to validate the handoff before rendering a longer animation.
A five-step export and validation checklist
1. Confirm that the source actually contains transparent areas
Open the original project and temporarily place a solid color behind the subject. Change that color. Areas outside the subject should reveal the changed layer; fine edges should remain plausible. Look for hidden background layers, precompositions that already contain a fill, and an imported clip whose background was never removed.
A transparency-grid preview is only a viewing aid. If the grid was recorded, screenshotted, or rendered into the pictures, it is not an alpha channel. Test the actual project or source file rather than trusting a thumbnail. Keep the original source and project while you investigate so that each test is reversible.
2. Select an alpha-capable output and include alpha in the export
In an editor, confirm both the format choice and the channels setting. They are separate decisions. For example, Adobe's After Effects rendering documentation describes RGB+Alpha output. Do not assume a channels selection survives a move to a different export application or queue; review the receiving application's settings too.
For an editing handoff, ProRes 4444 is a documented option in appropriate workflows. Adobe Express's transparent-video documentation, checked on October 4, 2026, describes its current ProRes 4444 import support. That is an application-specific statement, not a recommendation to deliver the same large editing file directly to website visitors.
3. Reimport the exported sample before blaming the website
Import the sample into a suitable editing or compositing environment and place it above two clearly different background colors. Inspect more than the first frame: moving fingers, hair, soft shadows, motion blur, and fades can expose failures that a static preview hides.
Record the sample filename and the exact settings used. If one version passes and another fails, change one setting at a time. Repeatedly converting an already flattened export makes the investigation less clear and cannot recover the original mask simply by changing containers.
4. Test the real delivery in the published page
Only after the file-level checkpoint passes should you inspect the website. Confirm that the page requests the intended asset rather than an old upload or a flattened preview. Check the actual published URL, not only the builder's editor. A preview canvas and a live embed can follow different loading and composition paths.
Use a short test record with the page URL, asset version, device, operating system, browser version, and date. Evaluate transparency independently from whether the clip starts playing. A paused transparent poster and a moving transparent clip are different acceptance results. This article supplies the test method; it does not claim that we ran your file on a real iPhone or certify a current Safari version.
5. Approve loading and fallback, not just the best frame
Reload the page, switch between sections, and inspect the beginning and end of the animation. The subject should not briefly sit inside a dark rectangle while the delivery initializes. Verify the intended fallback when motion is unavailable, and make sure the layout still leaves readable space for headings and calls to action.
If the animation carries essential information, keep that information available outside the moving asset as well. A transparent video should enhance the page rather than become the only way a visitor can understand the offer. Save the approved version and test record together so future replacements have a concrete standard to meet.
If the file passes but the page still looks wrong
Investigate delivery rather than rebuilding the subject immediately. Is the page loading the same file you reimported? Is an optimization service transcoding it into an opaque output? Is a cached version being served? Is the dark area part of a poster, a player container, or the video pictures themselves? Those possibilities lead to different next actions.
Temporarily compare the asset in a minimal page and in the final design. If only the final design fails, inspect the surrounding layers and embed configuration. If both fail but the editing checkpoint passes, the player or encoding path deserves closer review. Do not hide a broken file behind a matching black page surface and call it transparent; the failure will return when the design changes.
For AlphaPublish's delivery workflow, review hosted transparent video and the help page. Keep a concise report with the public page and asset reference. Avoid sending account credentials or sensitive raw footage through a public bug report.
When background removal is actually needed
If your original video never had transparency, exporting an alpha-capable file is not enough. Something must establish which regions belong to the subject. That might come from an existing animation mask, a compositing project, or background removal. This is different from preserving alpha that already exists.
AlphaPublish combines short-video background removal with result review and web delivery. Use the current workflow guide to understand the available preview, download, and hosting choices. A normal MP4 source can be an input to that workflow, but it is not evidence that the input was transparent. Review the resulting edges and movement before choosing a delivery.
The service is not a universal converter for every arbitrary transparent file, and automated removal is not manual frame-by-frame visual effects. Difficult hair, blurred motion, partial subjects, and complex backgrounds require particular care. Do not promise a client a perfect cutout before reviewing a representative source segment. The product's displayed eligibility and limits take precedence over an example in a blog.
Limits and review notes
This guide was checked against primary documentation on October 4, 2026. It explains ordinary export failures and a practical acceptance process. It does not provide a device-tested browser matrix, certify undocumented MP4 combinations, or guarantee that every builder preserves alpha during upload and optimization.
An alpha-bearing file, a correctly compositing player, a working page embed, and permission to autoplay are four separate requirements. Passing one does not establish the others. Browser and platform behavior can change, so record versions and revisit a critical campaign after a browser update or site redesign.
Do not mistake a format conversion for proof of improved edge quality. It can preserve existing information when correctly configured, but it cannot recreate missing source detail or establish permissions to use the subject. Confirm the rights to process and publish the source, and keep a fallback appropriate to the page.
Frequently asked questions
Can I just rename an MP4 to MOV or WebM?
No. Renaming changes a filename, not the encoded pictures or alpha information. Use an appropriate export from a source that retains transparency, then validate the resulting file. If the original export already baked in black, a new extension does not restore the mask.
Does removing a black background restore the original alpha?
Not necessarily. Removing a color creates a new selection problem, especially when the subject contains that color or has soft edges. Return to the original transparent project when available. Treat background removal on a flattened source as a new processing step whose result needs review.
Why does a supposedly transparent file look black in a viewer?
The viewer may display transparent areas against black, or the file may actually be opaque. Test it above contrasting layers in a compatible compositing environment before deciding. A screenshot from a standalone viewer cannot distinguish those cases reliably.
Should I use the editing master as my website video?
Not automatically. Editing delivery prioritizes interchange and compositing, whereas web delivery also needs loading performance, appropriate playback, layout, and fallback. Keep the master and website asset separate. Review the destination's requirements rather than treating a successful timeline import as a website acceptance test.
Does this checklist guarantee autoplay on a phone?
No. Playback policy is separate from file transparency. A valid alpha file can remain paused, and an opaque file can autoplay perfectly. Test the intended behavior on the published page and preserve a usable poster or page alternative when animation cannot run.
Choose the next step
If your source already has alpha, validate the export and handoff before changing the creative work. If it has an ordinary background, try a representative short segment through AlphaPublish's preview workflow, inspect the actual cutout, and decide whether you need a web delivery or an editing export. Keep review ahead of publishing; a familiar extension is not the acceptance criterion.