encoding time for FLAC is fast?!?!
Reply #5 – 2003-05-24 05:43:03
As far as encoding levels, I'd be interested to see some data on encode time vs file size I had some spare time on my hands, so I decided to take one song, encode it a bunch of different ways, and collect some stats. Platform: Dual Athlon MP 1600+, 1GB RAM, 7200RPM IDE HD, Debian GNU/Linux (Sid/Unstable) Song Encoded: Laika's "Uneasy" from the album Good Looking Blues (Genre: Trip-Hop) - 52541372 bytes, 4:57 "Time" was measured with the time command. "Ratio" is the ratio of the compressed file versus the original. Results are sorted by compressed file size bytes per second of encoding time:Encoder Setting kbps Time Bytes Ratio Compressed Bytes per Second FLAC 1.1.0 --fast 1049.4 6.135 39070015 0.74 6368381 FLAC 1.1.0 Default 1010.4 9.926 37619945 0.72 3790041 FLAC 1.1.0 --best 1004 49.919 37379587 0.71 748805 Vorbis 1.0 -q 10 464.4 37.966 17293422 0.33 455498 LAME 3.92 -b 256 256 25.447 9533648 0.18 374647 Vorbis 1.0 -q 9 310.7 35.893 11571412 0.22 322386 LAME 3.92 -b 192 192 26.535 7150235 0.14 269464 Vorbis 1.0 -q 8 244.9 34.345 9120804 0.17 265564 LAME 3.92 --api 320 48.790 11917060 0.23 244252 Vorbis 1.0 -q 7 212.6 33.786 7919475 0.15 234401 Vorbis 1.0 -q 6 186.7 33.323 6956369 0.13 208756 LAME 3.92 Default 128 29.597 4766823 0.09 161058 Vorbis 1.0 -q 5 157.3 36.766 5861457 0.11 159426 Vorbis 1.0 -q 4 125.2 35.634 4663913 0.09 130884 LAME 3.92 --ape -Z 250.8 81.456 9331031 0.18 114553 Vorbis 1.0 -q 3 112.8 36.839 4202155 0.08 114068 Vorbis 1.0 -q 2 94.5 37.345 3523089 0.07 94339 LAME 3.92 --aps -Z 226.3 93.911 8420528 0.16 89665 LAME 3.92 --ape 250.1 105.123 9305631 0.18 88521 Vorbis 1.0 -q 1 84.5 37.021 3149531 0.06 85074 Vorbis 1.0 -q 0 70.5 36.671 2627517 0.05 71651 LAME 3.92 --aps 225.5 125.955 8389673 0.16 66608 Vorbis 1.0 -q -1 56.8 35.528 2117882 0.04 59612 Yes, FLAC is extremely fast in this comparison. I typically use "--fast" when ripping to FLAC, and re-compress the files later with a script using "--best". I know this doesn't gain me much in compression, but it sure speeds along the ripping process. Besides, taking such a step isn't all that unusual compared to some of the things the HA crowd does to their music... I also found the encoding speed of Vorbis to be quite interesting - regardless of what setting you choose, all the encoding times are roughly the same. Since I'm a GNU/Linux user, these are the codecs I feel are best suited for me and my OS. This is probably all the farther I'll take my testing - I have no other codecs, I'm not up for charts and graphs, and I'd end up in the loony bin if I attempted to ABX all the possible pairs of files...