An API for all your FFmpeg needs
This service is a wrapper around the FFmpeg library. It allows you to perform all the operations that FFmpeg supports but through a REST API.
For example, to convert a .gif
to a .mp4
file, you can use the following command:
curl -F "input.gif=@/local/path/to/file.gif" https://api.ffmpeg-api.com/ffmpeg/run \
-H 'Authorization: <YOUR_API_KEY>' \
-F 'command={"inputs":[{"options":[],"file":"input.gif"}],"outputs":[{"options":[],"file":"output.mp4"}]}'
To upload multiple files, you can use the -F
option multiple times:
curl \
-F "video.mp4=@/local/path/to/file.mp4" \
-F "audio.mp3=@/local/path/to/file.mp3" \
https://api.ffmpeg-api.com/ffmpeg/run \
-H 'Authorization: <YOUR_API_KEY>' \
-F 'command={"inputs":[{"options":[],"file":"video.mp4"},{"options":[],"file":"audio.mp3"}],"outputs":[{"options":[],"file":"output.mp4"}]}'
Join waitlist
We're accepting new signups on rolling basis, join now:
Meanwhile, you can learn more about FFmpeg and FFprobe.