Eranol LogoEranol
BlogCommunityDocumentationPricingSign In

General

OverviewGet Started

Universal

Add IntroAdd OutroAudio to VideoBackground AudioCaptions ApiComposeConcatConvert a video file to MP4Convert Audio to Mp3Convert Audio to wavConvert to JPGConvert to WebMConvert to WebPDenoiseEnhanceExtract audio track from a videoExtract images from a videoGenerate a GIF from a videoHighlightsImage TestMergeNotifyOverlayProgress BarReframeRemove SilenceThumbnailTikTokTrimVerifyWatermarkZoom

General

DeleteImage StatusStatusTikTok StatusFFmpeg Results

Need help?

Contact Support

FFmpeg Results

GET

Get the result of a completed job. Returns 202 if still processing, 200 with result data if completed, or 400 if the job failed. Works for all job types.

Overview

Get the result of a completed job.

Returns 202 if still processing, 200 with result data if completed, or 400 if the job failed. Works for all job types.

Endpoint

GET https://eranol.com/api/v1/ffmpeg/result/{job_id}

Response Example

[
  {
    "url": "https://eranol.com/api/v1/ffmpeg/file/af390718-7794-4b36-b9c3-2693e922cf18.mp4",
    "job_id": "37a8d929-1bb1-40b8-bd81-1a4a633b834b",
    "duration": 58.875,
    "filename": "af390718-7794-4b36-b9c3-2693e922cf18.mp4",
    "resolution": "1280x720"
  }
]

Use Cases

1. Poll for a completed video job

After submitting a render job, poll this endpoint to get the download URL once it returns 200.

Response

{
  "job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
  "result": {
    "url": "https://cdn.eranol.com/output/1406c589-a1f4-45d5-8745-aae07bc4de38.mp4"
  },
  "status": "completed"
}

2. Poll for a completed conversion

Check whether an audio conversion job has finished and retrieve the converted file URL.

Response

{
  "job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
  "result": {
    "url": "https://cdn.eranol.com/output/1406c589-a1f4-45d5-8745-aae07bc4de38.mp3"
  },
  "status": "completed"
}

3. Handle a still-processing job (202)

If the job is still processing, the endpoint returns HTTP 202 — use this to decide whether to retry or wait.

Response

{
  "job_id": "1406c589-a1f4-45d5-8745-aae07bc4de38",
  "status": "processing",
  "progress": 42
}

Error Codes

CodeMeaning
401Missing or invalid API key
402Insufficient credits
422Validation error — check your request body
429Rate limit exceeded — slow down requests
500Internal server error — try again or contact support