Comparison : 24bit/192KHz/stereo FLAC vs. APE, How can it be ? |
![]() ![]() |
Comparison : 24bit/192KHz/stereo FLAC vs. APE, How can it be ? |
Jul 31 2008, 17:49
Post
#26
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Just a simple question : do TAK, APE and Optimfrog support multichannel ?
I'm asking this because otherwise they would be quite useless for most 24/192 files This reference wiki article says TAK, APE and Optimfrog do not support multichannel (maybe it needs to be updated ?), which would make WavPack the only serious alternative to FLAC for multichannel files : http://wiki.hydrogenaudio.org/index.php?ti...less_comparison BTW I'd really love if Josh Coalson would come across this thread. Hey, if TBeck has been able to fine-tune TAK and gain 10% in only a few hours time, maybe Josh could do something similar with FLAC ? EDIT : PM sent to Josh to inform him about this topic. This post has been edited by foorious: Jul 31 2008, 17:55 |
|
|
|
Jul 31 2008, 18:13
Post
#27
|
|
![]() Group: Members Posts: 99 Joined: 13-April 08 Member No.: 52748 |
BTW I'd really love if Josh Coalson would come across this thread. Hey, if TBeck has been able to fine-tune TAK and gain 10% in only a few hours time, maybe Josh could do something similar with FLAC ? Or Justin Ruggles. His Flake Encoder has usually a higher compression ratio at -99 compared to the FLAC reference encoder at -8. -------------------- WavPack 4.50.1 -hhx6 | LAME 3.98.2 -V 0
|
|
|
|
Aug 11 2008, 22:56
Post
#28
|
|
|
Group: Members Posts: 914 Joined: 22-October 01 From: the Netherlands Member No.: 335 |
I'm asking this because otherwise they would be quite useless for most 24/192 files I'd like to make a correction here. On DVD-Audio only stereo tracks (groups) can be 24bit/192kHz, the max for multi channel is 24bit/96kHz but 24/48 is not uncommon.The 192kHz sample rate is rather rare (on DVD-A) because it takes up a lot of space and often the (digital) sources were in a lower bit rate. @TBeck, Bryant or whoelse needs 1 or 2 (classical) 192kHz files for a test, have a look on the Lyndberg Lyd (2L) HiRes Download - test bench page. -------------------- In theory, there is no difference between theory and practice.
|
|
|
|
Aug 13 2008, 11:51
Post
#29
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Yes GeSomeone, no problem, my question was only about TAK, APE and Optimfrog not supporting multichannel.
I hope this thread will remain alive until some answer comes also from the FLAC side (after all we are in the FLAC subforum aren't we ?). I'm surprised that Josh, Justin or another FLAC dev haven't replied yet... maybe they're on holiday, who knows ? |
|
|
|
Aug 13 2008, 21:51
Post
#30
|
|
|
FLAC Developer Group: Developer Posts: 1526 Joined: 27-February 02 Member No.: 1408 |
sorry, been traveling a lot lately... it's hard for me to tell what's going on with this particular sample without the sample, but I think sebastian probably has it right. flac's current lpc coefficient precision may be sufficient with different/better lpc analysis. or it's always possible to extend like the rice parameter was.
I have a big backlog of experiments to work on re: lpc analysis and they are low-priority because almost no one is using such high sample rates (probably because it's a pointless waste of space, I mean really where is 20-20khz recording going to end, 1ghz?). but if someone has time to try out sebastian's ideas I would be open to incorporating improvements into the encoder. |
|
|
|
Aug 13 2008, 23:53
Post
#31
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Hi josh, thanks for joining in.
I understand your point, so I'd just like to emphasize on two things : - The "problem" with FLAC doesn't seem to be dependant on a particular sample. On my initial example, all 15 tracks showed the 20% size difference with APE. Take a look at the picture. - I agree with you, where is 20-20Khz recording going to end ? But the fact is in the forthcoming years we are going to see more and more 48 / 88 / 96 / 176 / 192 KHz music, in 24 or even 32 bits. Why ? Because the marketing guys have decided so : they want to replace all the CDs to sell more media (like BRDs are replacing DVDs), and there's not much we can do about it. I guess a major codec like FLAC can't go against the music market, even if it's not urgent yet. - Besides, I also think a major codec like FLAC can't afford to be distanced (by 20%, not by 2-3%) by other wide-used codecs like APE when it could probably perform as well with some (minor I hope) tweaking. If someone has the ability to work with Josh on this one by trying out Sebastian's ideas, that would be great for FLAC's future. Thanks ! |
|
|
|
Aug 14 2008, 09:24
Post
#32
|
|
![]() Group: Developer Posts: 1317 Joined: 20-March 04 From: Göttingen (DE) Member No.: 12875 |
I actually tested some LP coefficient quantization schemes. There's another popular algorithm that's used for preconditioning the ILS (=integer least squares) problem called LLL. So far I've only found a buggy Matlab implementation of this algorithm that's sometimes stuck in an infinite loop. But it usually gave even better coefficients compared to what I suggested earlier. Though, I'm not sure whether using the LLL algorithm for FLAC is really worth the hassle. Still, this lattice quantization problem is kind of intriguing. I'm going to check out the other LLL implementations that are mentioned by the wikipedia article ...
Cheers, SG This post has been edited by SebastianG: Aug 14 2008, 09:30 |
|
|
|
Aug 14 2008, 12:44
Post
#33
|
|
|
TAK Developer Group: Developer Posts: 1043 Joined: 1-April 06 Member No.: 29051 |
@TBeck, Bryant or whoelse needs 1 or 2 (classical) 192kHz files for a test, have a look on the Lyndberg Lyd (2L) HiRes Download - test bench page. Thank you! Especially the multi channel files will be useful for me. Unfortunately the 192 KHz files are bad examples... I've performed a frequency analysis with cooledit and it looks quite strange: Above about 48 KHz there seems to be a lot of noise. Possibly this is due to the noise shaping mentioned at the bottom of the download page: "DSD signals further require a noise shaping process to sustain the dynamic range of 120 dB within the primary bandwidth of 20 Hz - 20 kHz but that causes the noise spectrum to increase above 22 kHz." But i am not an expert in this area. I am sure those files will be very FLAC-friendly: Because of the high pitched noise they will not show it's inefficiency when dealing with low passed alike files. |
|
|
|
Aug 14 2008, 18:54
Post
#34
|
|
|
TAK Developer Group: Developer Posts: 1043 Joined: 1-April 06 Member No.: 29051 |
I am sure those files will be very FLAC-friendly: Because of the high pitched noise they will not show it's inefficiency when dealing with low passed alike files. I've got time to test it: CODE FLAC 1.2.1 -8 54.65 Monkey's Audio 3.99 Extra 53.34 TAK 2.0 (Developer version) -p3m 53.51 Exactly what i expected. But what are such 192 KHz files good for? Twice the space requirements than 96 KHz recordings only to add noise above 48 KHz? |
|
|
|
Aug 15 2008, 13:19
Post
#35
|
|
|
Group: Members Posts: 914 Joined: 22-October 01 From: the Netherlands Member No.: 335 |
But what are such 192 KHz files good for? Twice the space requirements than 96 KHz recordings only to add noise above 48 KHz? I forgot that L2 likes to record in (what they call) DXD, which is As I said I didn't bother with the 192kHz but the 96kHz 5.1 at least sounded pretty good. BTW could there be a -A function that could improve compression of 192kHz files? This post has been edited by GeSomeone: Aug 19 2008, 13:30 |
|
|
|
Aug 15 2008, 15:19
Post
#36
|
|
|
TAK Developer Group: Developer Posts: 1043 Joined: 1-April 06 Member No.: 29051 |
But what are such 192 KHz files good for? Twice the space requirements than 96 KHz recordings only to add noise above 48 KHz? I forgot that L2 likes to record in (what they call) DXD, which is like DSD but twice the sample rate.As I said I didn't bother with the 192kHz but the 96kHz 5.1 at least sounded pretty good. Thanks for the info! The 96 KHz files don't show any abnormalities in my evaluations. |
|
|
|
Aug 16 2008, 11:12
Post
#37
|
|
![]() Group: Developer Posts: 1317 Joined: 20-March 04 From: Göttingen (DE) Member No.: 12875 |
"[...] but if someone has time to try out sebastian's ideas I would be open to incorporating improvements into the encoder."
"[...] Still, this lattice quantization problem is kind of intriguing. [...]" Just in case anyone works on this: I sent Josh and Justin some C89 source code. It's able to compute approximations and the actual optimal set of quantized LP coefficients given a desired filter order and LP coefficient accuracy. edit: Since Josh and Justin might not have enough time at their hands to incorporate this in its current form I'm willing to share the source code with others, too (simplified BSD license). Cheers, SG This post has been edited by SebastianG: Aug 16 2008, 11:32 |
|
|
|
Sep 17 2008, 22:58
Post
#38
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Are there any upcoming developments on this matter from the FLAC side ? Thanks.
|
|
|
|
Sep 24 2008, 05:58
Post
#39
|
|
|
Group: Members Posts: 50 Joined: 17-April 08 Member No.: 52847 |
i encode my cd. flac compression is close to another codecs, but have greatly fast decoding speed. so flac is my choice.
|
|
|
|
Sep 24 2008, 06:33
Post
#40
|
|
|
FLAC Developer Group: Developer Posts: 1526 Joined: 27-February 02 Member No.: 1408 |
|
|
|
|
Sep 26 2008, 00:55
Post
#41
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Thanks Josh. I just hope you'll keep an eye on this issue for a future FLAC release. Let it be a (small) part of your 'to do list' for the future. Thank you.
|
|
|
|
Mar 25 2009, 00:34
Post
#42
|
|
|
troll / ban evasion Group: Banned Posts: 244 Joined: 22-April 08 Member No.: 52991 |
Hi there, are there any news on this matter ? It's been a long time, and it would be great if the next FLAC version could come with some enhancements for those 24 bit / 48-88-96-176-192 KHz files.
Josh, please don't forget this. Thank you. |
|
|
|
May 19 2009, 18:36
Post
#43
|
|
![]() Group: Members Posts: 175 Joined: 22-March 09 Member No.: 68263 |
I just noticed the last SVN Flake is on par with Monkey's Audio
I downloaded FL Studio (again) on Windows just to play around with it, and generated a 192kHz/24-bit file from one of the demo's (SolidInc - What I Found) which has quite some content at around 80.000Hz. FLAC is on par with Monkey's there. When I lowpass it at 20.000Hz and keep it in the 192kHz/24-bit and encode it with Flake it even outperforms Monkey's. CODE Original, not lowpassed audio file Wave: 296,5MB, duration 4:29 FLAC -8: 57,2%, took 43 sec (encoding CPU) Flake -8: 54,4%, took 28 sec Monkey's -c3000: 53,4%, took 38 sec Wavpack -hh -x4: 53,6%, took 856 sec lowpassed FLAC -8: 53,9%, took 41 sec Flake -8: 44,1%, took 29 sec Monkey's -c3000: 44,7%, took 37 sec Wavpack -hh -x3: 50,2%, took 187 sec Wavpack -hh -x4: 27,0%, took 842 sec Of course this isn't an in-depth analysis, but it shows that it is indeed a problem with the reference encoder, not with the FLAC format. As you can see, Wavpack's custom filters compress surprisingly better. This post has been edited by ktf: May 19 2009, 19:30 -------------------- Music: sounds arranged such that they construct feelings.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 21:58 |