Remove Silence from Audio & Video: Cut Pauses, Jump Cuts avatar

Remove Silence from Audio & Video: Cut Pauses, Jump Cuts

Pricing

from $2.40 / 1,000 audio minute processeds

Go to Apify Store
Remove Silence from Audio & Video: Cut Pauses, Jump Cuts

Remove Silence from Audio & Video: Cut Pauses, Jump Cuts

Remove silence from audio and video file URLs: cuts pauses, returns the cleaned file plus a timeline of every removed and kept range. Tune threshold, minimum pause and padding. mp3, wav, m4a or mp4 out, or detect only. Direct files, no YouTube.

Pricing

from $2.40 / 1,000 audio minute processeds

Rating

0.0

(0)

Developer

Data Done Right

Data Done Right

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

This silence remover cuts the pauses out of audio and video files you give it as URLs and returns the tighter file as MP3, WAV, M4A or MP4, plus a timeline of every removed and kept range in seconds. You set the volume threshold, the shortest pause worth cutting and how much breathing room to keep around speech. It runs ffmpeg in the cloud, so there is nothing to install and no API key.

What it does not do. It cuts on loudness only: anything louder than your threshold counts as sound, so background music, hum or room noise above the threshold is kept and will stop a pause from being cut. It cannot tell speech from noise, it does not clean up or denoise audio, and cuts are hard cuts without a crossfade. It reads direct audio or video file URLs (mp3, wav, m4a, flac, ogg, mp4, mov, webm, mkv); YouTube, Spotify, SoundCloud and other streaming-site links are rejected without charge, and HLS/DASH playlists are not supported. Only the first audio track (and first video stream) is used; subtitles, chapters and cover art are not carried over. Video is re-encoded (H.264 + AAC), not stream-copied. Use it only on media you own or have the right to process.

What you get

  • One dataset row per file: durations, number of cuts, seconds and percent removed, a signed download link to the cleaned file, and the full silences and keptSegments timelines.
  • Detect-only mode if you just want the pause timestamps and no new file.
  • Failed files are free, never stop the run, and say exactly why they failed.

How to remove silence from an audio file

  1. Paste one or more direct audio URLs in mediaUrls.
  2. Leave the defaults (threshold -35 dB, pauses of 0.5 s or longer, 0.15 s kept around each cut) or tune them: thresholdDb, minSilenceSeconds, paddingSeconds.
  3. Run it. Each dataset row has a url to the cleaned file and silences listing every removed range (start, end, timecodes in the source file). keptSegments shows where each kept piece sits in the result.

How to cut silent parts out of a video (jump cuts)

Give it a video URL. With outputFormat left on auto you get an MP4 where the silent stretches are cut out of both sound and picture, so talking-head, lecture and screen-recording videos get tighter without a timeline editor. Use maxHeight (for example 720) to shrink the video and speed up encoding, and videoCrf for quality. Choose mp3, wav or m4a instead to get only the cleaned audio of a video.

How to get silence timestamps without editing

Set "mode": "detect". You get the same silences timeline and totals and no output file. Useful for splitting a recording at pauses, planning edits in your own tool, or estimating how much dead air a batch of files has.

Choosing the settings

GoalthresholdDbminSilenceSecondspaddingSeconds
Clean studio speech, cut dead air only-35 (default)0.50.15
Tight jump-cut style-300.30.08
Quiet recording or soft speakers-450.50.15
Noisy room, cut anything not clearly speech-250.40.1

paddingSeconds stays on both sides of each cut, so a pause is shortened by twice the padding (a 0.3 s pause with 0.1 s padding gives a 0.1 s cut). Silence at the very start or end of a file is removed right up to the file edge on the cut side, keeping the padding next to speech. paddingSeconds x 2 must be smaller than minSilenceSeconds.

Input

FieldDefaultWhat it does
mediaUrlssample speech clipDirect audio or video file links.
moderemoveremove returns a cleaned file; detect only reports the silences.
thresholdDb-35Sound quieter than this is silence (-90 to -5).
minSilenceSeconds0.5Shortest pause that is cut.
paddingSeconds0.15Silence kept on both sides of a cut.
outputFormatautoauto (mp4 for video, mp3 for audio), mp3, wav, m4a, mp4 (video files only).
audioBitrateKbps160MP3, M4A and MP4 audio bitrate.
videoCrf / maxHeight23 / 0MP4 quality and a height cap (0 = original, never upscales).
includeTimelinetruePut silences and keptSegments in each row.
maxMinutesPerRun600Hard cap on billed minutes per run.
maxFileSizeMb500Source size cap (max 2048).
maxDurationMinutes240Source duration cap.
fileTimeoutSecs1800Per download and per file processing.
outputStoreNameemptySave results in a named store that is kept until you delete it.

Input example:

{
"mediaUrls": ["https://github.com/openai/whisper/raw/main/tests/jfk.flac"],
"mode": "remove",
"thresholdDb": -25,
"minSilenceSeconds": 0.3,
"paddingSeconds": 0.1,
"outputFormat": "mp3"
}

Output

From a real local run of the input above (11.0 s speech clip; silences and keptSegments shortened to one entry each here):

{
"sourceUrl": "https://github.com/openai/whisper/raw/main/tests/jfk.flac",
"index": 1, "status": "ok", "mode": "remove",
"thresholdDb": -25.0, "minSilenceSeconds": 0.3, "paddingSeconds": 0.1,
"durationSeconds": 11.0, "hasVideo": false,
"silenceCount": 5, "removedSeconds": 2.657, "removedPercent": 24.15, "keptSeconds": 8.343,
"outputDurationSeconds": 8.343, "format": "mp3", "bytes": 168371,
"billedMinutes": 1, "event": "audio-minute-processed",
"url": "https://api.apify.com/v2/key-value-stores/<store>/records/001-silence-removed.mp3",
"key": "001-silence-removed.mp3",
"silences": [
{"start": 2.209, "end": 3.189, "duration": 0.981, "startTimecode": "00:00:02.209", "endTimecode": "00:00:03.189"}
],
"keptSegments": [
{"start": 0.226, "end": 2.209, "duration": 1.983, "outputStart": 0.0, "outputEnd": 1.983}
],
"error": null, "note": null
}

On Apify the url is a signed link that downloads without a token. status is ok, error or skipped (spending limit or maxMinutesPerRun reached). A file with no audio track, a file that is silent all the way through at your threshold, a bad link or a corrupt file gives an error row that names the problem.

Use with the Apify API, MCP, n8n and Make

Python:

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-done-right/audio-silence-remover").call(run_input={
"mediaUrls": ["https://example.com/episode.mp3"], "thresholdDb": -35, "minSilenceSeconds": 0.6})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["status"], row["removedSeconds"], row["url"] or row["error"])

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('data-done-right/audio-silence-remover').call({
mediaUrls: ['https://example.com/lecture.mp4'], maxHeight: 720 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();

In n8n or Make use the Apify node with the actor name and the same JSON. With Apify's MCP server (mcp.apify.com) an AI assistant can call it: "remove the silences from this podcast mp3". Only a URL is needed.

Use cases

  • Tighten podcast, interview and voice-memo recordings before publishing or transcribing.
  • Cut dead air out of lectures, webinars and screen recordings as jump cuts.
  • Shorten audio before sending it to a paid speech-to-text service that bills by the minute.
  • Measure how much silence a batch of recordings contains (detect mode).
  • Find pause positions to split a long recording into parts.

How much does it cost

Pay per event, per started minute of the source file:

  • $0.003 per audio minute (audio-minute-processed, $3 per 1,000 minutes): audio output, audio extracted from a video, and detect-only mode.
  • $0.025 per video minute (video-minute-processed, $25 per 1,000 minutes): video output (MP4), because the picture is re-encoded.

A 62.5-second file is 2 started minutes. Failed, skipped and rejected files and the SUMMARY record are free; nothing is charged until the result exists. Plan discounts apply (Silver about 10%, Gold and higher about 20%).

  • 1,000 minutes of audio: $3. 1,000 minutes of video: $25.
  • 10,000 minutes of audio: $30. 10,000 minutes of video: $250.
  • 100,000 minutes of audio: $300. 100,000 minutes of video: $2,500.

maxMinutesPerRun caps a run. If you set a maximum spend per run the Actor stops cleanly when it is reached and removes the file it could not charge for. Apify platform usage is included in the price.

FAQ

Does it remove silence from YouTube videos?

No. YouTube, Spotify, SoundCloud and other streaming-site links are rejected with a message and no charge. Use a direct link to an audio or video file you have the rights to.

Will it cut my words off?

It can if the threshold is too high for a quiet speaker: soft word endings can fall under the threshold and be treated as silence. Lower thresholdDb (for example -40 or -45), and keep paddingSeconds at 0.1 or more. Check the silences timeline before using the result on important material.

Why were no pauses removed?

Either no pause was both quieter than the threshold and longer than minSilenceSeconds, or room noise sits above the threshold. The row says so in note. Raise thresholdDb toward -25 or shorten minSilenceSeconds, and try detect mode to see what the audio looks like.

Is the result the same length as the plan says?

The row reports keptSeconds (planned) and outputDurationSeconds (measured on the file). In local tests with generated audio the removed ranges matched the known silences within 50 ms and WAV output matched the plan within 10 ms; MP3, M4A and MP4 differ by a few tens of milliseconds because of encoder framing.

Which limits apply?

Source files up to 2 GB (default 500 MB) and 4 hours by default, up to 3,000 kept pieces per file (raise minSilenceSeconds if you hit it). Links to private or internal addresses are blocked. The whole source file is downloaded first, and video output is re-encoded, so long high-resolution videos take a while; maxHeight helps.

Results live in the run's key-value store, which expires with your plan's retention period. Set outputStoreName to keep them in a named store until you delete it.

  • Extract Audio from Video: MP3, WAV & FLAC in Bulk pulls the audio track out of video files without cutting anything.
  • Transcribe Audio to Text: Files, Podcasts & Video URLs turns the cleaned audio into a transcript.
  • Cut Video: Video Trimmer, Clip Cutter & Video to GIF cuts clips by start and end time when you already know the timestamps.
  • Video Frame Extractor: Keyframes, Scenes & Thumbnails for AI pulls still images from the same videos.