FFmpeg with Node.js
Build real video-processing workflows in Node.js with the FFmpeg Micro API. No FFmpeg install, no servers, no worker queues. Just fetch and JSON.
Getting Started
Set up your project, get an API key, and make your first authenticated request. No FFmpeg install, no npm package. Just fetch.
Upload Your Video
Move a local file into the API with the presigned upload flow: request a URL, PUT the bytes, confirm. Or skip it and pass a public URL.
Create a Job and Poll for Results
The core lifecycle: submit a transcode job, poll until it completes, and fetch a signed download URL for the output.
Convert Between Formats
Convert between MP4, WebM, and MOV with outputFormat, plus the codec gotcha that makes WebM jobs fail if you skip it.
Extract Audio
Pull an MP3 or WAV audio track out of a video for podcast and transcription workflows using the options array.
Extract Frames and Thumbnails
Grab a still frame at any timestamp to build thumbnails and preview images.
Custom FFmpeg Options and Filters
Go beyond presets: pass raw FFmpeg options to resize, crop, set quality, and add text overlays. Learn which options are allowed.
Merge and Combine Inputs
Send multiple inputs in one job to replace an audio track, or combine separate video and audio files.
Batch Processing at Scale
Process many videos with a concurrency limiter, per-item error isolation, and retry logic that respects rate limits.
Production Patterns
Reliable polling, error handling by failure mode, retries with backoff, and cost control for real workloads.
What You'll Learn
Start with 100 free minutes
Grab an API key and follow along. No credit card required.