Flake

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!

Add new comment

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <acronym> <blockquote cite> <br> <cite> <code> <dd> <div> <dl> <dt> <em> <img src alt title height width> <li> <ol start type> <p> <pre> <span> <strong> <sub> <sup> <ul type>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.