diff options
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=$? |