IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
LAME -h switch, What does it specifically improves?
SonicBooom!
post Jun 8 2011, 05:46
Post #1





Group: Members
Posts: 118
Joined: 16-February 11
Member No.: 88210



Out of curiosity (once again), I wonder what LAME -h switch REALLY improves? The documentation only says "-h: Use some quality improvements" but it doesn't say specifically what it is.


--------------------
sin(α) = v sound/v object = Mach No.
Go to the top of the page
+Quote Post
xnor
post Jun 8 2011, 08:11
Post #2





Group: Developer
Posts: 304
Joined: 29-April 11
From: Austria
Member No.: 90198



try --longhelp

CODE
Noise shaping & psycho acoustic algorithms:
  -q <arg>        <arg> = 0...9.  Default  -q 5
                  -q 0:  Highest quality, very slow
                  -q 9:  Poor quality, but fast
  -h              Same as -q 2.   Recommended.
  -f              Same as -q 7.   Fast, ok quality
Go to the top of the page
+Quote Post
SonicBooom!
post Jun 8 2011, 08:50
Post #3





Group: Members
Posts: 118
Joined: 16-February 11
Member No.: 88210



Are the -q and -V switch similar?


--------------------
sin(α) = v sound/v object = Mach No.
Go to the top of the page
+Quote Post
pdq
post Jun 8 2011, 13:25
Post #4





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



QUOTE (SonicBooom! @ Jun 8 2011, 03:50) *
Are the -q and -V switch similar?

Not really.

The -V switch sets the desired audio quality, and the algorithm then uses the minimum bits to achieve that quality. By varying the -V switch you get a wide range of quality and bitrate.

The -q switch controls how much processor time is spent sqeezeing every last bit of quality for the available bits. Its effect on processor time is significant, but its effect on quality and file size is relatively small. Since you only encode once, and since processor power is cheap, there is no reason anymore to use anything other than the default -q value.
Go to the top of the page
+Quote Post
xnor
post Jun 8 2011, 13:26
Post #5





Group: Developer
Posts: 304
Joined: 29-April 11
From: Austria
Member No.: 90198



Not really,

http://www.hydrogenaudio.org/forums/index....st&p=477147


edit: @pdq: grrrrr tongue.gif

This post has been edited by xnor: Jun 8 2011, 13:27
Go to the top of the page
+Quote Post
SonicBooom!
post Jun 8 2011, 14:52
Post #6





Group: Members
Posts: 118
Joined: 16-February 11
Member No.: 88210



@pdq: Thanks! I see it now more clearly. The default -q value which is -q 2 is always enabled when using VBR. The -q 2 is the same as -h, right? I get it now, Hehe.. Thanks again! biggrin.gif


--------------------
sin(α) = v sound/v object = Mach No.
Go to the top of the page
+Quote Post
Zarggg
post Jun 10 2011, 03:15
Post #7





Group: Members
Posts: 512
Joined: 18-January 04
From: bethlehem.pa.us
Member No.: 11318



Correct. I believe the -q5 default is from an old version, however; I was under the implication that -q2 was the default for both CBR and VBR encoding now.
Go to the top of the page
+Quote Post
Aleron Ives
post Jun 10 2011, 03:51
Post #8





Group: Members
Posts: 141
Joined: 22-March 10
From: California
Member No.: 79208



QUOTE (Zarggg @ Jun 9 2011, 18:15) *
I was under the implication that -q2 was the default for both CBR and VBR encoding now.


vbr-new and vbr-old/CBR use the q switch differently. There are only two quality settings for vbr-new, and I believe it's separated as q 0 - 4 are all the same, and q 5 - 9 are also all the same. Regardless of which q numbers map to which mode, the higher of the two quality settings is enabled by default, so there is no reason to specify the q switch when using vbr-new.
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 May 2013 - 22:18