detect_media_silence
Detects real silence in timeline clips by analyzing source audio with ffmpeg, mapping silent segments to timeline time; reports clips with missing or unreadable media.
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) |