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

Remove Silence

POST

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}

Overview

Remove silent gaps from audio or video.

Uses FFmpeg silencedetect to find quiet intervals, then trims and concatenates the non-silent segments together.

Endpoint

POST https://eranol.com/api/v1/ffmpeg/audio/remove-silence

Request Body

{
  "url": "https://cdn.example.com/podcast.mp4",
  "padding": 0.1,
  "silence_thresh_db": -30,
  "min_silence_duration": 0.5
}

Response Example

{
  "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"
}

Use Cases

1. Clean up podcast interview

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"
}

2. Trim awkward pauses from a tutorial

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"
}

3. Audio-only silence removal

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"
}

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