FFmpeg Media · FFmpeg Media

Media ProbeComing Soon

🚧 Coming soon — docs preview only, online run not yet available.
📌 What is thisExtract media metadata: duration / resolution / bitrate / codec. Returns instantly.
💡 When to useUse to inspect file properties before processing.

Endpoints

UsageMethodPath
Submit taskPOST/v1/ffmpeg/probe
Query ResultGET/v1/ffmpeg/info?id={taskId}
Recommended polling intervalPoll every 3-5s (response includes progress 0-100) until status = succeeded / failed. Single-task timeout is 300s with auto-refund.

Request Parameters

ParamTypeRequiredDescription
inputUrlstringRequiredInput media URL, must be on the platform CDN allowlist (upload first to obtain it)

Request Example

curl -X POST https://api.cqtai.com/v1/ffmpeg/probe \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{ "inputUrl": "https://cdn.novapi.ai/tmp/video.mp4" }'
# -> { "code":200, "data":"<taskId>" }

Response Example

{
  "code": 200,
  "data": {
    "status": "succeeded",
    "progress": 100,
    "resultUrl": null,
    "probe": { "durationSec": 62.5, "width": 1280, "height": 720, "vcodec": "h264", "acodec": "aac", "bitrate": 2480000 }
  }
}

Billing & Credits

Flat 1 credit (x your user rate). Auto-refunded on failure.