Convert a video file to WebM format (VP9 + Opus). Example: {"url": "https://cdn.example.com/video.mp4"}
Convert a video file to WebM format (VP9 + Opus).
POST https://eranol.com/api/v1/ffmpeg/convert/video/to/webm
{
"url": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp4"
}
[
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
]
Convert a standard MP4 to VP9 WebM for smaller file sizes and open-standard web video delivery.
Request Body
{
"url": "https://cdn.example.com/product-demo.mp4"
}
Response
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
Convert a macOS MOV export to WebM so it can be used in an HTML5 <video> element without relying on browser-level codec support for MOV.
Request Body
{
"url": "https://cdn.example.com/screen-capture.mov"
}
Response
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
Convert a legacy AVI file to WebM for a CDN-optimised delivery pipeline that prefers open formats.
Request Body
{
"url": "https://cdn.example.com/legacy-video.avi"
}
Response
{
"job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/1406c589-a1f4-45d5-8745-aae07bc4de38",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/1406c589-a1f4-45d5-8745-aae07bc4de38"
}
| Code | Meaning |
|---|---|
401 | Missing or invalid API key |
402 | Insufficient credits |
422 | Validation error — check your request body |
429 | Rate limit exceeded — slow down requests |
500 | Internal server error — try again or contact support |