How to Create Transparent MOV Videos with FFmpeg

This guide provides a straightforward tutorial on how to render MOV video containers with a transparent background (alpha channel) using FFmpeg. You will learn how to use both the Apple ProRes 4444 and PNG video codecs to preserve transparency, enabling you to export high-quality overlays, lower thirds, and motion graphics for use in video editing software like Premiere Pro, DaVinci Resolve, or Final Cut Pro.

Method 1: Exporting with Apple ProRes 4444

Apple ProRes 4444 is the industry standard for transparent video. It offers excellent visual quality, fast rendering, and smooth playback performance in professional editing suites.

To encode a transparent MOV file using the ProRes 4444 codec, use the following FFmpeg command:

ffmpeg -i input_sequence_%04d.png -c:v prores_ks -profile:v 4 -pix_fmt yuva444p10le output.mov

Command Breakdown:


Method 2: Exporting with the PNG Codec

The PNG video codec inside a MOV container stores frames as lossless PNG images. This method guarantees zero compression artifacts, though it results in larger file sizes and heavier CPU usage during playback.

To encode a transparent MOV file using the PNG codec, use this command:

ffmpeg -i input_sequence_%04d.png -c:v png -pix_fmt rgba output.mov

Command Breakdown:


Verifying Transparency

After exporting your file, you can verify that the transparency was preserved correctly. Run the file using FFmpeg’s playback tool, ffplay, with a colored background to see if the alpha channel works:

ffplay -vf "showpalette" output.mov

Alternatively, import the output .mov file into your video editor of choice, place it on a track above a background image, and verify that the background layer is visible beneath your transparent video.