summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/myth2mp3
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-05-18 23:04:05 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-05-18 23:04:05 (GMT)
commit1cd3ef3d3076da1cb5c644af8608e4aaf02f2e9a (patch)
tree098ac53f4d8ffd7d50b60aaec90a2c0e64b215e7 /abs/core/linhes-scripts/myth2mp3
parentd933043ae784028ecfb232c4110d8d77d8c5f60a (diff)
downloadlinhes_pkgbuild-1cd3ef3d3076da1cb5c644af8608e4aaf02f2e9a.zip
linhes_pkgbuild-1cd3ef3d3076da1cb5c644af8608e4aaf02f2e9a.tar.gz
linhes_pkgbuild-1cd3ef3d3076da1cb5c644af8608e4aaf02f2e9a.tar.bz2
linhes-scripts: remove --peak from 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 e5f98e3..5ce72c1 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.1
+# version 1.1.2
# usage:
# first parameter must be %DIR%/%FILE% of the recording
@@ -52,13 +52,13 @@ ERROR=$?
# Normalize the intermediate wav
echo "Normalizing intermediate wav..." >> $LOGFILE
-/usr/bin/nice -n19 /usr/bin/normalize -q --peak "$TMPFILE.wav"
+/usr/bin/nice -n19 /usr/bin/normalize -q "$TMPFILE.wav"
ERROR=$?
FFINPUTFILE=$TMPFILE.wav
# Final encode of normalized wav to mp3
-echo "Encoding to normalized wav to mp3..." >> $LOGFILE
+echo "Encoding 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=$?