detect_media_silence
Analyzes source audio of clips using ffmpeg to detect silence mapped to timeline time. Reads actual media files for accurate silence detection instead of XML heuristics.
Instructions
Detect REAL silence by analyzing each clip's source audio with ffmpeg silencedetect, mapped into timeline time. Unlike detect_silence_candidates (XML-only heuristics), this reads the actual media files referenced by the timeline. Requires ffmpeg; clips whose media is missing or unreadable are reported, not failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to FCPXML file | |
| noise_db | No | Silence threshold in dBFS, -120 to 0 (default -30) | |
| clip_name | No | Only analyze the clip with this name | |
| min_silence | No | Minimum silence duration in seconds to report (default 0.5) |