summaryrefslogtreecommitdiff
path: root/aencode.sh
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-11-26 19:31:12 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2013-11-26 19:31:12 -0500
commit9d86b215eb990ca52af89c94776dae24f4463e46 (patch)
treeb698cc173349883d2735e4154e392a4898b53d61 /aencode.sh
parentfb3d7df90cbfa8ed6e6fcde64404907b62928c0c (diff)
downloadhtml5ks-9d86b215eb990ca52af89c94776dae24f4463e46.tar.xz
html5ks-9d86b215eb990ca52af89c94776dae24f4463e46.zip
Stuff.
Diffstat (limited to 'aencode.sh')
-rwxr-xr-xaencode.sh25
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