LAME -Z... higher quality? |
![]() ![]() |
LAME -Z... higher quality? |
Feb 18 2003, 21:47
Post
#1
|
|
|
Group: Members Posts: 10 Joined: 18-February 03 Member No.: 5052 |
what's the impact on encoding quality if I specify '-Z' switch? I use latest lame.
|
|
|
|
Feb 18 2003, 22:00
Post
#2
|
|
|
Group: Members Posts: 353 Joined: 28-April 02 Member No.: 1894 |
Latest stable lame? or latest lame?
-------------------- r3mix zealot.
|
|
|
|
Feb 18 2003, 22:07
Post
#3
|
|
|
Group: Members Posts: 10 Joined: 18-February 03 Member No.: 5052 |
oh sorry, I use LAME 3.94a11 and 3.94a1 sometimes. I always use -q0 switch and no alt-preset.
|
|
|
|
Feb 18 2003, 22:11
Post
#4
|
|
|
Group: Members Posts: 517 Joined: 9-October 01 Member No.: 254 |
QUOTE (Med0 @ Feb 18 2003 - 09:07 PM) oh sorry, I use LAME 3.94a11 and 3.94a1 sometimes. I always use -q0 switch and no alt-preset. You'll get worse quality than with alt-presets... but it's your choice after all |
|
|
|
Feb 18 2003, 22:26
Post
#5
|
|
|
Group: Members Posts: 353 Joined: 28-April 02 Member No.: 1894 |
I would reccomend use of " -Z 1" with 3.94 you have the ability to directly select the type of noise shaping instead of a toggle on off.
Also you can get better quality out of the non vbr alt presets with switches. Hey its true you can do better on cbr and abr than the alt presets present in the alpha versions. I wouldn't use 3.94 a1 I would use the latest alpha11 just came out today. -------------------- r3mix zealot.
|
|
|
|
Feb 19 2003, 03:20
Post
#6
|
|
|
Group: Members Posts: 125 Joined: 24-January 03 From: Suffolk, UK Member No.: 4714 |
Er, I think it should be pointed out here that alphas shouldn't be used for anything other than testing and/or out of curiosity at what is going on with the development of LAME... alphas can have very serious problems with them a lot of the time, due to their nature (i.e. the initial steps to a modification of an existing stable version).
Using the very first alpha version of an encoder to do anything other than test is... well, extremely inadvisable, to say the least. The current recommended compiles are 3.90.2 and 3.92. The former is preferred by most people here because it has been more extensively tested due to its age, and is the version officially recommended by this site. See the sticky threads at the top of the MP3-General forum for more info. This post has been edited by gazzyk1ns: Feb 19 2003, 03:23 |
|
|
|
Feb 19 2003, 03:29
Post
#7
|
|
|
Group: Members Posts: 4131 Joined: 2-September 02 Member No.: 3264 |
Use 3.90.2 and aps for best quality. Also, I believe the -q0 switch isn't recommend because its worse quality then -q2.
|
|
|
|
Feb 19 2003, 04:09
Post
#8
|
|
![]() Group: Super Moderator Posts: 603 Joined: 18-December 01 Member No.: 680 |
QUOTE (gazzyk1ns @ Feb 19 2003 - 03:20 AM) The current recommended compiles are 3.90.2 and 3.92. The former is preferred by most people here because it has been more extensively tested due to its age, and is the version officially recommended by this site. It's also worth noting that 3.90.2 is slightly faster than 3.92. Although not much. Lame v3.90.2, --alt-preset standard, Athlon XP 1700+ (@1511 Mhz) CODE Encoding as 44.1 kHz VBR(q=2) j-stereo MPEG-1 Layer III (ca. 7.4x) qval=2 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA 9414/9417 (100%)| 0:57/ 0:57| 0:57/ 0:57| 4.2932x| 0:00 32 [ 60] %* 128 [ 479] %******** 160 [2082] %%%%%%%%%**************************** 192 [3807] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%**************************** 224 [1599] %%%%%%%%%%%%%%%%************ 256 [ 785] %%%%%%%%****** 320 [ 605] %%%%%%%**** average: 199.6 kbps LR: 4439 (47.14%) MS: 4978 (52.86%) Lame v3.92, --alt-preset standard, Athlon XP 1700+ (@1511 Mhz) CODE Encoding as 44.1 kHz VBR(q=2) j-stereo MPEG-1 Layer III (ca. 7.3x) qval=2 Frame | CPU time/estim | REAL time/estim | play/CPU | ETA 9414/9416 (100%)| 1:00/ 1:00| 1:01/ 1:01| 4.0404x| 0:00 32 [ 60] %* 128 [ 723] %%************* 160 [2717] %%%%%%%%%%%%%%%%%************************************ 192 [3388] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%************************** 224 [1336] %%%%%%%%%%%%%%%%*********** 256 [ 661] %%%%%%%%***** 320 [ 532] %%%%%%***** average: 193.1 kbps LR: 4400 (46.72%) MS: 5017 (53.28%) Tested track was "Everything But The Girl - Missing". 3.90.2 generates bigger files, but I belive this issue has been debated extensively elsewhere on the forum. |
|
|
|
Feb 19 2003, 10:48
Post
#9
|
|
|
Group: Members Posts: 10 Joined: 18-February 03 Member No.: 5052 |
I have been reading many many posts and I must say that this is pretty confusing. I guess, everyone says that 3.90.2 is the best. So...
1.) What happened with LAME releases after 3.90.2? I supposed that developers enhanced something, rather than made it worse...? 2.) Why is -q0 worse than -q2? Please, just do not tell me that it's just because of the bigger files... 3.) My command line looks like this: 'LAME -q0 -Z -b256 infile.wav outfile.mp3'. I encode CBR because I noticed somewhat "cleaner" sound generaly. 4.) My audio equipment is SB Live! 5.1, Technics SA-AX720 (5x100W) receiver (it was top model 3 years ago) and 2x120W 3-way Pioneer speakers. 5.) ANY comment is well appriciated. Thank you. |
|
|
|
Feb 19 2003, 11:44
Post
#10
|
|
|
Group: Members Posts: 24 Joined: 19-May 02 Member No.: 2076 |
1, 3.90.2 is released by Dibrom. He added alt presets swithes in this version which had been tested many times and proved safe.
2, q0 is used to be a testing switch. q2 is faster and you can't lose any quality. Maybe latest lame verson changed this. 3, You just hear what you want to hear. You'd better do some ABX test. You can find these answers from the sticky threads. |
|
|
|
Feb 19 2003, 12:32
Post
#11
|
|
|
Moderator Group: Super Moderator Posts: 3934 Joined: 29-September 01 Member No.: 73 |
QUOTE (Med0 @ Feb 19 2003 - 12:48 PM) 1.) What happened with LAME releases after 3.90.2? I supposed that developers enhanced something, rather than made it worse...? http://www.hydrogenaudio.org/forums/index....=ST&f=15&t=3836 http://www.hydrogenaudio.org/forums/index....=ST&f=16&t=4336 http://www.hydrogenaudio.org/forums/index....=ST&f=15&t=4544 |
|
|
|
Feb 19 2003, 13:14
Post
#12
|
|
![]() Group: Developer Posts: 2797 Joined: 22-September 01 Member No.: 6 |
QUOTE (Med0 @ Feb 19 2003 - 11:48 AM) 3.) My command line looks like this: 'LAME -q0 -Z -b256 infile.wav outfile.mp3'. I encode CBR because I noticed somewhat "cleaner" sound generaly. -q0: It should be working reasonably ok in alpha11. Don't use it in non-alphas, since Takehiro has said (and I've tested) that it's somewhat buggy in non-alphas. However, in alphas it uses substep noise-shaping which is mainly meant for low-bitrates. If you don't specify -q value in alphas, -q3 will be used, which is the same as the tested -q2/h in non-alphas. -Z: If you are using GPsyhco like in this case, it by default uses noise-shaping 1. By using -Z you switch it to noise-shaping 2, which is not working well with GPsycho. Not recommended here with that line. Don't just add switches you see somewhere and think it will increase quality. Depending whether nspsytune or gpsycho is used, the effect of -Z can be completely the opposite... -------------------- Juha Laaksonheimo
|
|
|
|
Feb 19 2003, 13:19
Post
#13
|
|
![]() Group: Developer Posts: 2797 Joined: 22-September 01 Member No.: 6 |
QUOTE (LordofStars @ Feb 18 2003 - 11:26 PM) I would reccomend use of " -Z 1" with 3.94 you have the ability to directly select the type of noise shaping instead of a toggle on off. Well, this works only with nspsytune. Try using -Z1 or -Z2 with gpsycho. You get exactly the opposite you define.. -------------------- Juha Laaksonheimo
|
|
|
|
Feb 19 2003, 13:22
Post
#14
|
|
![]() LAME developer Group: Developer Posts: 2950 Joined: 1-October 01 From: Nanterre, France Member No.: 138 |
We changed the -q mapping in alpha.
Substep is enabled from q2, and at q0 your are using a full huffman search (awfully slow). |
|
|
|
Feb 19 2003, 14:11
Post
#15
|
|
![]() Group: Developer Posts: 2797 Joined: 22-September 01 Member No.: 6 |
QUOTE (Gabriel @ Feb 19 2003 - 02:22 PM) We changed the -q mapping in alpha. Substep is enabled from q2, and at q0 your are using a full huffman search (awfully slow). Eeh, so it was changed few weeks ago to this? -q3: same. -q2: -q3 + substep shaping method 2 and increase max_age. -q1: -q2 + only 1 sfb to amplify in the inner loop. -q0: -q1 + best huffman in the inner loop. So you are now using --substep 2 in -q0,-q1 and -q2? Anyway, as people can see, things are constantly changing with alpha. The default -q3 (which is the old -q2/h in non-alphas) should be safe in alphas, but of course anything can happen. -------------------- Juha Laaksonheimo
|
|
|
|
Feb 19 2003, 14:39
Post
#16
|
|
![]() LAME developer Group: Developer Posts: 2950 Joined: 1-October 01 From: Nanterre, France Member No.: 138 |
Perhaps the warning displayed by alpha versions is not big enough?
|
|
|
|
Feb 19 2003, 15:08
Post
#17
|
|
![]() Group: Members Posts: 488 Joined: 8-October 02 From: Vrilissia, Athens Member No.: 3503 |
QUOTE Depending whether nspsytune or gpsycho is used, the effect of -Z can be completely the opposite... What is gpsycho? So will aps or ape with -Z (LAME 3.90.2) be of better quality or worse than simple aps or ape? Can -Z hurt quality with aps and ape (LAME 3.90.2)? -------------------- Wanna buy a monkey?
|
|
|
|
Feb 19 2003, 15:22
Post
#18
|
|
![]() Group: Developer Posts: 2797 Joined: 22-September 01 Member No.: 6 |
QUOTE (yourtallness @ Feb 19 2003 - 04:08 PM) QUOTE Depending whether nspsytune or gpsycho is used, the effect of -Z can be completely the opposite... What is gpsycho? So will aps or ape with -Z (LAME 3.90.2) be of better quality or worse than simple aps or ape? Can -Z hurt quality with aps and ape (LAME 3.90.2)? Gpsycho is the default psycoacoustic model used by Lame. Nspsytune which adds Naoki Shibata's tweakings to the psychomodel have to be enabled with --nspsytune swithch. I already told you few days ago the answer to your second question.. No, -Z does not hurt 3.90.2-3.93.1 APS or 3.90.2-3.93.1 ape, on the contrary...but do not use it with 3.90.2-3.93.1 insane profile, since it already uses noise shaping 1................ Use the --verbose. Noise shaping 1 is always the safer choice whether using gpsycho or nspsytune especially with vbr. -------------------- Juha Laaksonheimo
|
|
|
|
Feb 19 2003, 15:37
Post
#19
|
|
![]() Group: Members Posts: 488 Joined: 8-October 02 From: Vrilissia, Athens Member No.: 3503 |
QUOTE I already told you few days ago the answer to your second question.. Sorry, I didn't mean to ask the same question again, but I got a bit confused reading this thread. QUOTE Use the --verbose. U mean like this? --alt-preset insane --verbose -------------------- Wanna buy a monkey?
|
|
|
|
Feb 19 2003, 17:19
Post
#20
|
|
|
Group: Members Posts: 353 Joined: 28-April 02 Member No.: 1894 |
Heh that is a little messed up john.
Perhaps it would be prudent to make the same change for gpsycho that was made for nspsytune. Perhaps plans are already in place to update nspsytune and remove gpspycho? I heard dibrom and gabriel mention this perhaps takehiro can shed some light on the subject. -------------------- r3mix zealot.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 08:07 |