Skip to content
FramesField
SKILL.md Beginner Setup (1 Command) SKILL.md
Verified Dec 1, 2026

FFmpeg Transparent WebM & ProRes 4444 Overlay Skill

How to install this SKILL.md

Install into .claude/skills/, .cursor/skills/, or .agents/skills/ whenever you need transparent animated logo stings, lower-thirds, or HUD overlays that drop cleanly over video or web pages.

Executable SKILL.md playbook teaching Claude Code, Cursor, and Codex how to encode transparent RGBA PNG frame sequences (from Remotion, Figma, or Blender) into true alpha-channel ProRes 4444 (.mov, yuva444p10le) for DaVinci/Premiere and WebM VP9 (.webm, yuva420p, -auto-alt-ref 0) for browsers and OBS—verified via ffprobe.

Compatible agent hosts
Claude Code Cursor Codex
Target tool: FFmpeg CLI / Remotion / DaVinci Resolve / OBS · License: MIT
  1. STEP 01
    Install pure SKILL.md from /raw/skills/

    Choose Claude Code, Cursor, or Codex below to drop the verified skill into your workspace.

  2. STEP 02
    Point agent to your RGBA PNG sequence + optional WAV SFX

    Supply transparent PNG frames (frame_%04d.png) rendered from Remotion, Figma Motion, or Blender.

  3. STEP 03
    Verify alpha pixel formats automatically with ffprobe

    Agent encodes ProRes 4444 (yuva444p10le) and WebM VP9 (yuva420p) and verifies neither export lost its alpha channel.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (SKILL.md) ↓
Claude Code bash
Installs pure SKILL.md bytes directly into Claude Code:
mkdir -p .claude/skills/ffmpeg-alpha-overlays
curl -fsSL https://framesfield.com/raw/skills/ffmpeg-transparent-webm-prores4444-overlay-skill \
  -o .claude/skills/ffmpeg-alpha-overlays/SKILL.md

2. Inspect or download the full SKILL.md file

This is the exact raw file served at /raw/skills/ffmpeg-transparent-webm-prores4444-overlay-skill.

FFmpeg Transparent WebM & ProRes 4444 Overlay Skill SKILL.md
---
name: ffmpeg-alpha-overlays
description: Encode transparent RGBA PNG sequences (and optional 48 kHz SFX audio) into true alpha-channel Apple ProRes 4444 (.mov, yuva444p10le) for DaVinci Resolve/Premiere/Final Cut and WebM VP9 (.webm, yuva420p with -auto-alt-ref 0) for Chrome, Firefox, and OBS, verified via ffprobe. Use when exporting animated logo stings, lower-thirds, or transparent UI overlays.
---

# FFmpeg Transparent WebM & ProRes 4444 Overlay Playbook

## 1. Verify Input Frames Actually Contain an Alpha Channel
Never encode before checking that source PNGs are `rgba` (not opaque `rgb24`):
```bash
ffprobe -v error -select_streams v:0 -show_entries stream=pix_fmt,width,height -of compact=p=0 frames/frame_0001.png
```
Must report `pix_fmt=rgba` (or `rgba64be`). If `rgb24`, stop and tell the user to re-render with transparent background enabled.

## 2. Encode Editing-Bay Master (Apple ProRes 4444 `.mov`)
Universal NLE master for DaVinci Resolve, Premiere Pro, After Effects, and Final Cut Pro:
```bash
ffmpeg -y -framerate "${FPS:-30}" -i frames/frame_%04d.png -i sfx_48k.wav \
  -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le -alpha_bits 16 \
  -c:a pcm_s16le -ar 48000 -shortest \
  overlay_alpha_prores4444.mov
```
*(Omit `-i sfx_48k.wav -c:a pcm_s16le -ar 48000 -shortest` and add `-an` for silent overlays.)*

## 3. Encode Web & OBS Overlay (WebM VP9 `.webm`)
CRITICAL: Always include `-auto-alt-ref 0` alongside `-pix_fmt yuva420p` so `libvpx-vp9` preserves the separate alpha channel cleanly across browsers and OBS:
```bash
ffmpeg -y -framerate "${FPS:-30}" -i frames/frame_%04d.png -i sfx_48k.wav \
  -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 2M -auto-alt-ref 0 \
  -c:a libopus -b:a 128k -shortest \
  overlay_alpha_web.webm
```

## 4. Mandatory ffprobe Alpha Verification Gate
Always inspect BOTH output files before finishing (note that `ffprobe` needs `-c:v libvpx-vp9` to expose VP9's `yuva420p` alpha channel plus Matroska `alpha_mode=1`):
```bash
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,pix_fmt -of compact=p=0 overlay_alpha_prores4444.mov
ffprobe -v error -c:v libvpx-vp9 -select_streams v:0 -show_entries stream=codec_name,pix_fmt:stream_tags=alpha_mode -of compact=p=0 overlay_alpha_web.webm
```
Expected results:
- `.mov`: `codec_name=prores|pix_fmt=yuva444p12le` (or `yuva444p10le`)
- `.webm`: `codec_name=vp9|pix_fmt=yuva420p|tag:alpha_mode=1`
*(Note: Safari `<video>` elements require HEVC with alpha inside `.mov` for transparent web playback; mention this explicitly if the user targets iOS Safari web overlays.)*

3. Test it right away (sample prompt & result)

Sample prompt / input
Encode our 90 transparent RGBA PNG logo frames in ./frames/ at 30fps with sonic_logo_48k.wav into both ProRes 4444 (.mov) for our DaVinci Resolve editor and WebM VP9 (.webm) for our landing page, and verify alpha channels.
What happens when it runs
Verified frames/frame_0001.png -> rgba 1920x1080.
Encoded overlay_alpha_prores4444.mov (prores | yuva444p10le) and overlay_alpha_web.webm (vp9 | yuva420p).

What you need & known limits

Requirements

  • FFmpeg 6+ built with prores_ks, libvpx-vp9, and libopus (standard in Homebrew FFmpeg)
  • Numbered transparent RGBA PNG sequence (frame_0001.png...) rendered from Remotion, Figma Motion, or Blender

Watch out for

  • Standard H.264 .mp4 never carries an alpha channel—always ship ProRes 4444 (.mov) for NLEs and WebM VP9 (.webm) for web/OBS
  • iOS Safari does not play VP9 alpha natively; serve a stacked <source> fallback or Lottie/CSS SVG animation for iOS web overlays

Zero black-box accidents on animated logo stings and lower-thirds

Almost every developer or editor shipping their first transparent overlay hits the exact same two FFmpeg traps: exporting H.264 .mp4 (which silently flattens transparency to solid black) or omitting -auto-alt-ref 0 on WebM VP9. This skill codifies locally verified, ffprobe-gated alpha encoding for both NLE editing bays and modern web/OBS overlays—built to pair directly with our Static SVG Logo to Animated Brand Sting & Transparent Alpha Overlay workflow.

Frequently Asked Questions

Why did my WebM video lose transparency in Chrome even though I passed yuva420p?
Missing -auto-alt-ref 0 is the #1 culprit. When libvpx-vp9 inserts alternate reference frames, browsers often discard the alpha plane and render a solid black background.
Why use prores_ks instead of standard prores in FFmpeg?
FFmpeg's prores_ks encoder supports -profile:v 4444 with 16-bit alpha (-alpha_bits 16, yuva444p10le), which imports directly with lossless transparency across DaVinci Resolve, Premiere Pro, and Final Cut.
Use this page in AI tools or notes
raw .md