diff options
Diffstat (limited to 'aencode.sh')
-rwxr-xr-x | aencode.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/aencode.sh b/aencode.sh deleted file mode 100755 index af101be..0000000 --- a/aencode.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# configure ffmpeg location if not in PATH -FFMPEG=ffmpeg -# configure flags -FFMPEG_FLAGS="" - -set -e - -ffmpeg() { - set -x - command ${FFMPEG} -threads ${THREADS} ${FFMPEG_FLAGS} "$@" - set +x -} - -for d in bgm sfx; do - pushd $(dirname $0)/www/dump/${d} - for f in *.ogg; do - OUT=${f%.ogg} - ffmpeg -y -i $f -c:a pcm_s16le ${OUT}.wav - opusenc --bitrate 64 ${OUT}.wav ${OUT}.opus - ffmpeg -n -i ${OUT}.wav -c:a libfdk_aac -vbr 2 ${OUT}.m4a || true - done - popd -done |