remove_silence
Eliminate silent segments from audio or video files by specifying noise level thresholds and minimum silence duration. Streamline media content by saving edited files directly to a specified output path.
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 (e.g., -30.0). min_silence_duration_ms: Minimum duration (in milliseconds) of silence to be removed (e.g., 500).
Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
media_path | Yes | ||
min_silence_duration_ms | No | ||
output_media_path | Yes | ||
silence_threshold_db | No |