Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: New to LAME.exe with Windows 7, a Little Help? (Read 10196 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

New to LAME.exe with Windows 7, a Little Help?

I've been using EAC, and Razor LAME for years under XP to take CDs and FLAC files (w/ FLAC Front End) to LAME encoded MP3s without issue.

The problem is under 7 the LAME encoder always returns an error when trying to do the encode.  I'm passing the same command line to the LAME.exe as I was under XP so I'm not sure what exactly the issue is?  Dose it have something to do with UAC?

New to LAME.exe with Windows 7, a Little Help?

Reply #1
What command line are you using?

New to LAME.exe with Windows 7, a Little Help?

Reply #2
What's the invocation you're using on the command line?
What's the error you're seeing?
Powershell or Cmd?

New to LAME.exe with Windows 7, a Little Help?

Reply #3
"--alt-preset extreme %s %d -c -o" is the command I'm trying to use.  As it is I don't even get a reply from the LAME exe, just an error from Razor Lame, "unkown error".

Also, to clarify I'm not using this directly via the command line but within Razor Lame and EAC.  Honestly its been so long since I set it up I'm not even exactly sure what the all the switches mean anymore . 

Though I'm fairly sure thats the string I used under XP, I just did test encode with some the built in settings in Razor lame and it encoded fine so LAME is functioning properly.  Maybe my command string is no longer valid with newer versions of LAME?

New to LAME.exe with Windows 7, a Little Help?

Reply #4
-c and -o are only some flags in the MP3 file, you can even leave them out. --alt-preset extreme I think can be replaced by a -V setting, but the presets are still supported though. %s and %d are Razor Lame variables that represent the source and destination files because Razor Lame does not pipe data to LAME. Why it doesn't work, I don't know. Maybe you have to start Razor Lame with administrative rights?

New to LAME.exe with Windows 7, a Little Help?

Reply #5
--alt-preset extreme I think can be replaced by a -V setting, but the presets are still supported though.
It’s equivalent to -V0 --vbr-new. Also, LAME versions since 3.98b1 have the latter parameter as default, in which case it can be omitted.

New to LAME.exe with Windows 7, a Little Help?

Reply #6
I don't know if this will be of much help, but I had a similar problem using AudioGrabber. It would rip the first song, then stop with a memory error. The solution was to uncheck the box, (under Options), that said; "Rip as much as possible to ram."

I'm guessing that Win7 wouldn't allow the program to manage memory. Your problem may be completely different, but the symptom is similar.

New to LAME.exe with Windows 7, a Little Help?

Reply #7
Razor Lame does not pipe data to LAME. Why it doesn't work, I don't know. Maybe you have to start Razor Lame with administrative rights?

Last I checked, Razor Lame hasn't been updated in a long time, and it has become partially incompatible with newer LAME versions. I remember that the histogram doesn't work anymore, unless you use an unofficial hack to bring it back (which simultaneously breaks some other feature, as I recall). Perhaps with the latest LAME and Windows 7, the level of incompatibility has finally reached a tipping point? If you can't find a solution to the problem, you might have better luck with ALL2LAME, for what it's worth.

New to LAME.exe with Windows 7, a Little Help?

Reply #8
Well I took out the "%s" and "%d" and its now working fine.

As long as I still have this thread going is there anything else I should add the string to give me the highest quality VBR MP3 or is "preset extreme" all I need?

New to LAME.exe with Windows 7, a Little Help?

Reply #9
Well, I'd say: Go lossless as a base and use v2 - v0 für your target devices, which for sure will be transparent for you. So: Everything is fine, yes.

New to LAME.exe with Windows 7, a Little Help?

Reply #10
The wiki is always the best place to spend some time reading before posting basic questions. You've never stated which version of LAME you are using, but assuming you are using 3.98 or later
Code: [Select]
-V 0
would give you the best possible VBR quality, and
Code: [Select]
--preset fast extreme
would apply the same algorithm.

FWIW, I use VBR quality level 4 with LAME 3.98.4. I can ABX level 5 on some well-known, difficult to encode samples, so I went up to the next number. You can use decimal values as well.


New to LAME.exe with Windows 7, a Little Help?

Reply #12
Well I took out the "%s" and "%d" and its now working fine.


And it's actually encoding?!  %s and %d are like I said RazorLame variables that stand for source (%s) and destination (%d) and they instruct LAME what to encode and where to put the encoded data.


Its encoding fine.  I have RazorLame setup to use the source directory as the output, that may be why.

The wiki is always the best place to spend some time reading before posting basic questions. You've never stated which version of LAME you are using, but assuming you are using 3.98 or later
Code: [Select]
-V 0
would give you the best possible VBR quality, and
Code: [Select]
--preset fast extreme
would apply the same algorithm.

FWIW, I use VBR quality level 4 with LAME 3.98.4. I can ABX level 5 on some well-known, difficult to encode samples, so I went up to the next number. You can use decimal values as well.


Yeah, I kinda forgot about all the resources.  Its been awhile since I had to setup my encoding programs from scratch, yay for new hardware and Windows 7!

By looking at the wiki are "V0", "--preset fast extreme", and "--preset extreme" all the same thing?  "V0" and "--preset fast extreme" seem to be but "--preset extreme" doesn’t seem to be mentioned anywhere (which is what I"m using).  Oh, and I'm using 3.98.4 x64.


New to LAME.exe with Windows 7, a Little Help?

Reply #14
With Lame 3.98(.x):
"--preset fast extreme" is "-V0"
"--preset extreme" is "-V0 --vbr-old"


Got it, so I probably want to switch to "fast" extreme or just "-V0"?


 

New to LAME.exe with Windows 7, a Little Help?

Reply #16
Alright then, I believe I have it all sorted out.

Thanks for the help everyone.