Favorite Lossless Encoding Format

Our "pub" where you can post about things completely Off Topic or about non-silent PC issues.

Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee

Post Reply

Which is your favorite lossless format (and why?)

Monkey's Audio (.APE)
6
60%
FLAC (.FLAC)
2
20%
Other (Please indicate below; please, no lossy formats!)
2
20%
 
Total votes: 10

Edward Ng
SPCR Reviewer
Posts: 2696
Joined: Thu Dec 11, 2003 9:53 pm
Location: Scarsdale, NY
Contact:

Favorite Lossless Encoding Format

Post by Edward Ng » Fri Feb 27, 2004 9:27 pm

Please choose your favorite lossless audio format.

-Ed

wumpus
Patron of SPCR
Posts: 946
Joined: Sat Sep 06, 2003 9:57 pm
Location: Berkeley, CA, USA
Contact:

Post by wumpus » Fri Feb 27, 2004 9:38 pm

There's no subjectivity in lossless, which makes this comparison kind of moot IMO. Whichever provides the smallest filesize is best.

The way I encode my MP3s-- VBR is the key-- I doubt you could hear the difference in a double-blind headphone test. :)

Edward Ng
SPCR Reviewer
Posts: 2696
Joined: Thu Dec 11, 2003 9:53 pm
Location: Scarsdale, NY
Contact:

Post by Edward Ng » Fri Feb 27, 2004 10:08 pm

Wrong.

There's also the following to consider:
1) Ease of encoding
2) Ease of tagging
3) Playback support (which softwares can play it back)
4) Speed of encoding

So it's not just about size.

I don't mean to sound harsh; I just felt that this was sort of obvious. I'm not stupid enough to compare two things when there's nothing to compare. There is a reason for comparison here.

-Ed

EDIT: PS: BTW (again, no offense intended), in order to get a noticeable difference between 100% VBR MP3 and lossless formats, you need, both, good, "ears," (as audiophiles call it), as well as sufficiently good equipment. Again no offense, as I am not saying your hearing is no good or your equipment is no good (I've no idea how good/bad your hearing or equipment is, and thus am in no position to judge), but back when I was using a set of Creative Labs FPS2000's hooked up to My SB Live! via Digital-DIN, there wasn't any tangible difference between WAVe audio and a 100%VBR MP3. With my current setup (Echo MiaMIDI, S/PDIF to Onkyo TX-SR501, driving Paradigm Reference Studio/20s via silver cabling), however, the difference is night and day. If you're anywhere near NY, I invite you to come over and hear for yourself.

sbabb
*Lifetime Patron*
Posts: 327
Joined: Tue Aug 19, 2003 10:04 am
Location: New Hampshire, USA

Post by sbabb » Fri Feb 27, 2004 10:21 pm

"Favorite Lossless Audio Format"?!?

That's edging a bit into the esoteric, isn't it?

Keep this up and I'll figure out a really obscure poll to see if I can get no votes at all :lol:

Maybe something like "Favorite 2D Image Convolution":
Sobel -vs- Difference Of Gaussians -vs- FFT -vs- Walsh-Hadamard Transform -vs- Binary Moments

Or perhaps "Favorite Capitalized Consonant Letter With Curved Lines":
B, C, D, G, J, P, Q, R, or S?

Of course I could be completely off base and you could get dozens of votes. I'm wrong about things all the time. :wink:


Scott

wumpus
Patron of SPCR
Posts: 946
Joined: Sat Sep 06, 2003 9:57 pm
Location: Berkeley, CA, USA
Contact:

Post by wumpus » Fri Feb 27, 2004 10:48 pm

Again no offense, as I am not saying your hearing is no good or your equipment is no good (I've no idea how good/bad your hearing or equipment is, and thus am in no position to judge),
Well, I own $500 worth of Sennheiser headphones (two sets), so let the equipment pissing match begin!

Lossless is kind of a waste, unless you MUST have archival copies (in which case I, shock and horror, buy the original CD). LAME VBR at a high enough bitrate is really indistinguishable from the original-- and I mean "double-blind headphone audiophile listener" indistiguishable. In other words, you can randomly pick the raw WAV and the high quality MP3, and the listener cannot tell which is which.

Like so:
LAME version 3.91 MMX (http://www.mp3dev.org/) (Win32 binaries from http://mitiok.cjb.net/)
The --alt-preset switches are designed to provide the highest possible quality.

They have for the most part been subject to and tuned via rigorous double blind listening tests to verify and achieve this objective.

These are continually updated to coincide with the latest developments that occur and as a result should provide you with nearly the best quality currently possible from LAME.

To activate these presets:

For VBR modes (generally highest quality):

"--alt-preset standard" This preset should generally be transparent to most people on most music and is already quite high in quality.

"--alt-preset extreme" If you have extremely good hearing and similar equipment, this preset will generally provide slightly higher quality than the "standard" mode.

Edward Ng
SPCR Reviewer
Posts: 2696
Joined: Thu Dec 11, 2003 9:53 pm
Location: Scarsdale, NY
Contact:

Post by Edward Ng » Fri Feb 27, 2004 10:52 pm

It happens to be archival I seek.

It also happens that I wish to avoid flip-flopping discs every time I go to listen.

It might just be the fact that I was encoding with MusicMatch instead of LAME; either way, I'll stick to what's, for a fact, precise reproduction. I've the space to spare.

-Ed

wumpus
Patron of SPCR
Posts: 946
Joined: Sat Sep 06, 2003 9:57 pm
Location: Berkeley, CA, USA
Contact:

Post by wumpus » Fri Feb 27, 2004 11:00 pm

Oh man, you really REALLY need to be using LAME. It is hands down the best MP3 encoding engine out there. Can't say enough good things about LAME.

For me, having the original CD (or archival copy I guess) gives me the luxury of using smaller encoding formats so I can fit more music on my portable devices.

The best "bang for the byte" for me personally is VBR MP3s on a moderately aggressive setting; I usually end up with files around ~160kbps average but it depends heavily on the content. VBRs take a lot longer to encode (like 4-5x longer) but they do a dramatically better job at capturing the dynamic range of the music-- eg, they use more bits to capture the hard stuff, while wasting less on the silence/easy stuff. Sounds much more "alive".

And don't even bother with VBR unless you're using LAME!

SometimesWarrior
Patron of SPCR
Posts: 700
Joined: Thu Mar 13, 2003 2:38 pm
Location: California, US
Contact:

Post by SometimesWarrior » Fri Feb 27, 2004 11:01 pm

Edward Ng wrote:EDIT: PS: BTW (again, no offense intended), in order to get a noticeable difference between 100% VBR MP3 and lossless formats, you need, both, good, "ears," (as audiophiles call it), as well as sufficiently good equipment.
Actually, audiophile-ears aren't particularly helpful in distinguishing lossy audio encodes from the original. And neither is equipment, for a large percentage of artifacts you'll find in lossy encodes.

Most importantly is training your ears to hear the artifacts particular to lossy encoding. I can't distinguish high-end audio equipment for beans, but I'm good at picking out the various artifacts in lossy audio because I've taken many listening tests. Also, as long as the listening equipment isn't absolute junk, you can hear just about every artifact imagineable, except perhaps for high-frequency errors, if your equipment can't reproduce it.

Dibrom, the guy who tuned the Lame --alt-presets, did most of his work with some cheap headphones and the speaker out of his laptop! I've done listening tests with crappy headphones plugged into the crappy headphone-out on my friend's crappy speakers (so much hiss!), and I was just as capable of distinguishing lossy from lossless.
Edward Ng wrote: There's also the following to consider:
1) Ease of encoding
2) Ease of tagging
3) Playback support (which softwares can play it back)
4) Speed of encoding
This is all very true. It's nitpicking to all but the most hardcore music collectors, though. I guess I belong in that group, too. :)

I picked FLAC, due to the mysterious fifth "thing to consider": speed of decoding. My other consideration was cross-platform support, and FLAC delivers in that respect, too.

Edward Ng
SPCR Reviewer
Posts: 2696
Joined: Thu Dec 11, 2003 9:53 pm
Location: Scarsdale, NY
Contact:

Post by Edward Ng » Sat Feb 28, 2004 12:03 am

Hey, sbabb?

I like:

S

:lol:

al bundy
Posts: 667
Joined: Thu Feb 20, 2003 5:38 pm
Location: Chicago, IL

Post by al bundy » Sat Feb 28, 2004 2:53 am

I agree, there are many reasons one could have for choosing a "favorite" format.

Personally, I nowadays just use EAC to pull best-quality disk images directly to .wav/.cue. I prefer the simplicity/compatibility, have no problem with space, and never want to worry about it any further than that. :D


8)

GenghiS_KhaN
Posts: 210
Joined: Sat Jul 19, 2003 1:40 pm
Location: Kortrijk, Belgium

Post by GenghiS_KhaN » Sat Feb 28, 2004 4:28 am

i also use exact audio copy (eac) and encode the files to .mp3 using the lame encoder... i have no complains but i dont really notice the difference between good and real good when talking about audio quality :)

sthayashi
*Lifetime Patron*
Posts: 3214
Joined: Wed Nov 12, 2003 10:06 am
Location: Pittsburgh, PA

Post by sthayashi » Sat Feb 28, 2004 8:41 am

al bundy wrote:Personally, I nowadays just use EAC to pull best-quality disk images directly to .wav/.cue. I prefer the simplicity/compatibility, have no problem with space, and never want to worry about it any further than that.
I wish I had your drive space. You DO realize that lossless means that you can get the exact wave format out as you did going in. I mean, use either flac or mac, and it'll save you some space, probably around 50%

As for me, I voted for Monkey's Audio, but truthfully, I think I should investigate OptimFrog and LosslessAudio, which have the best compression ratios, but the worst encoding/decoding speed.

wumpus
Patron of SPCR
Posts: 946
Joined: Sat Sep 06, 2003 9:57 pm
Location: Berkeley, CA, USA
Contact:

Post by wumpus » Sat Feb 28, 2004 2:26 pm

have the best compression ratios, but the worst encoding/decoding speed
Anyone got benchmark results, or filesize results comparing them all?

sthayashi
*Lifetime Patron*
Posts: 3214
Joined: Wed Nov 12, 2003 10:06 am
Location: Pittsburgh, PA

Post by sthayashi » Sat Feb 28, 2004 5:14 pm

wumpus wrote:Anyone got benchmark results, or filesize results comparing them all?
Not mine, but I trust the results.
http://web.inter.nl.net/users/hvdh/loss ... ssless.htm

wumpus
Patron of SPCR
Posts: 946
Joined: Sat Sep 06, 2003 9:57 pm
Location: Berkeley, CA, USA
Contact:

Post by wumpus » Sat Feb 28, 2004 10:05 pm

http://home.wanadoo.nl/~w.speek/comparison.htm

Looks like a relatively tight cluster around 55-60 percent compression for all of the ~12 lossless contenders. Considering a raw WAV file for a single song would be around (off the top of my head) 40 megabytes per 4 minute song, that's ~23mb per song. A high quality VBR version of the same file (~160kbps avg) would be 4.5mb.

Worst of all, the sound-specific compression algorithms exibit the same asymptotic response of general purpose compression algorithms (wizip, rar, etc)-- beyond a certain "sweet spot", you can expend hours of compression time for almost no improvement in size whatsoever. No magic bullet here..

Too rich for my blood! I'd rather keep the lossless versions offline on optical media, and the high quality compressed versions handy for use on a variety of devices.

sthayashi
*Lifetime Patron*
Posts: 3214
Joined: Wed Nov 12, 2003 10:06 am
Location: Pittsburgh, PA

Post by sthayashi » Sun Feb 29, 2004 11:54 am

wumpus wrote:Worst of all, the sound-specific compression algorithms exibit the same asymptotic response of general purpose compression algorithms (wizip, rar, etc)-- beyond a certain "sweet spot", you can expend hours of compression time for almost no improvement in size whatsoever. No magic bullet here..

Too rich for my blood! I'd rather keep the lossless versions offline on optical media, and the high quality compressed versions handy for use on a variety of devices.
If you feel daring and/or want to go completely nuts, you could try WavPack Hybrid or OptimFrog DualStream. What they can do is produce a lossy file and then produce a 2nd file of corrections. The lossless stream can be constructed from these two files. The idea behind this is so one could keep the lossy file on their computer and back up the correction file to CD.

The only disadvantage I know of is that it's not psycho-acoustically tuned (I think that's the right phrase). Meaning that it does not necessarily throw away the parts that you don't hear.

SometimesWarrior
Patron of SPCR
Posts: 700
Joined: Thu Mar 13, 2003 2:38 pm
Location: California, US
Contact:

Post by SometimesWarrior » Sun Feb 29, 2004 4:12 pm

sthayashi wrote:Not mine, but I trust the results.
http://web.inter.nl.net/users/hvdh/loss ... ssless.htm
That's a nice comparison! Thanks for sharing the link.

From the graphs, you can see why FLAC is the most popular lossless format for portable devices--It decodes very quickly.

SometimesWarrior
Patron of SPCR
Posts: 700
Joined: Thu Mar 13, 2003 2:38 pm
Location: California, US
Contact:

Post by SometimesWarrior » Sun Feb 29, 2004 4:30 pm

sthayashi wrote:If you feel daring and/or want to go completely nuts, you could try WavPack Hybrid or OptimFrog DualStream. What they can do is produce a lossy file and then produce a 2nd file of corrections. The lossless stream can be constructed from these two files. The idea behind this is so one could keep the lossy file on their computer and back up the correction file to CD.

The only disadvantage I know of is that it's not psycho-acoustically tuned (I think that's the right phrase). Meaning that it does not necessarily throw away the parts that you don't hear.
The most recent discussion of these "lossy-lossless" encoders at Hydrogenaudio is this thread, where several listeners compare Wavpack's new "hybrid" encoding with OptimFrog's and give feedback to David Bryant, the Wavpack developer. To summarize, bitrates are about twice as high as a good lossy encoder, but less than half of a completely-lossless encoder. Because these hybrid encoders don't have tuned psychoacoustic models (yet...), and because they encode music in a different manner from most lossy codecs, they have different distortions and artifacts. The most common problem with hybrid encodes is the addition of faint background noise, which can be heard by sensitive listeners. Occasionally, weird warbles and other problems show up. Extensive testing would likely reveal other problems as well. Hybrid encoders are still in heavy development, and plenty of work to be done before these hybrid encoders can compete with existing encoders for everyday encoding.

There are a couple of practical applications for hybrid encoders, though. One, of course, is the smaller "difference" files, which when combined with the hybrid file, recreate the original lossless file. Some people like the idea of archiving difference files to CD, rather than a whole lossless audio file. Another advantage for hybrid files is their transcoding friendliness: these hybrid encodes are reportedly good sources for transcoding to MP3, AAC, Vorbis, etc., much moreso than an already lossily-encoded file, and almost as good as a lossless file that's 2-3x larger. Basically, transcoding from one lossy file to another generates many more artifacts than simply encoding from the original lossless file. So, if you have a sizeable hard drive, but not one that's big enough for lossless archival of your entire collection, and you do a lot of portable-player listening, then hybrid encoders could be of some interest to you.

Seal
Posts: 522
Joined: Sat Oct 25, 2003 4:39 am
Location: Uk

Post by Seal » Mon Mar 01, 2004 4:42 am

i hear that aac is supposed to be the next big thing in lossy audio, from what ive read its the next generation MP4 to replace MP3's. Reading audiophile website aac ripped at 225kbps is their standard and compaires to 360kbps mp3. For excellent quality vs size.

I want to get into high quality audio but am struggling trying to find good quality aac audio.

SometimesWarrior
Patron of SPCR
Posts: 700
Joined: Thu Mar 13, 2003 2:38 pm
Location: California, US
Contact:

Post by SometimesWarrior » Mon Mar 01, 2004 1:24 pm

Seal, you're in luck! The latest round of 128kbps AAC audio tests has just completed at Hydrogenaudio. Check the news headlines on the front page for more information.

sthayashi
*Lifetime Patron*
Posts: 3214
Joined: Wed Nov 12, 2003 10:06 am
Location: Pittsburgh, PA

Post by sthayashi » Mon Mar 01, 2004 2:00 pm

SometimesWarrior wrote:Another advantage for hybrid files is their transcoding friendliness: these hybrid encodes are reportedly good sources for transcoding to MP3, AAC, Vorbis, etc., much moreso than an already lossily-encoded file, and almost as good as a lossless file that's 2-3x larger. Basically, transcoding from one lossy file to another generates many more artifacts than simply encoding from the original lossless file. So, if you have a sizeable hard drive, but not one that's big enough for lossless archival of your entire collection, and you do a lot of portable-player listening, then hybrid encoders could be of some interest to you.
You know, I am the guy that attempted the transcode test several months ago. Although I haven't received enough data to put out results, I can say that this small advantage appears to be BS.

SometimesWarrior
Patron of SPCR
Posts: 700
Joined: Thu Mar 13, 2003 2:38 pm
Location: California, US
Contact:

Post by SometimesWarrior » Mon Mar 01, 2004 4:53 pm

sthayashi wrote:You know, I am the guy that attempted the transcode test several months ago. Although I haven't received enough data to put out results, I can say that this small advantage appears to be BS.
Oh, didn't see your transcoding test (I was on HA hiatus at the time). I must have been thinking about Den's initial findings last April. I'll go read your thread now, to see what you had to say. Is this thread the one I should read?

NullObject
Posts: 151
Joined: Fri Jan 23, 2004 7:02 pm
Location: Chicago, IL

Post by NullObject » Thu Mar 04, 2004 7:58 pm

APE for lossless encoding of my CDs. I also keep everything in wmv format for use on my portable player. Eventually I'll have all my games and DVDs on harddrive.

I'm lazy and I don't like changing CDs or Movies. Its worth it, to me, to get additional hds to store everything.

sthayashi
*Lifetime Patron*
Posts: 3214
Joined: Wed Nov 12, 2003 10:06 am
Location: Pittsburgh, PA

Post by sthayashi » Thu Mar 04, 2004 9:06 pm

SometimesWarrior wrote:Oh, didn't see your transcoding test (I was on HA hiatus at the time). I must have been thinking about Den's initial findings last April. I'll go read your thread now, to see what you had to say. Is this thread the one I should read?
That's the discussion thread. I opened a listening test thread after that here.

Post Reply