Help - Search - Members - Calendar
Full Version: Problem with encoding using EAC/LAME
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
sievers
When I create mp3's via EAC rip and LAME encode, I am having a strange problem where no matter what preset I use in LAME, the files always show up in windows explorer as being 320k bit rate. I have LAME set up as the external compression tool and change the preset in the EAC compression interface, but it always comes out 320k. Is there an overridding setting I am missing?

Also as a side question, I'm a little confused by the EAC compression interface. It allows you to select an external tool and provide command line options, but then right below that is a drop down box to select bit rate, that can be adjusted separately from (and seemingly in conflict with) whatever I just keyed in as a command line option right above it. When I change this bit rate, I can see it show up in the log file EAC writes after ripping/compressing, but regardless my output files are always 320k.

By the way it's my first post so be gentle, all knowing HA people. biggrin.gif Great site, thanks for any help you can provide.
soultrain
QUOTE(sievers @ Nov 23 2007, 20:43) *

When I create mp3's via EAC rip and LAME encode, I am having a strange problem where no matter what preset I use in LAME, the files always show up in windows explorer as being 320k bit rate. I have LAME set up as the external compression tool and change the preset in the EAC compression interface, but it always comes out 320k. Is there an overridding setting I am missing?

Also as a side question, I'm a little confused by the EAC compression interface. It allows you to select an external tool and provide command line options, but then right below that is a drop down box to select bit rate, that can be adjusted separately from (and seemingly in conflict with) whatever I just keyed in as a command line option right above it. When I change this bit rate, I can see it show up in the log file EAC writes after ripping/compressing, but regardless my output files are always 320k.

By the way it's my first post so be gentle, all knowing HA people. biggrin.gif Great site, thanks for any help you can provide.

i noticed this too with my vbr files, dont why windows does that.

to see or it is vbr or not, install encspot and it shows the bitrate of everyframe and other usefull things.
Synthetic Soul
Without knowing what your current settings are it's a little difficult to comment; however Windows is notorious for not being able to accurately report VBR files. You should check them with an application like Mr QuestionMan. They are likely to be fine.

You should certainly have a look at our EAC/LAME wiki guide.

The bitrate dropdown will be used if you select "LAME MP3 Encoder" as the parameter passing scheme - the bitrate in the dropdown (if other than 128kbps) will set the -b switch - the minimum bitrate. If youe read the wiki article, you will see that it is recommended to use "User Defined Encoder" instead, as it ensures that your command line has full control.

Here is a thread on the subject.
sievers
Ok thanks. QuestionMan shows that the files are indeed not 320k. Strange since I have d/l other mp3's and they don't have this problem, they read in windows explorer as expected. I should also point out that not ALL of the files I encoded myself show as 320k, I only did one album so far and 9 of the 12 tracks show as 320k, and then one each of 256k, 266k, and 276k. QuestionMan shows them all between 235k and 279k. Here's the log (maybe a clue as to why these don't read right?)
CODE
EAC extraction logfile from 22. November 2007, 14:44 for CD
The Flaming Lips / At War with the Mystics

Used drive  : PLEXTOR DVDR   PX-716A   Adapter: 3  ID: 0
Read mode   : Secure with NO C2, accurate stream, disable cache
Read offset correction : 0
Overread into Lead-In and Lead-Out : No

Used output format : C:\Program Files\Exact Audio Copy\lame.exe   (LAME MP3 Encoder)
                     Variable Bitrate 192 kBit/s
                     Additional command line options : --preset fast extreme

Other options      :
    Fill up missing offset samples with silence : No
    Delete leading and trailing silent blocks : No
    Native Win32 interface for Win NT & 2000


For my parameter passing scheme I had LAME MP3 Encoder instead of user-defined encoder, so I changed it. But now it fails on attempting to encode with the error

CODE
The external compressor returned an error!  
Options: --preset fast extreme
File: C:\and so on...


What did I break? crying.gif If I switch back to LAME MP3 Encoder then it works again. I read thru the guide but can't see what the hell my mistake is. Here's the log from those attempts, the first is the one that works and the second doesn't.

CODE
EAC extraction logfile from 23. November 2007, 19:50 for CD
The Flaming Lips / At War with the Mystics

Used drive  : PLEXTOR DVDR   PX-716A   Adapter: 3  ID: 0
Read mode   : Secure with NO C2, accurate stream, disable cache
Read offset correction : 0
Overread into Lead-In and Lead-Out : No

Used output format : C:\Program Files\Exact Audio Copy\lame.exe   (LAME MP3 Encoder)
                     192 kBit/s
                     Additional command line options : --preset fast extreme

Other options      :
    Fill up missing offset samples with silence : No
    Delete leading and trailing silent blocks : No
    Native Win32 interface for Win NT & 2000


Track 11
     Filename C:\Tunes\EAC\11 - Pompeii Am Götterdämmerung.wav

     Peak level 100.0 %
     Track quality 100.0 %
     Copy CRC 0D2F9ED2
     Copy OK

No errors occured


End of status report

CODE
EAC extraction logfile from 23. November 2007, 19:48 for CD
The Flaming Lips / At War with the Mystics

Used drive  : PLEXTOR DVDR   PX-716A   Adapter: 3  ID: 0
Read mode   : Secure with NO C2, accurate stream, disable cache
Read offset correction : 0
Overread into Lead-In and Lead-Out : No

Used output format : C:\Program Files\Exact Audio Copy\lame.exe   (User Defined Encoder)
                     192 kBit/s
                     Additional command line options : --preset fast extreme

Other options      :
    Fill up missing offset samples with silence : No
    Delete leading and trailing silent blocks : No
    Native Win32 interface for Win NT & 2000


Track 11
     Filename C:\Tunes\EAC\11 - Pompeii Am Götterdämmerung.wav

     Peak level 100.0 %
     Track quality 100.0 %
     Copy CRC 0D2F9ED2
     Copy OK

No errors occured


End of status report


One other thing, I was reading another guide before I ran across this site, and it had me d/l wnaspi32.dll and put it in my EAC install folder. Is this needed, or maybe this is from an out-of-date tutorial? It also had me d/l a profile that corresponded to the adapter # and id of my drive.


Rio
QUOTE(sievers @ Nov 24 2007, 03:43) *

the files always show up in windows explorer as being 320k bit rate. I have LAME set up as the external compression tool and change the preset in the EAC compression interface, but it always comes out 320k.


There goes your problem. When having MP3s with very high bitrate such as preset insane, windows reports them as 320kbps, and not the exact bitrate EncSpot, MrQuestionMan or WinAmp would report. Just go back to your old working settings.

In short, do not believe everything windows tells you...

Cheers!
Synthetic Soul
QUOTE(sievers @ Nov 24 2007, 03:00) *
Additional command line options : --preset fast extreme
Did you read the wiki article? You need to be using:

--preset fast extreme %s %d

or, more accurately (using more recent switches (check the LAME wiki page)):

-V2 --vbr-new %s %d

Edit: As you are not passing tags using the command line please ensure that EAC is set totag your files. Again, check the wiki guide for more info.

QUOTE(sievers @ Nov 24 2007, 03:00) *
One other thing, I was reading another guide before I ran across this site, and it had me d/l wnaspi32.dll and put it in my EAC install folder. Is this needed, or maybe this is from an out-of-date tutorial? It also had me d/l a profile that corresponded to the adapter # and id of my drive.
Many people suggest using the ASPI interface with EAC, rather than the native Windows interface. To use the DLL you will may need to alter the value on "EAC options" > "Interface". Whether it will improve your rips is another thing, and out of my expertise (if indeed I have any!).
sievers
doh, I guess I did not read the wiki very well, I thought the %s and %d had to do with id tags! blush.gif Sorry bout that. Yup it's working now, and windows is reading them the same as QuestionMan says they are (well, close anyway). Thanks again, you guys are smart and stuff. Now to do some abx'ing and find out just how bad my hearing is after years of concerts and other general disregard for volume levels!

beer.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.