Skip to content

Instantly share code, notes, and snippets.

View bastibeckr's full-sized avatar

Basti Becker bastibeckr

  • studio2010 GmbH
  • Munich, Germany
View GitHub Profile
@bastibeckr
bastibeckr / split_by_silence.sh
Created July 14, 2020 13:11 — forked from vi/split_by_silence.sh
Using FFmpeg to split multimedia file into parts based on audio volume level
#!/bin/bash
IN=$1
OUT=$2
true ${SD_PARAMS:="-55dB:d=0.3"};
true ${MIN_FRAGMENT_DURATION:="20"};
export MIN_FRAGMENT_DURATION
if [ -z "$OUT" ]; then