Detect silent segments in audio/video using silencedetect filter.
// Detect all silence below -40dBconst silence = await detectSilence({ input: 'audio.mp4', threshold: -40, duration: 1});// Returns: [{ start: 10.5, end: 12.3, duration: 1.8 }, ...] Copy
// Detect all silence below -40dBconst silence = await detectSilence({ input: 'audio.mp4', threshold: -40, duration: 1});// Returns: [{ start: 10.5, end: 12.3, duration: 1.8 }, ...]
Detect silent segments in audio/video using silencedetect filter.