remove_silence
Removes silent segments from audio or video files. Set noise threshold and minimum silence duration, then specify input and output paths.
Instructions
Removes silent segments from an audio or video file.
Args: media_path: Path to the input audio or video file. output_media_path: Path to save the media file with silences removed. silence_threshold_db: The noise level (in dBFS) below which is considered silence. min_silence_duration_ms: Minimum duration (in milliseconds) of silence to be removed. Returns: A status message indicating success or failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_path | Yes | ||
| output_media_path | Yes | ||
| silence_threshold_db | No | ||
| min_silence_duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |