summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/myth2mp3
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-05-18 22:11:02 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-05-18 22:11:02 (GMT)
commitd933043ae784028ecfb232c4110d8d77d8c5f60a (patch)
treea293800b5c5ff78d2e961397ae285b8e518ed42b /abs/core/linhes-scripts/myth2mp3
parent37ae9166eca021c99091570ef240ea7d69f13008 (diff)
downloadlinhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.zip
linhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.tar.gz
linhes_pkgbuild-d933043ae784028ecfb232c4110d8d77d8c5f60a.tar.bz2
linhes-scripts: fix typo and add nice to normalize command in myth2mp3
Diffstat (limited to 'abs/core/linhes-scripts/myth2mp3')
-rwxr-xr-xabs/core/linhes-scripts/myth2mp36
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/linhes-scripts/myth2mp3 b/abs/core/linhes-scripts/myth2mp3
index 9b13ee1..e5f98e3 100755
--- a/abs/core/linhes-scripts/myth2mp3
+++ b/abs/core/linhes-scripts/myth2mp3
@@ -1,6 +1,6 @@
#!/bin/sh
# convert recordings to as mp3 audio only
-# version 1.1
+# version 1.1.1
# usage:
# first parameter must be %DIR%/%FILE% of the recording
@@ -52,12 +52,12 @@ ERROR=$?
# Normalize the intermediate wav
echo "Normalizing intermediate wav..." >> $LOGFILE
-/usr/bin/normalize -q --peak "$TMPFILE.wav"
+/usr/bin/nice -n19 /usr/bin/normalize -q --peak "$TMPFILE.wav"
ERROR=$?
FFINPUTFILE=$TMPFILE.wav
-# Fianl encode of normalized wav to mp3
+# Final encode of normalized wav to mp3
echo "Encoding to normalized wav to mp3..." >> $LOGFILE
/usr/bin/nice -n19 /usr/bin/ffmpeg -i "$FFINPUTFILE" -vn -acodec libmp3lame -ab $BITRATE -ar 44100 -ac 2 "$TMPFILE.mp3"
ERROR=$?