IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
How to modify RazorLame to use the VBR-MTRH method?
DP3_001
post Mar 25 2009, 03:54
Post #1





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



I recently installed RazorLame, and I have everything set up the way I want it except for one thing: the option to use the VBR-MTRH method. Here's my current Lame options:


-b 8 -m j -h -V 3 -B 192 --resample 44.1 -q 3


I can't figure out where to put the --vbr-mtrh command. I was thinking of something like this:


-b 8 -m j -h --vbr-mtrh -V 3 -B 192 --resample 44.1 -q 3


Would this be the correct way?




Go to the top of the page
+Quote Post
A_Man_Eating_Duc...
post Mar 25 2009, 04:54
Post #2





Group: Members
Posts: 841
Joined: 21-December 01
From: New Zealand
Member No.: 705



is there any particular reason for trying to use -b 8 -m j -h --vbr-mtrh -V 3 -B 192 --resample 44.1 -q 3?

what wrong with just -V 3


--------------------
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.
Go to the top of the page
+Quote Post
NeoRenegade
post Mar 25 2009, 07:07
Post #3





Group: Members
Posts: 723
Joined: 29-November 01
Member No.: 563



Sounds to me like you got your settings from someplace out-of-date, DP3_001.

With the current version of LAME, -V3 is all you need. You can put this in the Expert part of the Lame Options and check “Only use custom options”.
Go to the top of the page
+Quote Post
DP3_001
post Mar 25 2009, 08:12
Post #4





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



Well, I currently use the LAME Encoder that's within Winamp 5.551 (version 3.98 ) to create MP3 music files, and I was trying to duplicate those settings within RazorLame. For reference, here they are:

MODE: VBR-MTRH, Joint Stereo
MIN BITRATE: 8 kbps
MAX BITRATE: 192 kbps
QUALITY: Normal
VBR Q: 3

I was interested in the VBR-MTRH because I was told that VBR New (the default in LAME) was better with bitrates 160 kbps and above due it its combined use use of VBR 1 (for below 160 kbps) and VBR 2 (for above 160 kbps). How does the new VBR default improve on this?

Moderation: Removed useless full quotation of the previous post.

This post has been edited by greynol: Mar 25 2009, 21:21
Go to the top of the page
+Quote Post
Slipstreem
post Mar 25 2009, 12:12
Post #5





Group: Members
Posts: 966
Joined: 7-July 06
Member No.: 32660



What you're trying to do (unintentionally) is to lower the performance of the encoder.

The presets (ie, -V3, etc) rely on internal fine-tuning within the codec itself to provide optimal performance. Adding any other performance related command-line switches is likely to break that fine-tuning and result in a drop in quality and/or an increase in file size.

Using -V3 on its own is almost 100% guaranteed to provide better results than -V3 followed by s string of other performance related parameters. The wheel is already round by careful design, so there's no point in trying to reinvent it. wink.gif

Cheers, Slipstreem. cool.gif
Go to the top of the page
+Quote Post
lvqcl
post Mar 25 2009, 16:15
Post #6





Group: Developer
Posts: 2980
Joined: 2-December 07
Member No.: 49183



1. vbr-mtrh and vbr-new are the same.

2. Don't use upper bitrate limit:
QUOTE
The use of -B is NOT RECOMMENDED. A 128kbps CBR bitstream, because of the bit reservoir, can actually have frames which use as many bits as a 320kbps frame. VBR modes minimize the use of the bit reservoir, and thus need to allow 320kbps frames to get the same flexibility as CBR streams.
Go to the top of the page
+Quote Post
[JAZ]
post Mar 25 2009, 20:41
Post #7





Group: Members
Posts: 1559
Joined: 24-June 02
From: Catalunya(Spain)
Member No.: 2383



QUOTE (DP3_001 @ Mar 25 2009, 08:12) *
MODE: VBR-MTRH, Joint Stereo
MIN BITRATE: 8 kbps
MAX BITRATE: 192 kbps
QUALITY: Normal
VBR Q: 3



Well, first things first: vbr-mtrh is vbr-new. If you use lame 3.98 as you say, it is enabled by default (like lvqcl said). Also joint Stereo is default in Lame too, because it's the appropiate way to encode (when the encoder does it right, like Lame).

Next, "VBR Q: 3" does not mean -q 3. it means -V 3. "Quality : Normal" is -q . And Normal means don't change it.

MinBitrate of 8 is, in fact, not possible with a 44khz input signal, but it means that it uses the lowest it can, and... guess what.... That's the default.

At last, I don't know why the setting says "Max bitrate: 192". Like lvqcl said (again), Lame documentation discourages the use of this switch.

So... The setting is "-V3 -B 192".
Again, I don't know why it limits the max bitrate.
Go to the top of the page
+Quote Post
DP3_001
post Mar 25 2009, 21:14
Post #8





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



Actually, it doesn't. I chose the 192kbps setting.

Glad to know that the VBR method I use in Winamp is the default in LAME 3.98.2

Moderation: Removed useless quotation of previous post, again. Let me give you a hint: try either the [FAST REPLY] or [ADD REPLY] button next time.

This post has been edited by greynol: Mar 25 2009, 21:23
Go to the top of the page
+Quote Post
lvqcl
post Mar 25 2009, 22:13
Post #9





Group: Developer
Posts: 2980
Joined: 2-December 07
Member No.: 49183



QUOTE
Actually, it doesn't. I chose the 192kbps setting.

There's no such thing as 192 kbps setting for VBR mode. Again, -B switch defines max. allowed bitrate for ABR/VBR modes.
http://lame.cvs.sourceforge.net/*checkout*...itchs.html#Bmax

I encoded the same song twice: with "-V 3" and "-V 3 -B 192" settings. You can see the results on graph below (X axis - time, Y axis - bitrate). The effect of adding -B switch is quite obvious.



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 - 00:38