wrong bit rate and sampling for mp3 x64

Bug report and feature request
Post Reply
flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

wrong bit rate and sampling for mp3 x64

Post by flagpole » Mon Mar 08, 2010 10:30 pm

using these settings:
Image
ie asking for 96kbps j-stereo abr lame sampled same as input 48hHz

i get the output as indicated here
Image
ie 128kbps sampled at 32kHz

whatever settings i use there is something wrong

i can see that the correct command line is being passed to lame64.exe ie

Code: Select all

--abr 96 -m j -q 2 --noreplaygain --add-id3v2 -r -s 48000 --quiet - "C:\Users\Nigel\AppData\Local\Temp\mctemp3380.mp3
i realise it's abr and the bit rate can't be exact but it is exactly wrong

i'm at a complete loss to explain it.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Tue Mar 09, 2010 8:15 pm

thanks for looking at it.

i've had problems for months. do you know where i can get the older versions from? 32 or 64?

and how do you show the advanced options?

another smaller bug - if you use the time tab to select a portion of the source file to encode, the summary tab doesn't reflect this. should be a fairly easy fix.
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Wed Mar 10, 2010 9:46 pm

i can confirm that this bug is only present for .avi format. not for .mp4 muxed by mp4box
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Thu Mar 11, 2010 8:44 pm

yeah ok. it does it with a plain mp3 file.

i should more accurately have described it as not having been present one time i used it with mp4box
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Mon Mar 15, 2010 2:58 am

i've gone back to 0.7.2.4524 32bit (had to slip in an ffmpeg i found lying about as the installer nolonger downloads it)

and all is well
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Thu Apr 08, 2010 12:15 am

can i just ask a question about the bug reporting and fixing procedure here.

is it possible for me to know if this is sort of logged as a bug with a view to fixing it? is that how it works here? or is it sort of whatever they want to fix?

just that for me this bug is HUGE. :)
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: wrong bit rate and sampling for mp3 x64

Post by stanley » Sat Jun 05, 2010 9:39 pm

LAME will automatically do down-sampling when specified bitrate is low. A workaround is to add --resample $(SampleRate) in LAME's extra options.
When things work together, things work.

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Tue Jun 08, 2010 8:47 pm

thanks for the reply....

I have a couple of questions.

when i add --resample $(SampleRate) to the lame extra options, it's added to the command line as
"--resample $(SampleRate)"
where as i think it needs to be:
--resample "$(SampleRate)"

could this maybe be added by default, there is a sampling dialogue in the lame tab and currently it's not doing what it suggests.

i'm still a bit confused too. i often encode at abr 128, and this invariably comes out at 192kbps where as trusty old version 0.7.2.4524 (32bit) with lame 3.98.2 gives an output pretty close to 128 with exactly the same settings. :(
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

flagpole
Modest
Modest
Posts: 259
Joined: Tue Jan 26, 2010 10:12 pm
Contact:

Re: wrong bit rate and sampling for mp3 x64

Post by flagpole » Fri Aug 27, 2010 1:20 am

0.7.5.4730 changelog
[update] disabling LAME auto resampling by default which causing sampling rate of LAME output different from the original

woop woop !! :P
my quant puzzles http://puzzles.nigelcoldwell.co.uk go look :)

Post Reply