Is a high compression lossless codec possible?
Feb 18, 2009 at 2:01 AM Thread Starter Post #1 of 22

Jeff Guidry

Headphoneus Supremus
Joined
Apr 6, 2002
Posts
2,614
Likes
13
I was considering that the major sellers of digital music files have not started offering lossless downloads. I would love to be able to purchase full albums losslessly from iTunes or any other service, but it does not appear that such offerings are on the horizon.

It occurred to me that part of the reason might be that lossless files are still rather large, and the companies selling digital music might not want to store so much information losslessly, or they want to control bandwidth costs by sending out smaller files.

Question: is it theoretically possible to have losslessly compressed files significantly smaller than currently exists (I believe the typical lossless codec can make a file generally between 40-60% smaller than the original)? Are there any breakthroughs on the way?
 
Feb 18, 2009 at 3:27 AM Post #2 of 22
That's on par with current compression technologies. To go any farther, you have to go to some VERY CPU-intensive compressions, such as 7zip, which just aren't worth the tradeoff.
 
Feb 18, 2009 at 5:54 AM Post #3 of 22
in fact, "juno downloads" let you the option to download in wav,and you can also choose to download in flac(that's kinda new feature i think).
but it cost a whole lot more than lossy.
 
Feb 18, 2009 at 4:43 PM Post #4 of 22
Well, that Juno Downloads looks like it's a specialty site for dance music...I'm talking about more general sites like iTunes and Amazon, etc. I know that some band websites, etc. offer lossless downloads.

ADDED: Gosh, 2.47 USD for a .wav track? That's pretty spendy...but it looks like you get a fairly good discount for buying all the tracks on an album...
 
Feb 18, 2009 at 4:52 PM Post #5 of 22
yes..i downloaded a few tracks from there, it's not cheap but it's worth it
if you really want the songs. all the tracks i downloaded from there you cant find in my country and they usally coming out on vinyls and singles,and ordering from abroad will cost me prtty much the same.

but you should try to search juno for other downloads except dance,i know that i once searched the site for rush and sigur ros and found a bunch of meterial. try it.
 
Feb 18, 2009 at 6:20 PM Post #6 of 22
There are compression methods which are way better than the standard ones which are being used right now. However, it's way too CPU intensive to decode them right now though. (like has been said before) The internet already is fast enough for lossless downloads and space is also cheap enough.

Just a fun link: KGB Archiver homepage

That's a program which does some really good compression. Do expect it to take a while even on a multi-core processor. Note that you can't compress already compressed files very well because of the Shannon limit.
 
Feb 18, 2009 at 8:28 PM Post #7 of 22
The KGB archiver FAQ says: "you cannot compress graphics or music very well" with the program because the data is too differential. This I believe is the problem with .zip as a music compressor. It does not appear that the KGB archiver is the magic bullet I was looking for for music...
frown.gif
 
Feb 18, 2009 at 10:48 PM Post #8 of 22
Lossless files are already compressed quite a bit and it's not that they are huge. One album is like what, 300MB?
 
Feb 19, 2009 at 11:57 AM Post #9 of 22
I am sure there are ways to improve compression of audio files beyond what the codecs do today. But I doubt there are very much to gain, and it will hit encoding time (CPU power) quite hard. And probably also decoding time.

Most compressors taking the lead when it comes to compression rates are specialized for text, and don't do to well for audio data. Like PAQ8P, WinRK, PAsQDa, NanoZip, Durilca, KGB, ...
Maximum Compression (lossless data compression software)
 
Feb 19, 2009 at 2:45 PM Post #10 of 22
FLAC has variable compression settings, but as already has been stated, the higher ones take ages and are extremely intensive to decode.
 
Feb 19, 2009 at 5:28 PM Post #11 of 22
Quote:

Originally Posted by Jeff Guidry /img/forum/go_quote.gif
The KGB archiver FAQ says: "you cannot compress graphics or music very well" with the program because the data is too differential. This I believe is the problem with .zip as a music compressor. It does not appear that the KGB archiver is the magic bullet I was looking for for music...
frown.gif



That's why I posted it as a fun link. You can compress things like MS Office really well. The answer to your question is faster internet and more hard drive space I'm afraid. Both of them are getting better pretty quickly.
 
Feb 27, 2009 at 10:48 PM Post #12 of 22
Quote:

Originally Posted by Currawong /img/forum/go_quote.gif
FLAC has variable compression settings, but as already has been stated, the higher ones take ages and are extremely intensive to decode.



Actually... FLAC's with higher compression take longer to ENcode, almost all of the hard work is done by the encoder, not the Decoder. FLAC compression level 8 takes WAY longer to encode than level 4.

FLAC - faq
 
Feb 27, 2009 at 11:11 PM Post #13 of 22
theres also levels above 8 IIRC up to 10 and some super duper compressed one from a bootleg flac.exe from hydrogen audio that needs a high buffer on most machines to playback gapless. I personally dont have any problem encoding or decoding flac (encode of an album takes about 4 minutes and i'll get a buffer every 8 hours or so if I do something cpu intensive), but yeah.
As for the question, if we're talking high compression like 10% the size of flac, within reasonability then no, not currently. You'd be lucky to get much runtime from a portable setup using that sort of file, or decode them well on a home rig.
However, you can get very small files with inaudible loss (according to hydrogenaudio) such as the oggenc provided there (also bootleg) where they say its inaudibly lossy at about 160kbps
 
Feb 28, 2009 at 12:24 AM Post #14 of 22
^ Try the following flac option for high compression:
wink.gif

Code:

Code:
[left]flac --lax -P 4096 -b 4608 -m -l 32 -e -p -q 0 -r 0,16[/left]

Its almost identical to the old, and no longer working, "flac --super-secret-totally-impractical-compression-level"
 
Mar 2, 2009 at 10:50 PM Post #15 of 22
Quote:

Originally Posted by Jeff Guidry /img/forum/go_quote.gif
Question: is it theoretically possible to have losslessly compressed files significantly smaller than currently exists (I believe the typical lossless codec can make a file generally between 40-60% smaller than the original)? Are there any breakthroughs on the way?


Wouldn't be holding your breath. Twenty years ago lossless got about 2:1, and that ratio has hardly changed since then.
Fundamentally the question is, 'How different from noise is music?'. You can't compress noise. So as music becomes more tonal, it becomes more easily compressed. Therefore different types or genres of music will have different compression ratios. But overall a 50% reduction seems to be about all we're going to get.
 

Users who are viewing this thread

Back
Top