FFmpeg Transcoding API
The FFmpeg API allows you to submit video and audio transcoding tasks to be processed in the cloud using FFmpeg.Features
- Asynchronous Processing: Submit tasks and poll for results
- Full FFmpeg Support: Use any FFmpeg command
- Multiple Outputs: Generate multiple output files from a single input
- Progress Tracking: Monitor task progress in real-time
- Webhook Notifications: Get notified when tasks complete
- Metadata Extraction: Optionally get ffprobe metadata for outputs
Authentication
All API requests require Bearer token authentication:Base URL
Quick Example
Task Lifecycle
1
Create Task
Submit a transcoding task with your FFmpeg command via
POST /tasks2
Task Queued
Task enters
pending status and waits for processing3
Processing
Task moves to
running status, progress updates available4
Completed
Task finishes with
completed or failed status, outputs availableTask Status
| Status | Description |
|---|---|
pending | Task is queued and waiting to be processed |
running | Task is currently being processed |
completed | Task finished successfully, outputs available |
failed | Task failed, check error field for details |