Lossless Compression Test, FLAC, WP, MA, TAKC, TTA, LA, OF, SHN, WMA |
![]() ![]() |
Lossless Compression Test, FLAC, WP, MA, TAKC, TTA, LA, OF, SHN, WMA |
Oct 8 2012, 16:33
Post
#51
|
|
|
Group: Members Posts: 4136 Joined: 2-September 02 Member No.: 3264 |
Does flake -11 play in Rockbox? Is there an example file I can try?
|
|
|
|
Oct 8 2012, 17:33
Post
#52
|
|
![]() Group: Members Posts: 1065 Joined: 4-May 04 From: France Member No.: 13875 |
Flake -11 compresses my music collection only 0.2% better than FLAC -8…
-------------------- Save my friend from going homeless: http://outpost.fr/url/308w
|
|
|
|
Oct 8 2012, 17:43
Post
#53
|
|
|
Group: Members Posts: 1315 Joined: 3-January 05 From: Argentina, Bs As Member No.: 18803 |
and at cost of decoding speed.
|
|
|
|
Oct 8 2012, 17:46
Post
#54
|
|
![]() Group: Developer Posts: 2986 Joined: 2-December 07 Member No.: 49183 |
flake-svn-r114: -0 to -10 are subset compatible, -11 and -12 aren't. (For CUETools.Flake, -9 to -11 are not compatible).
My Samsung R0 can play non-subset files (with Rockbox and with original firmware as well). |
|
|
|
Oct 8 2012, 19:21
Post
#55
|
|
|
Group: Developer Posts: 618 Joined: 6-December 08 From: Erlangen Germany Member No.: 64012 |
Flake -11 compresses my music collection only 0.2% better than FLAC -8… Thanks a lot, that answers a question I was about to ask. Chris -------------------- If I don't reply to your reply, it means I agree with you.
|
|
|
|
Oct 9 2012, 03:20
Post
#56
|
|
|
Group: Members Posts: 46 Joined: 7-February 12 Member No.: 96993 |
Does flake -11 play in Rockbox? Is there an example file I can try? flake -12 Sample: http://www.hydrogenaudio.org/forums/index....showtopic=97370 rockbox failed to play this for me on an Android (2.3) device. On a side note, native FLAC support in newer Androids plays this file with no issues. QUOTE (skamp) Flake -11 compresses my music collection only 0.2% better than FLAC -8 What version? I would expect 0.6%-1.2% with SVN-r264. QUOTE (IgorC) and at cost of decoding speed. Not by a big margin AFAICT. FLAC decoding is fast enough to the point where other factors (like I/O in bad storage devices) might be more relevant. Decoding support and maybe streamability are real issues with non-subset files. Decoding speed(when the support is there) is not! This post has been edited by 2012: Oct 9 2012, 03:21 |
|
|
|
Oct 9 2012, 20:13
Post
#57
|
|
![]() Group: Members Posts: 841 Joined: 21-December 01 From: New Zealand Member No.: 705 |
I'm have already seen some weirdness with Flake v0.11, -5 compresses better than -6.
Where can i get a copy of Flake SVN-r264? Should i be using Flake v0.11 or r264 for the test? This post has been edited by A_Man_Eating_Duck: Oct 9 2012, 20:15 -------------------- Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith. |
|
|
|
Oct 9 2012, 21:42
Post
#58
|
|
|
Group: Members Posts: 46 Joined: 7-February 12 Member No.: 96993 |
I'm have already seen some weirdness with Flake v0.11, -5 compresses better than -6. Interesting. Here is the full help for reference: CODE Flake: FLAC audio encoder Version SVN-r264 (c) 2006-2009 Justin Ruggles usage: flake [options] <input> [-o output.flac] options: [-h] Print out list of commandline options [-q] Quiet mode: no console output [-p #] Padding bytes to put in header (default: 8192) [-0 ... -12] Compression level (default: 5) 0 = -b 1152 -t 1 -l 2,2 -m 0 -r 3 -s 0 1 = -b 1152 -t 1 -l 2,4 -m 1 -r 3 -s 1 2 = -b 1152 -t 1 -l 4 -m 1 -r 3 -s 1 3 = -b 4096 -t 2 -l 6 -m 1 -r 4 -s 0 4 = -b 4096 -t 2 -l 8 -m 1 -r 4 -s 1 5 = -b 4096 -t 2 -l 8 -m 1 -r 5 -s 1 6 = -b 4096 -t 2 -l 8 -m 1 -r 6 -s 1 7 = -b 4096 -t 2 -l 8 -m 3 -r 6 -s 1 8 = -b 4096 -t 2 -l 12 -m 6 -r 6 -s 1 9 = -b 4096 -t 2 -l 12 -m 6 -r 8 -s 1 -v 1 10 = -b 4096 -t 2 -l 12 -m 5 -r 8 -s 1 -v 1 11 = -b 8192 -t 2 -l 32 -m 6 -r 8 -s 1 -v 1 12 = -b 8192 -t 2 -l 32 -m 5 -r 8 -s 1 -v 1 [-b #] Block size [16 - 65535] (default: 4096) [-t #] Prediction type 0 = no prediction / verbatim 1 = fixed prediction 2 = Levinson-Durbin recursion (default) [-l #[,#]] Prediction order {max} or {min},{max} (default: 1,5) [-m #] Prediction order selection method 0 = maximum 1 = estimate (default) 2 = 2-level 3 = 4-level 4 = 8-level 5 = full search 6 = log search [-r #[,#]] Rice partition order {max} or {min},{max} (default: 0,5) [-s #] Stereo decorrelation method 0 = independent L+R channels 1 = mid-side (default) [-v #] Variable block size 0 = fixed (default) 1 = variable Compression levels in flake 0.11 were configured slightly differently: CODE [-0 ... -12] Compression level (default: 5) 0 = -b 1152 -t 1 -l 2,2 -m 0 -r 4,4 -s 0 1 = -b 1152 -t 1 -l 3,4 -m 1 -r 2,2 -s 1 2 = -b 1152 -t 1 -l 2,4 -m 1 -r 3 -s 1 3 = -b 4608 -t 2 -l 6 -m 1 -r 3 -s 1 4 = -b 4608 -t 2 -l 8 -m 1 -r 3 -s 1 5 = -b 4608 -t 2 -l 8 -m 1 -r 6 -s 1 6 = -b 4608 -t 2 -l 8 -m 2 -r 8 -s 1 7 = -b 4608 -t 2 -l 8 -m 3 -r 8 -s 1 8 = -b 4608 -t 2 -l 12 -m 3 -r 8 -s 1 9 = -b 4608 -t 2 -l 12 -m 6 -r 8 -s 1 10 = -b 4608 -t 2 -l 12 -m 5 -r 8 -s 1 11 = -b 4608 -t 2 -l 32 -m 6 -r 8 -s 1 12 = -b 4608 -t 2 -l 32 -m 5 -r 8 -s 1 QUOTE Where can i get a copy of Flake SVN-r264? r264 is just the last revision that was pushed to the subversion repository: http://sourceforge.net/scm/?type=svn&group_id=177048 I built it myself from source in GNU/Linux. I have no idea how to build windows binaries, sorry. QUOTE Should i be using Flake v0.11 or r264 for the test? Here are the results for some random album: CODE libflac-1.2.1 -8 327.41MiB flake-0.11 -12 324.69MiB flake-r264 -12 323.96MiB I remember flake 0.11 being not that close to r264 in experiments I conducted a long time ago. But It could be all in my imagination. |
|
|
|
Oct 9 2012, 22:24
Post
#59
|
|
|
Group: Members Posts: 231 Joined: 6-April 09 Member No.: 68706 |
|
|
|
|
Oct 9 2012, 22:29
Post
#60
|
|
![]() Group: Members Posts: 840 Joined: 7-October 01 Member No.: 235 |
Just a reminder to flake. It does much worse as regular flac or Chudovs CUEtools encoders on things that are lossywav´d or music that don´t use all bits.
|
|
|
|
Oct 9 2012, 22:40
Post
#61
|
|
![]() Group: Developer Posts: 2986 Joined: 2-December 07 Member No.: 49183 |
|
|
|
|
Oct 10 2012, 00:13
Post
#62
|
|
![]() Group: Members Posts: 841 Joined: 21-December 01 From: New Zealand Member No.: 705 |
Thanks 2012
Does anybody know of a Win32 build of Flake SVN-r264? -------------------- Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith. |
|
|
|
Oct 10 2012, 00:35
Post
#63
|
|
![]() Group: Members Posts: 1475 Joined: 30-November 06 Member No.: 38207 |
What about bringing http://encode.ru/threads/1137-Sac-(State-o...dio-Compression into the lot?
Not because I think it is worth using, just because it is kinda boring to see the same rankings as last year over again. (And because I'm curious whether how big a mouthful he's trying to chew with that name.) -------------------- geocities.com/hydrogenaudio: http://goo.gl/tqYZj
|
|
|
|
Oct 10 2012, 00:39
Post
#64
|
|
![]() Group: Members Posts: 841 Joined: 21-December 01 From: New Zealand Member No.: 705 |
I have no problems adding that in, the Wavpack --hhx6 is going soo slow anyhow.
how crazy do i need to go on the switches? -------------------- Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith. |
|
|
|
Oct 10 2012, 04:16
Post
#65
|
|
![]() Group: Developer Posts: 2986 Joined: 2-December 07 Member No.: 49183 |
Does anybody know of a Win32 build of Flake SVN-r264? http://www.hydrogenaudio.org/forums/index....showtopic=97389 Compiled with MSVS 2010 (so it requires at least WinXP) |
|
|
|
Oct 10 2012, 05:32
Post
#66
|
|
|
Group: Members Posts: 4136 Joined: 2-September 02 Member No.: 3264 |
I guess its the larger frame size that breaks flake -11 in rockbox. If it fits in memory on most targets, I'll see about adding support for -11. If not, well I guess its not a big deal since compression is almost no better and its an optional feature.
|
|
|
|
Oct 10 2012, 05:39
Post
#67
|
|
![]() Group: Members Posts: 841 Joined: 21-December 01 From: New Zealand Member No.: 705 |
Thanks lvqcl for the binary
UPDATE: OptimFrog has 3 more presets to go, Highnew, extranew and Bestnew Flake v0.11 has 2 more left, 11 and 12 (I might as well let it finish and compare) Wavpack -hhx6 has only just got to Faith No More Sac is the possibly the slowest encoder i have ever seen (2:57 to encode a 4:04 track in fast mode). I'll do my best to put at least one mode in there but if i get a powercut I'll have to axe it. I'll start the SVN-r264 Flake once Flake v0.11 is finished. This post has been edited by A_Man_Eating_Duck: Oct 10 2012, 05:49 -------------------- Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith. |
|
|
|
Oct 10 2012, 11:25
Post
#68
|
|
![]() Group: Members Posts: 1495 Joined: 31-January 04 Member No.: 11664 |
Try wavpack -hhx4 its twice as fast but compresses like x6 in nearly all situations.
|
|
|
|
Oct 11 2012, 02:52
Post
#69
|
|
![]() Group: Members Posts: 512 Joined: 4-June 02 Member No.: 2220 |
I confirm the above from my own results on subset of files (32bit float, mono and stereo)- over twice as fast encoding speed with only 0.10% - 0.30% file size increase. YMMV.
Similar to what I mentioned about TAK (-p4 vs. -p4m), the difference in ratio between WavPack -hhx4 and -hhx6 can be estimated fairly easily. Is worth the time? Maybe for testing the extreme limits of compression ratio and archival but not much for practical use. This post has been edited by Destroid: Oct 11 2012, 02:58 -------------------- "Something bothering you, Mister Spock?"
|
|
|
|
Oct 11 2012, 03:32
Post
#70
|
|
|
Group: Members Posts: 1315 Joined: 3-January 05 From: Argentina, Bs As Member No.: 18803 |
A_Man_Eating_Duck,
Maybe it's obvious but what is a goal of your test? The evaluation of compression of lossless formats mainly on rock music? Most likely 8047 files is an overkill. Just a give a number, ~10% of that amount is already representative and You won't lose precision of the results. Other thing is that compression varies per music style among other factors. Probably You already know that and I mention it to get it clear just in case. This post has been edited by IgorC: Oct 11 2012, 03:38 |
|
|
|
Oct 11 2012, 04:36
Post
#71
|
|
![]() Group: Members Posts: 841 Joined: 21-December 01 From: New Zealand Member No.: 705 |
@IgorC,
I just want to know how different lossless codecs compress my music, nothing more, nothing less. My results won't change me from using FLAC -6, I'm just curious. -------------------- Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith. |
|
|
|
Oct 11 2012, 19:19
Post
#72
|
|
|
Group: Developer (Donating) Posts: 2041 Joined: 19-October 01 From: Finland Member No.: 322 |
PS: i just realized i can't even play .la files in my foobar2000!!! Where should i take the right input .la component? This is a bit late but Peter released a generic command line decoder input for foobar2000. It allows you to use any codec for playback that has command line Windows binaries available. You can find the component and pre-made config for .LA files here. With this component the player won't crash. |
|
|
|
Oct 19 2012, 07:21
Post
#73
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
BTW, I noticed that ALAC (at least Apple implementation) is ridiculously poor at compressing files with several bits at LSB side are all zero (such that created just by up-scaling the bit depth from 16 to 24 or something).
|
|
|
|
Oct 19 2012, 13:54
Post
#74
|
|
|
Group: Members Posts: 109 Joined: 20-August 07 Member No.: 46367 |
BTW, I noticed that ALAC (at least Apple implementation) is ridiculously poor at compressing files with several bits at LSB side are all zero (such that created just by up-scaling the bit depth from 16 to 24 or something). 24 bit ALAC files store the bottom 8 bits uncompressed, which is as non-optimal as it gets for those cases. |
|
|
|
Oct 19 2012, 15:10
Post
#75
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 18:39 |