How to split video or audio by silent parts
You could first use ffmpeg to detect intervals of silence, like this ffmpeg -i “input.mov” -af silencedetect=noise=-30dB:d=0.5 -f null – 2> vol.txt This will produce console output with readings that look like this: [silencedetect @ 00000000004b02c0] silence_start: -0.0306667 [silencedetect @ 00000000004b02c0] silence_end: 1.42767 | silence_duration: 1.45833 [silencedetect @ 00000000004b02c0] silence_start: 2.21583 [silencedetect @ 00000000004b02c0] silence_end: … Read more