HydrogenAudio

Lossy Audio Compression => MP3 => MP3 - Tech => Topic started by: Gabriel on 2003-05-04 16:40:47

Title: Lame 3.94a14
Post by: Gabriel on 2003-05-04 16:40:47
Updated: abr presets using >16kHz lowpass should be slightly improved on short blocks

Modified presets: portable/portable1 (2 candidates remaining, which one should be selected?)

New presets:
fast extreme
fast standard
fast medium
radio

edit: corrected a problem causing dropouts on may 8th. You should be able to get a fixed version on may 9th, depending on how quick compiles are updated. In the meantime, I'm providing a fixed version.
Title: Lame 3.94a14
Post by: john33 on 2003-05-04 18:26:44
win32 binaries at RareWares, now.
Title: Lame 3.94a14
Post by: [JAZ] on 2003-05-04 19:10:00
Quote
win32 binaries at RareWares, now.

You forgot to change the file link (it still links to the a13 one).
Title: Lame 3.94a14
Post by: SNYder on 2003-05-04 19:48:44
Does anyone have an approximate idea of when the a 3.94 stable build will be released?  Or could that really depend on a billion different factors?
Title: Lame 3.94a14
Post by: john33 on 2003-05-04 21:13:26
Quote
,May 4 2003 - 06:10 PM]
Quote
win32 binaries at RareWares, now.

You forgot to change the file link (it still links to the a13 one).

Ooops!! Sorry about that. Changed it now.
Title: Lame 3.94a14
Post by: Atlantis on 2003-05-05 15:20:04
Quote
Modified presets: portable/portable1 (2 candidates remaining, which one should be selected?)

I'm playing around with portable presets.

On this sample
http://static.hydrogenaudio.org/extra/samp...ic_fields2.flac (http://static.hydrogenaudio.org/extra/samples/test_samples/magnetic_fields2.flac)

it's extremely easy to hear ringing/watery artifacts
Quality : I'll have to abx them tonight / next days
Bitrate-wise (for a portable device like, let's say, muvo) I would prefer portable1.


lame --preset portable magnetic_fields2.wav
LAME version 3.94 MMX (alpha 14, May  4 2003 18:18:47) (http://www.mp3dev.org/)
warning: alpha versions should be used for testing only
CPU features: i387, MMX (ASM used), SIMD
Using polyphase lowpass  filter, transition band: 16538 Hz - 17071 Hz
Encoding magnetic_fields2.wav to magnetic_fields2.wav.mp3
Encoding as 44.1 kHz VBR(q=4) j-stereo MPEG-1 Layer III (ca. 10x) qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  330/332    (99%)|    0:03/    0:03|    0:03/    0:03|  2.2799x|    0:00
32 [  1] *
40 [  0]
48 [  0]
56 [  0]
64 [  1] *
80 [  0]
96 [  3] **
112 [ 21] %*******
128 [ 87] %%%*****************************
160 [185] %%%%%%%%**********************************************************
192 [ 29] %%*********
224 [  6] ***
256 [  0]
320 [  0]
average: 151.3 kbps  LR: 34 (10.21%)  MS: 299 (89.79%)
Writing LAME Tag...done
ReplayGain: -7.3dB


lame --preset portable1 magnetic_fields2.wav
LAME version 3.94 MMX (alpha 14, May  4 2003 18:18:47) (http://www.mp3dev.org/)
warning: alpha versions should be used for testing only
CPU features: i387, MMX (ASM used), SIMD
Using polyphase lowpass  filter, transition band: 16538 Hz - 17071 Hz
Encoding magnetic_fields2.wav to magnetic_fields2.wav.mp3
Encoding as 44.1 kHz VBR(q=4) j-stereo MPEG-1 Layer III (ca. 10x) qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
  330/332    (99%)|    0:03/    0:03|    0:03/    0:03|  2.3179x|    0:00
32 [  1] *
40 [  0]
48 [  0]
56 [  0]
64 [  0]
80 [  4] **
96 [  7] ****
112 [ 44] %*********************
128 [122] %%%%%********************************************************
160 [133] %%%%%%%%%%%*******************************************************
192 [ 14] %******
224 [  8] %***
256 [  0]
320 [  0]
average: 142.1 kbps  LR: 34 (10.21%)  MS: 299 (89.79%)
Writing LAME Tag...done
ReplayGain: -7.3dB
Title: Lame 3.94a14
Post by: mithrandir on 2003-05-07 19:50:02
I think we've got a problem here. alpha14 is sounding horrible with the presets on one sample I found. I think it has something to do with short blocks and nspsytune.

I'll have to provide the sample when I get home but the opening section of "Exhausted" on the Foo Fighters self-titled album artifacts heavily with alpha14. The music is very distorted and gravelly-sounding guitar, lots of little impulses. Looking at Encspot, LAME is using a lot of short blocks on this sample. I tested it with alpha13 and it sounds OK but alpha14 is definitely problematic...lots of added noise. This happens with --preset [bitrate], --preset medium and --preset standard. It does NOT occur with plain CBR (which uses GPSYCHO), but it does occur with any commandline using --nspsytune. This says there is a problem with nspsytune.
Title: Lame 3.94a14
Post by: mithrandir on 2003-05-07 20:13:02
Sorry to say but alpha14 is garbage. Now I am noticing watery cymbals even with --preset standard on several other tracks of the same album. Fortunately the root cause of this problem shouldn't be too hard to find since it affects everything (that I know of) that uses nspsytune.
Title: Lame 3.94a14
Post by: S_O on 2003-05-07 22:53:14
I encoded something using this commandline (for a little avi-movie):
--preset cbr 56 -mm --resample 22050 -t
The result sounds much worse than the encode of 3.93.1. I analysed the files with Encsopt, and the result was: only short blocks in the alpha14-file (100%)! With 3.93.1 long blocks are 98,8%.
Title: Lame 3.94a14
Post by: mithrandir on 2003-05-08 04:09:57
Here are some samples.

This is the distorted guitar sample:

3.94a14 --preset standard (http://mywebpages.comcast.net/mithrandir/exhausted.mp3)
FLAC (http://mywebpages.comcast.net/mithrandir/exhausted.flac)

This file has watery guitar and cymbals:

3.94a14 --preset standard (http://mywebpages.comcast.net/mithrandir/bigme.mp3)
FLAC (http://mywebpages.comcast.net/mithrandir/bigme.flac)
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 11:04:51
I listened your 2 samples, and I think tha I need more indications.
On "exhausted" I'm hearing a click around 1.5s, but it's also in the flac file.
According to your post, distortion on those 2 samples seems to be obvious to you.

Do I need to listen a specific portion, or to listen very loud? I am asking because at first glance, it seems ok to me.
Title: Lame 3.94a14
Post by: guruboolez on 2003-05-08 11:31:00
I found cymbals, on bigme.mp3, a bit distorted, but not really chocking (in the mp3 line).
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 12:16:27
Note: I'd be interested by a sample where a14 standard is worst than a13, because theorically that should not happen.
Title: Lame 3.94a14
Post by: tigre on 2003-05-08 12:32:31
IMO mithrandir's Exhausted sample sounds awful (for what I expect from aps). It has been the easiest to ABX (8/8 in 2 minutes) aps sample ever (except some pre-echo killer samples) for me.

The difference sounds comparable to a bottle of soda water that isn't closed properly.
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 12:44:12
According to you, does it sounds different than a13?
Title: Lame 3.94a14
Post by: tigre on 2003-05-08 12:45:20
Yes. Just tested. No soda water with 3.94a13.

Edit: If you have a look at spectral view you see dropouts at 6000-8000 Hz and 12000+ Hz in a14 (not there in a13).
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 13:02:58
On gabriel.mp3-tech.org/lame I just uploaded 2 test versions. Could you do a quick test with those?
Title: Lame 3.94a14
Post by: mithrandir on 2003-05-08 13:35:41
lame_test1 still has the problem.

lame_test2 sounds OK.

lame_test1 sounds like someone took a piece of sandpaper to the sample and rubbed. And yes, it does sound like there are dropouts in the lower treble range. Some of the signal p-p-p-peters in and out, like the sound your lips make when blowing into a brass instrument.

If you want to make the difference more pronounced, try --preset medium. lame_test2 is transparent on --preset medium, but test1 is simply awful.
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 13:37:40
Ok, I'm trying with medium...
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 14:01:49
With medium it's obvious on exhausted.flac

I commited the fix (well, I disabled some code). The result should now be the same as test2. (if you want to test a14 you can use it )
Title: Lame 3.94a14
Post by: robert on 2003-05-08 15:25:14
@Gaby

maybe you should take a look at how the short block values are stored in your array.
after a quick look it seems you guess they are layed out like
192 components (block 0)
192 components (block 1)
192 components (block 2).
iirc those blocks are interleaved, such that
component 0 (block 0, 1, 2)
component 1 (block 0, 1, 2)
...
component 191 (block 0, 1, 2)

but its been ages since i kept an eye on that, so it may have changed twice.
Title: Lame 3.94a14
Post by: Gabriel on 2003-05-08 17:56:15
You are right about my guess...
Now, I think that I have to rewrite this loop
Title: Lame 3.94a14
Post by: Big_Berny on 2003-07-28 08:12:39
HEY, wazzup with Lame 3.94? Will there ever be a Final-Version? Alpha14 was created in MAY!

Big_Berny
Title: Lame 3.94a14
Post by: Gabriel on 2003-07-28 10:56:29
Quote
Will there ever be a Final-Version?

Yes, but not with 3.94. 3.94 will only be released as a beta.
Title: Lame 3.94a14
Post by: Jojo on 2003-07-29 16:24:57
Quote
Quote
Will there ever be a Final-Version?

Yes, but not with 3.94. 3.94 will only be released as a beta.

So why is that? Nevertheless, there definitely will be a new release that solves all confuses with the different releases? I mean people usually use the latest release, since this is supposed to be the best one…the same should be accomplished for LAME!
Title: Lame 3.94a14
Post by: Gabriel on 2003-07-30 08:09:58
Because it is impossible to have a stable release without having released a beta first.
Title: Lame 3.94a14
Post by: .lu on 2003-08-02 18:49:51
I heared about LAME 3.94 is going to be better in bitrates below 128? Will there once be a special speech compression?
SimplePortal 1.0.0 RC1 © 2008-2021