Hello, i suggest to use Flake encoder instead of flac. "Flake gives, on average, slightly better compression than the FLAC reference encoder and is about twice as fast." But it doesn't support input from stdin, so..
@@ -149,7 +143,8 @@
# Transcode file
if [ "$EXT" == "ape" ]; then
- $MAC "$FILE" - -d | $FLAC -$COMPRESS -s -o "$NAME.flac" -
+# $MAC "$FILE" - -d | $FLAC -$COMPRESS -s -o "$NAME.flac" -
+ $MAC "$FILE" "$NAME.wav" -d && $FLAC -$COMPRESS "$NAME.wav" "$NAME.flac" && rm "$NAME.wav"
elif [ "$EXT" == "flac" ]; then
$FLAC -d "$FILE" -c | $FLAC -$COMPRESS -s -o "$NAME.flac" -
elif [ "$EXT" == "shn" ]; then
Thanks!