HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - General => Topic started by: gourdo on 2012-09-02 04:57:14

Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: gourdo on 2012-09-02 04:57:14
I ripped most of my CD collection about six years ago with LAME 3.97b with the V2 preset. I recently had a hard drive crash and had to re-rip pretty much everything. Fortunately, i still had all the physical discs stored and in excellent condition, so I lucked out this time. I downloaded the latest version of LAME 3.99.5 to re-rip.

As it turns out, a few albums of the original 3.97 rips survived the crash (saved to an external SD card), so I was able to compare a number of tracks. I noticed that pretty much every newly ripped song had a lower bitrate (5-10kpbs) and file size than the ones ripped with 3.97. Is this to be expected due to the improvements in compression techniques made to LAME over the past several years? I suppose I would have expected the V2 preset to hover around the same average bitrate as the encoder improves, and that it would use the extra headroom to improve quality in difficult passages...
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: A_Man_Eating_Duck on 2012-09-02 07:13:10
A lot of changes have happened since v3.97.

http://lame.cvs.sourceforge.net/viewvc/lam...l?revision=HEAD (http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/history.html?revision=HEAD)

As long the rips sound transparent there is nothing for you to worry about.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: Aleron Ives on 2012-09-02 17:16:58
Remember that the goal of VBR lossy compression is to achieve a target quality at the lowest bitrate possible, so you are witnessing the improvements made by the LAME developers since 3.97. The new VBR mode is also much faster than the old one in 3.97, so continue your encoding process and enjoy the smaller files and the saved time.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: greynol on 2012-09-02 17:30:39
I know we're talking about 3.97 and not 3.98 but let's not be naieve...
http://www.hydrogenaudio.org/forums/index....showtopic=96681 (http://www.hydrogenaudio.org/forums/index.php?showtopic=96681)
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: halb27 on 2012-09-02 19:38:39
IMO a 5-10 kbps difference at -V2 isn't much of a concern, especially as it's about the difference between 3.99 and 3.97b here. There have always been minor differences in average bitrate when Lame versions changed.
As far as I can see with a quality level around -V2 average bitrate didn't change much when going from 3.98 to 3.99. At -V5 or similar as well as -V0 or similar it's another story.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: john33 on 2012-09-03 08:36:51
If memory serves me, that difference will likely be largely due to the improvement in the handling of 'silence'.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: shadowking on 2012-09-03 09:44:37
Its the 'fix' for sfb21 bloating. Forcing -Y on both 3.98 and 3.99 will show very similar bitrate.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: axemred on 2012-12-06 04:54:31
I recently re-ripped a CD (can't remember which one now. I think it was an Ozzy album) to test a new EAC install, and I setup 3.99.5 to encode it with V2. I had originally encoded it years ago with 3.90.3 aps. It's amazing how much smaller the files are. Some are 30kbps smaller. At first I thought I did something wrong, but after some reading, it looks like everything is ok. I didn't do any ABXing, but I ripped a few more albums and listened and didn't notice any artifacts. LAME has come a long way.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: shadowking on 2012-12-06 09:20:29
If one encodes aps -Y and V2 -Y you see a similar bitrate. It is a new handling of the sfb21 and it looks like a big improvement for lame. I checked the a standard V2 encode and the spectrum analysis (above 16khz) looked fine just like old versions.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: IgorC on 2012-12-06 12:36:55
It is a new handling of the sfb21 and it looks like a big improvement for lame.

Not sure about big improvements.
http://d.hatena.ne.jp/kamedo2/20111214/1323849399 (http://d.hatena.ne.jp/kamedo2/20111214/1323849399)
(http://cdn-ak.f.st-hatena.com/images/fotolife/k/kamedo2/20120124/20120124204236.png)

I have performed  my test also and could't find an imrpovement.
http://www.hydrogenaudio.org/forums/index....showtopic=96800 (http://www.hydrogenaudio.org/forums/index.php?showtopic=96800)

(http://i46.tinypic.com/2gtzvw0.png)
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: halb27 on 2012-12-06 16:45:36
What sample is the blue circle which is encoded significantly worse with 3.99.5 compared to 3.98 and 3.97?
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: lvqcl on 2012-12-06 17:31:36
Quote
What sample is the blue circle

Reunion blues aka Jazz.flac -- http://www.hydrogenaudio.org/forums/index....st&p=347102 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=39288&view=findpost&p=347102)

Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: Dynamic on 2012-12-06 19:02:58
It is a new handling of the sfb21 and it looks like a big improvement for lame.

Not sure about big improvements.


I think shadowking was referring not to sound quality changes but to bitrate improvements at roughly constant quality (and it's constant quality that VBR such as -V2 is trying to achieve), that have been achieved with some clever sfb21 handling (but largely disappear when using -Y, as that switch over-rides sfb21 bloat by ignoring accuracy requirements of the psymodel in that 16kHz+ band - though the frequencies are still present)

The error bars appear to support a Null Hypothesis that "there is no difference in average quality between -V2.5new and -V2.3old" over Kamedo2's test corpus to Kamedo2's ears, though specific samples vary noticeably. This doesn't speak to comparisons versus 3.90.3 --alt-preset standard, which is what shadowking referred to.

Thanks for pointing that out, by the way, shadowking. I hadn't realised that such improvements had been made in sfb21 handling over the years and thus in bitrate when -Y is not used.
Title: Lame 3.99.5 outputs smaller files than 3.97 ?
Post by: halb27 on 2012-12-06 19:27:40
Reunion blues aka Jazz.flac ...

Thanks a lot.