Detect silence
detect_silenceDetects silent stretches in a video's audio track and returns both silent ranges and non-silent segments to keep, enabling removal of dead air.
Instructions
Find silent stretches in the audio track. Returns silent ranges plus the non-silent segments to keep — useful for cutting dead air (feed the keep-segments into trim_video/concat_videos).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_path": "<input_path>"
},
"name": "detect_silence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noise_db | No | Loudness threshold in dB below which audio counts as silence (default -30) | |
| input_path | Yes | Path to the source video or audio file | |
| min_duration | No | Minimum silence length in seconds to report (default 0.5) |