FFmpeg API Test

Generates a synthetic green-screen foreground and a gradient background in the browser, sends them to POST /api/preview on the ffmpeg backend (same host, or the deployed fallback if same-origin has none), and shows the chroma-keyed composite that server-side ffmpeg returns.

chroma idle

Foreground (green screen)

orange disc + label on a solid chroma fill

Background

navy → blue gradient (the new backdrop)

Result from ffmpeg

ffmpeg composite output will appear here
— not run yet —
Ready. Click “Run ffmpeg test”.