FFmpeg Media · FFmpeg Media
ConcatComing Soon
🚧 Coming soon — docs preview only, online run not yet available.
📌 What is this:Join multiple videos into one, in order.
💡 When to use:Use to join clips (same codec & resolution required).
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /v1/ffmpeg/concat |
| Query Result | GET | /v1/ffmpeg/info?id={taskId} |
⏱ Recommended polling interval:Poll every 3-5s (response includes progress 0-100) until status = succeeded / failed. Single-task timeout is 300s with auto-refund.
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| inputUrls | string[] | Required | Video URL array, 2-10; same codec & resolution |
| webhookUrl | string | — | Completion webhook URL (optional) |
Request Example
curl -X POST https://api.cqtai.com/v1/ffmpeg/concat \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{ "inputUrls": ["https://cdn.novapi.ai/tmp/a.mp4", "https://cdn.novapi.ai/tmp/b.mp4"] }'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"taskId": "<taskId>",
"operation": "transcode",
"status": "succeeded",
"progress": 100,
"resultUrl": "https://cdn.novapi.ai/ffmpeg/xxx.mp4",
"costPoints": 3,
"errorMsg": null
}
}Billing & Credits
Factor 1.0, billed by total input length (x your user rate). Auto-refunded on failure.