IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
High quality setting (i.e. -h) the default with LAME VBR?
DP3_001
post Sep 1 2009, 23:59
Post #1





Group: Members
Posts: 18
Joined: 25-March 09
Member No.: 68352



When using VBR mode with the LAME MP3 encoder in foobar2000, is the quality setting always -q2/-h, or do you have to manually put that switch yourself into the parameter line?
Go to the top of the page
+Quote Post
shadowking
post Sep 2 2009, 01:33
Post #2





Group: Members
Posts: 1496
Joined: 31-January 04
Member No.: 11664



It has no effect since latest lame uses VBR NEW.
Go to the top of the page
+Quote Post
Rio
post Sep 2 2009, 03:54
Post #3





Group: Members
Posts: 207
Joined: 18-December 06
From: Olongapo
Member No.: 38799



QUOTE (DP3_001 @ Sep 2 2009, 06:59) *
When using VBR mode with the LAME MP3 encoder in foobar2000, is the quality setting always -q2/-h, or do you have to manually put that switch yourself into the parameter line?


What LAME version do you have within fb2k? Like what shadowking replied, LAME 3.98.x VBR is -q0 by default since it uses vbr new.

On older LAME versions (3.97 and earlier), it is defaulted at -q3, whether vbr old or new. While in theory -h should provide higher quality, it would only translate to insignificantly lower bitrate at an almost indistinguishable sound difference at the expense of a slower encoding.

To sum it up, leave the -V presets at their default -q settings.


--------------------
"Listen to me...
Never take unsolicited advice..."
Go to the top of the page
+Quote Post
DP3_001
post Sep 2 2009, 11:45
Post #4





Group: Members
Posts: 18
Joined: 25-March 09
Member No.: 68352



Actually, through tests I've conducted, I've discovered that LAME 3.98.2 in foobar2000 defaults to -q2/-h. To get technical:


Sample rate: 44,100 kHz

Minimum bitrate: Lowest it can go

Maximum bitrate: Highest it can go

VBR method: --vbr-new

Quality: 2

Bit reservoir: On



That's the way it's set up in MediaMonkey, and no matter what VBR setting I choose (0 - 9), I end up getting the same results, size-wise, in foobar2000, no matter what VBR setting I chose there. In any case, the -q2'-h setting is what MediaMonkey recommends, and is listed as as a high qualitiy. The LAME project, also, recommends that setting.
Go to the top of the page
+Quote Post
psycho
post Sep 2 2009, 12:04
Post #5





Group: Members
Posts: 240
Joined: 14-October 05
Member No.: 25099



Currently I can't find the document, which states that with vbr-new the -q 3, -q 2, -q 1 and -q 0 are THE SAME, so it doesn't matter which one you use, you get the same result - bit for bit! Except LAME tag stores different info about -q value used... and as we know, tags have no meaning for the audio part of mp3!

You can try it yourself and compare.

EDIT: I found a thread about this.

This post has been edited by psycho: Sep 2 2009, 12:12


--------------------
lame -V 0
Go to the top of the page
+Quote Post
DP3_001
post Sep 2 2009, 20:28
Post #6





Group: Members
Posts: 18
Joined: 25-March 09
Member No.: 68352



Did some checking. Both foobar2000 and MediaMonkey use LAME 3.98.2. Also did a test and made 4 mp3 copies using settings -q0, -q1, -q2 and -q3, and got all the same bitrates and filesizes. It'd be interesting it see if the default quality setting in LAME 3.98.2 is -q0. Especially since the document in question says that the setting is "...slow and may not produce significantly higher quality" If that's the case, it'd make sense to go for something likie -q3, since you'd get the same filesize/bitrate, and the encoding speed and sound quality would be better. It's great that we don't have to worry about that stuff in foobar2000.
Go to the top of the page
+Quote Post
pdq
post Sep 2 2009, 20:35
Post #7





Group: Members
Posts: 3099
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



QUOTE (DP3_001 @ Sep 2 2009, 15:28) *
Especially since the document in question says that the setting is "...slow and may not produce significantly higher quality"

That part of the document is obsolete.
Go to the top of the page
+Quote Post
Rio
post Sep 3 2009, 11:35
Post #8





Group: Members
Posts: 207
Joined: 18-December 06
From: Olongapo
Member No.: 38799



If you would have the mp3 checked with EncSpot, it would say it is encoded at -q0, regardless if you add -q3, -q2/-h, or -q1. In the case of a LAME 3.98.2 -V2 encode, the quality value stored in the LAME tag is 80, meaning it was encoded at -q0 (which again is not different from -q3 and anything in between). For older LAME versions, a -V2 encode would show up as quality 77 or 78, depending on the version, since the default -q settings may be either -q3 or -q2 (coincidentally 77+3=80; 78+2=80 and even 80+0=80! Was this intentional?)

IIRC, if you view the DOS window during encoding, -q0 is the forced by default for vbr in LAME 3.98.2.


--------------------
"Listen to me...
Never take unsolicited advice..."
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th June 2013 - 02:32