diff options
Diffstat (limited to 'bin/ogg-maker')
-rwxr-xr-x | bin/ogg-maker | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/ogg-maker b/bin/ogg-maker deleted file mode 100755 index a812f09..0000000 --- a/bin/ogg-maker +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -filename="$1" -outname=$(echo $1 | sed 's/^\(.*\)\..*/\1/').ogg -if [ "$filename" == "$outname" ]; then - ffmpeg -i $filename tmp_$outname - sox --norm tmp_$outname tmp2_$outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100 - rm tmp_$outname - vorbisgain tmp2_$outname - mv tmp2_$outname $outname -else - ffmpeg -i $filename tmp_$outname - sox --norm tmp_$outname $outname silence 1 0.1 1% reverse silence 1 0.1 1% reverse rate 44100 - rm tmp_$outname - vorbisgain $outname - rm $filename -fi |