Skip to content

Instantly share code, notes, and snippets.

@ziyanm
ziyanm / split_by_silence_kf.sh
Last active July 20, 2020 16:48 — forked from vi/split_by_silence_kf.sh
Video-enhanced split_by_silence.sh script.
#!/bin/bash
IN=$1
OUT=$2
true ${SD_PARAMS:="n=-25dB:d=5"};
true ${MIN_FRAGMENT_DURATION:="5"};
export MIN_FRAGMENT_DURATION
if [ -z "$OUT" ]; then