Log in

View Full Version : question concerning lame


sillKotscha
23rd November 2007, 18:57
hi,

I try to convert a wav file to 64kbps.

while I can use ffmpeg for this and use this commandline:

-oac mp3lame -lameopts aq=1:cbr:br=64 -srate 22050

it is not possible (?) with "standard" lame using BeLight for example...

cmd-line:

-ota( -d 0 -hybridgain ) -lame( -b 64 --resample 22.05 )

http://img2.freeimagehosting.net/uploads/73e9bc5162.jpg (http://www.freeimagehosting.net/)

the following error occurs...

Error 47: Error with LAME dll!

if I do not restrict the sample rate than I can convert the file but lame automatically choose 24khz as sample rate...

as for flv conversion a sample rate of a multiple of 11.025 Hz is needed.

do I have to stick with ffmpeg for encoding a file to 64kbps cbr and a desired samplerate of 22.050 Hz?

why is that?

tebasuna51
24th November 2007, 01:59
You are right, seems we can't use BeLight for that, but always you can use lame.exe:

lame -b 64 --resample 22.05 st.wav st.mp3

and you obtain a MPEG-2 layer III file, not a MPEG-1 layer III because only support 32, 44.1, 48 KHz.

sillKotscha
24th November 2007, 14:42
hi tebasuna51,

thank you for your answer - I will use lame.exe for that in the future than... at least until it gets sort out in BeLight (or maybe an issue with the lame dll ?) :)

thanks

tebasuna51
24th November 2007, 18:00
I will use lame.exe for that in the future than... at least until it gets sort out in BeLight (or maybe an issue with the lame dll ?) :)

Seems can be resolved with BeLight because the BeSweet-lame.dll inteface seems need:
-lame( -b 64 --resample 22050 )
instead:
-lame( -b 64 --resample 22.05 )
to work properly.

sillKotscha
24th November 2007, 18:09
cool, good to know that - thanks!