Log in

View Full Version : Which parameters do you use for "Lame/Azid" ?


yosemite
3rd January 2002, 12:44
hi,

the standard parameters for Lame (in BeSweetGUI) are: ( -b 128 ) !

But I guess that is not the parameter to get a "perfect" sound, at least better as the ( -b 128 ) paramter.

So, which parameters do u use at Lame and which parameters do u use for Azid?
Which parameters do u think give u the best soundquality with this 2 programs?

Ripe73
3rd January 2002, 12:52
Hey!!!!
I use --alt-preset 128 for 1 cd and --r3mix for 2cd in the expert mode.
I think it is very good

yosemite
3rd January 2002, 12:57
thanks Ripe,

maybe you wanna know it: someone said me I should use these parameters here:

-h -m s -b 128 --resample 48

What do u and other think abou that?
And do u all think like Ripe that"--alt-preset 128 for 1 cd and --r3mix for 2cd" is the best methode or do use another setting?
(nothing against u Ripe ;))

MaTTeR
3rd January 2002, 18:28
Using LAME and the --alt-presets are the way to go for now until the VBR code gets tuned later this year.

As for your command line, you will have a better quality MP3 if you use --alt-preset 128

yosemite
4th January 2002, 09:19
hi Matter,

these parameters uses Ripe73 for 1CD Rips, too!
Do u use it for both kinds of Rips , 1 CD & 2 CDs?

MaTTeR
4th January 2002, 17:00
Yes, if it's a 2 CD rip sometimes I'll use --alt-preset standard or just keep the DD 5.1 file. Otherwise, I'll just use something like --alt-preset 128 or maybe even 140. This give's me a nice ABR file which still retains the DPL information and sounds pretty nice.

yosemite
4th January 2002, 18:02
and hwat do u think about my: -h -m s -b 128 --resample 48

and Ripe73's: --alt-preset 128 for 1 cd and --r3mix for 2cd

?

MaTTeR
4th January 2002, 18:07
Hi yosemite,

I wouldn't use your command line. Again, try the --alt-preset ABR file and you'll get much better results. Ripe73 looks like his will work very well. However, please note that --r3mix is now obsolete and --alt-preset standard takes it's place. Some people still choose to use r3mix with pretty good results though. You should do a listening test and see what suits your needs.

serbersan
4th January 2002, 18:24
Well my 2 cents:

1 CD --> --alt-preset 112-140 (depends how undersized file produce Divx)

2 CD --> --alt-preset standard -b 96
--alt-preset fast standard (for good speed)
--alt-preset 140-170

I think with 140 or more the sound is very good and I have a good equipment to see and hear movies. Note, when you see a movie you are not too much concentrated in the sound hence I doubt you hear artifacts.

I use -b 96 because it undersizes the audio with virtual no loss in quality, I say that only for movies, I think again that you not pay attention to artifacts and the sound it's very very good.

I'm not sure about the useful of --r3mix, the fast standard it's very fast and the quality is superior and the filesize should be more or less the same (and r3mix it's outdated).

Another advice, don't use xtreme or insane, it doen't worth the effort I think for a 2 CD movie you can't hear the difference and you are wasting space.
Don't add switches to the presets only if you want use the -b 96 with standard nothing more. And I think in general you are wasting space for the video if you go more than a 170kbps average.

Sorry for my insistence but one more thing, when the sound is in general a conversation like with Good Will Hunting, I think 130kbps is good enough...listen your movie before compress the sound.

Sergio.

Got Milk?
4th January 2002, 19:06
Originally posted by yosemite
and hwat do u think about my: -h -m s -b 128 --resample 48

and Ripe73's: --alt-preset 128 for 1 cd and --r3mix for 2cd

? Isn't --resample 48 redundant as the source file is 48kHz anyway?

I use --r3mix --resample 44.1 for my rips (all 2 CDs). Although --r3mix is obselete now, I'm happy with the size/quality of it so I'll stick with it for a while at least :)

--resample 44.1 makes the files a bit smaller and my ears can't tell the difference.

serbersan
4th January 2002, 19:15
--resample XX is redundant, and don't use your own presets or swithces, the presets that includes lame (see --alt-preset help) are very very tuned, included at a code level in lame. You couldn't do better with you own preset maybe worse.

And about --r3mix, why don't use --alt-preset fast standard -b 96 instead?, the quality is better and I think the filesize and speed are good.

yosemite
5th January 2002, 12:48
hi,

for the "--alt-preset standard -b 'xy' " guys!

OK, I've choosen ur way of the --alt-preset standard... , but with that I get always an Error.

Here is the .Log File of the process:

______________________________________________
Encoding Job Data:

Type: EncAudio
Number: 1
Name: Movie 1
Platform: WinXP (5.1.2600).2
Audio:
mode: ac3 -> mp3
sourceFile: D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.ac3
wavFile: D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.wav
mp3File: D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms_1.mp3
azid: "-L -3db -c normal"
lame: "--alt-preset standard -b 96"
delay: 1002
interval: 2
preload: 500
mux: 1
recalc: 1
deleteWav: 1
none.


12:00:54: Started Transcoding Audio.

12:00:54: Azid: Trying to find maximum gain value for D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.ac3
Commandline: D:\PROGRA~1\GORDIA~1\azid.exe -L -3db -c normal -g 30dB -N "D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.ac3"
12:07:18: Azid: Finished. Duration: 6 minutes, 23 seconds.

12:07:18: Azid: Decoding D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.ac3
12:07:18: Azid: Using gain -g 15.7dB
Commandline: D:\PROGRA~1\GORDIA~1\azid.exe -L -3db -c normal -g 15.7dB "D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.ac3" "D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.wav"
12:14:58: Finished. Duration: 7 minutes, 40 seconds.

12:14:58: LAME: Encoding D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.wav
Commandline: D:\PROGRA~1\GORDIA~1\lame.exe --alt-preset standard -b 96 "D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms.wav" "D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms_1.mp3"
12:14:59: Finished. Duration: 0 seconds.

12:14:59: Deleting Wav-File.
12:14:59: Successful.

12:14:59: Audio Done.
12:14:59: ERROR: MP3-File-Size is zero! Transcoding failed.
12:14:59: MP3 Audio File = D:\DVD\American Pie\American Pie AC3 T01 3_2ch 448Kbps DELAY 1002ms_1.mp3
Total Encoding Time: 14 minutes, 4 seconds.
05.01.2002 12:14:59: Job "Movie 1" finished.
_____________________________________________________________________


What is wrong here?
If I make it with "-h -m s -b 128 --resample 48" it works fine, but if your methode is much better than mine, I wanna use that sure!

But what's wrong?

Pasqui
5th January 2002, 15:26
Are you sure you have lame 3.91 ?

yosemite
5th January 2002, 17:13
oh !

just 3.89 or 3.90 !

is that the problem?

serbersan
5th January 2002, 17:25
Originally posted by yosemite
oh !

just 3.89 or 3.90 !

is that the problem?

Yes it could be:o ¡

Donwload 3.91 and use:

--alt-preset standard -b 96
--alt-preset fast standard -b 96 (Much more speed without loss in quality)


Download from:

lame 3.91.zip (http://mitiok.free.fr/lame-3.91.zip)
lame 3.91.zip (http://www.xs4all.nl/~jult/lame3.91.zip)
lame 3.91.zip (http://radified.com/Files/lame_391.zip)[

In any case if it's a problem with BSweet you could do this:



lame --alt-preset standard -b 96 a.wav a.mp3


whithin a DOS box.

MaTTeR
5th January 2002, 17:37
BeSweet can't yet handle the --alt-presets unless your using the hacked 3.91 DLL.

You could use RazorLame with LAME 3.91 to encode your WAV file and then mux the audio later.

BTW- The standard setting most likely won't work if your trying to encode a movie to 1 CD. 2 CD would give you enough room though. Othrewise, use an ABR setting if you need a smaller filesize for 1 CD.

Got Milk?
5th January 2002, 17:43
Originally posted by serbersan
--resample XX is redundant, and don't use your own presets or swithces, the presets that includes lame (see --alt-preset help) are very very tuned, included at a code level in lame. You couldn't do better with you own preset maybe worse.

And about --r3mix, why don't use --alt-preset fast standard -b 96 instead?, the quality is better and I think the filesize and speed are good. I read that --alt-preset... makes bigger MP3s than --r3mix, and as I'm quite happy with the quality I get with --r3mix I stick with that.

yosemite
6th January 2002, 00:36
ok, if i do it with ur "--alt preset..." it works fine now! ;)

but the MP3 files are a little bit to big which comes from the over 300kbps he uses for the sound.

How can I make a border, so that he set his highest level on eg. 192kbps?
Is that possible?

MaTTeR
6th January 2002, 00:40
Ok, let me repeat myself:eek:

Try this-
--alt-preset 140

This gives you a nice ABR MP3 file that retains the Dolby Pro Logic info for surround. If that file is to large then use-

--alt-preset 128
or
--alt-preset 120

yosemite
6th January 2002, 14:29
ok, i try it

But now another important question about that "--alt preset..." stuff:

What I have tell Gordian Knot about my AUDIO A settings?
I cannot choose "128kbps" because this rate isnt constant as u know!

What can I do now? Do I have to say G-Knot the filesize of my MP3 file with --alt -preset... , well that would mean that I have to create that MP3 file at first.
Or is there another way to tell Gordian Knot about my MP3 file which hasnt a constant bitrate?

serbersan
6th January 2002, 15:49
Tell the final size or calculate yourself, think that kbps are 144 for example:

Final size ---> 144 / 8 x (duration in seconds) /1024 = Size in Mbytes

Or simply mux the sound you with Nandub Manually

yosemite
7th January 2002, 17:55
sometimes, my movies became too big, if G-Knot mux them with the "--alt -prest ..." audiotrack!

What can I do?

LotionBoy
7th January 2002, 23:58
one note here. THe Alt presets resample to 44.1 by default (grr). You need a --resample 48 in the command line to keep them from doing that.

LotionBoy

MaTTeR
8th January 2002, 00:08
@LotionBoy
I noticed the resampling also. Are you sure it happens at all bitates though? I was thinking it doesnt occur at 140, 160 or higher bitrates. I could be wrong though.

Sven Bent
8th January 2002, 08:19
lame.exe --alt-preset 128 --lowpass 18.5
note that this is abr mode

my lowpass is only there becuse elss i can hear the cut-off, and that is more annoying that the few artifacts lowpass 18.5 might introduce.
yu odont need resample 48 as lame keep orginal sample rate at 128kbits

LotionBoy
8th January 2002, 16:42
ah, that would probably explain it, because I was working at --alt preset 112.

LotionBoy

ChristianHJW
8th January 2002, 17:40
Lame ABR will resample to 32 KHz if bitrate is < 103 kbps. Never heard of resampling from 48 to 44.1 .....

LotionBoy
8th January 2002, 21:39
kinda annoying, IMO, but yeah it downsamples to 44.1 under 128. I wonder if there is a good reason for that in terms of quality.

LotionBoy

ChristianHJW
8th January 2002, 22:13
... downsampling in Lame is working completely different to what programs like SSRC are doing on WAVs. They simply set a different number of blocks for a certain time .... cant tell you precisely.

I would tend to think that this can be done quite easily when a 48 KHz WAV is downsampled to 32 KHz ( 3 x 16 , 2 x 16 ).... but dont ask me about quality if a 48 is downsampled to 44.1 or 44.1 to 32 KHz ...

MaTTeR
9th January 2002, 01:55
I've got to think that LAME's downsampling isn't near the quality as what SSRC provides.

Anyone know off hand if the LAME 3.91 still supposedly has problems encoding @ 48khz? I personally have never seen a problem but was wondering if the problem still existed.

LotionBoy
9th January 2002, 17:40
I've never heard of a problem with LAME at 48. I've never heard any problems, but I'm the first to admit my ears aren't great. (I can har the difference between 96, 128, and 192 and that is about it).

LotionBoy

tangent
10th January 2002, 15:13
Originally posted by ChristianHJW
... downsampling in Lame is working completely different to what programs like SSRC are doing on WAVs. They simply set a different number of blocks for a certain time .... cant tell you precisely.

I would tend to think that this can be done quite easily when a 48 KHz WAV is downsampled to 32 KHz ( 3 x 16 , 2 x 16 ).... but dont ask me about quality if a 48 is downsampled to 44.1 or 44.1 to 32 KHz ...

There was a small test done on the quality of resampling methods.
http://66.96.216.160/cgi-bin/YaBB.pl?board=c&action=display&num=1010178496

tangent
10th January 2002, 15:23
Originally posted by MaTTeR
I've got to think that LAME's downsampling isn't near the quality as what SSRC provides.

Anyone know off hand if the LAME 3.91 still supposedly has problems encoding @ 48khz? I personally have never seen a problem but was wondering if the problem still existed.

When Dibrom was still tuning the --alt-presets, there was one version where you can specify extra high quality by resampling to 48kHz. Supposedly this is one method to reduce the effects of pre-echo by shortening the frame from 26.1ms to 24ms.

However, despit the improvement in pre-echo there were other problems caused which was audible to Dibrom. Resampling using SSRC also came up with the same problems so Dibrom decided that the problem was most likely due to a bug in LAME, probably because LAME has mostly been tuned for 44.1Hz rather than 48kHz. At the end Dibrom removed this extra high quality mode from the --alt-presets.

As far as I know, this has not been fixed in LAME yet, since it was not reported in the changelogs.