Pierre/Hurgon-
I don't know about the first half, but I'm prettty sure I know about the second half-
This is basically what you said...
>c:\lame\exe\lame -h -b 96 test2.wav file1.mp3
>Resampling: input=44kHz output=32kHz
>Using polyphase lowpass filter, transition band: 10968 Hz - 11355 Hz
>
>c:\lame\exe\lame -h -b 96 --resample 44.1 test2.wav file2.mp3
>Using polyphase lowpass filter, transition band: 12270 Hz - 12803 Hz
>
>
>Why the transition bands aren't the same ?
First time- You just told Lame to encode the file at 96kBit/sec.
Lame thinks 96kbps is not enough data to make a good copy of a stereo 44.1kHz file. So
it automatically resampled the WAV & was a little more "vicious" with the LowPass
Filtering. At low bitrates, Lame has a tendency to add some LPFing.
Second time- You told Lame to encode the file at 96kBit/sec, & you also told it to set
the sample rate to 44.1kHz
When you set the options in the second command line, you override what Lame was going
to do - That's to resample the WAV before encoding. So it just continued to encode at
44.1kHz.
>course the same size, but the second mp3 sounds better (sure, of course)
>than the first one, without quality loss.
Have a close listen to both encodings & if they don't sound very 'spatial', then
that's why. Try both the command lines again, this time adding the '-k' switch...
That's the 'full bandwidth' switch from memory, but look in the documentation to be
sure. When using full bandwidth, Lame won't/shouldn't do any LPFing.
Shawn
PS- If you don't want to keep typing out the command line, try making a batch file to
run Lame with your preferred options. If you're using Windoze, put this batch file on
the desktop & you can just drag & drop a WAV onto it & it'll encode it. Use a command
line like-
c:\lame\exe\lame -h -b 96 --resample 44.1 %1
I guess you could set your own options in that. But the '%1' refers to the file you
drag onto it, so that has to stay.
Try these command lines-
High quality stuff-
c:\lame\exe\lame -h -v -b32 -B320 -V4 <infile> <outfile>
I use something like this to get MP3s small enough to send to people thru email-
c:\lame\exe\lame -h -v -b8 -B48 -V2 -mm --resample 16 -lowpass 5 <infile> <outfile>
Depends how long the song is. :-)
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )