diff options
author | Michael Hanson <mihanson@linhes.org> | 2012-05-18 22:11:02 (GMT) |
---|---|---|
committer | Michael Hanson <mihanson@linhes.org> | 2012-05-18 22:11:02 (GMT) |
commit | d933043ae784028ecfb232c4110d8d77d8c5f60a (patch) | |
tree | a293800b5c5ff78d2e961397ae285b8e518ed42b /abs/core/linhes-scripts/myth2mp3 | |
parent | 37ae9166eca021c99091570ef240ea7d69f13008 (diff) | |
download | linhes_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-x | abs/core/linhes-scripts/myth2mp3 | 6 |
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=$? |