Remove silent gaps from audio or video. Uses FFmpeg silencedetect to find quiet intervals, then trims and concatenates the non-silent segments together. Example: {"url": "https://cdn.example.com/podcast.mp4", "silence_thresh_db": -30, "min_silence_duration": 0.5}
Remove silent gaps from audio or video.
Uses FFmpeg silencedetect to find quiet intervals, then trims and concatenates the non-silent segments together.
POST https://eranol.com/api/v1/ffmpeg/audio/remove-silence
{
"url": "https://cdn.example.com/podcast.mp4",
"padding": 0.1,
"silence_thresh_db": -30,
"min_silence_duration": 0.5
}
{
"job_id": "f595b9ad-1e15-4452-b7c2-8f8ff09c0a34",
"status": "pending",
"message": "Job created. Poll status_url for progress.",
"job_type": "caption",
"result_url": "https://eranol.com/api/v1/ffmpeg/result/f595b9ad-1e15-4452-b7c2-8f8ff09c0a34",
"status_url": "https://eranol.com/api/v1/ffmpeg/status/f595b9ad-1e15-4452-b7c2-8f8ff09c0a34"
}
Remove long pauses and dead air from a raw interview recording to tighten pacing.
Request Body
{
"url": "https://cdn.example.com/interview-raw.mp4",
"silence_threshold": -35,
"min_silence_duration": 0.8
}
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"
}
Remove any pause longer than 1 second from a screen-recording tutorial to keep viewers engaged.
Request Body
{
"url": "https://cdn.example.com/tutorial-raw.mp4",
"silence_threshold": -40,
"min_silence_duration": 1
}
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"
}
Strip silent gaps from a raw voiceover MP3 before using it as a narration track in a video.
Request Body
{
"url": "https://cdn.example.com/voiceover-draft.mp3",
"silence_threshold": -38
}
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 |