I had a problem with some files to compute the length in second of a
frame. I was using various Layer III format and is some cases the formula
"frame_time = samples / frame_per_second" wouldn't give me the right
length. I assume it might be comming from this LSF.
How do you calculate
:: I think for Layer I it's 384.
::
MPEG-1 Layer I is 384 samples. MPEG-1 Layer II and III is 1152 samples.
Values are halved for LSF.
See original mpg123/common.c source file.
--
Mit freundlichen Grüßen
Frank Klemm
eMail | [EMAIL PROTECTED] home: [EMAIL PROTECTED]
phone | +49
You (?) wrote at http://www.sulaco.org/mp3/gpsycho/outer_loop.html:
compute initial q = quantization step size (bin_search_stepsize)
divide conquer algorithm to find approximate value of q
outer_loop:
do {
:: I think for Layer I it's 384.
::
MPEG-1 Layer I is 384 samples. MPEG-1 Layer II and III is 1152 samples.
Values are halved for LSF.
The number of samples is only halved for Layer III LSF (576). Layer I and
Layer II are always 384 and 1152 samples, respectively.
--
Rob Leslie
[EMAIL
:: I think for Layer I it's 384.
::
MPEG-1 Layer I is 384 samples. MPEG-1 Layer II and III is 1152 samples.
Values are halved for LSF.
The number of samples is only halved for Layer III LSF (576). Layer I and
Layer II are always 384 and 1152 samples, respectively.
What is Layer III "LSF"
Mark Taylor schrieb am Fre, 18 Aug 2000:
The mpglib/mpg123 routine is supposed to return only 1 frame
of data. 1 frame = 1152 samples MPEG1 layer 3, 576 samples MPEG2 layer3,
and (not-very-good) the check looks like this:
if ((outsize!=576) (outsize!=1152)) {
Hi all!
Albert Faber schrieb am Don, 17 Aug 2000:
Yesterday, I made the modification/additions in order to support layer I/II
decoding. However, since my linux environment is not running correctly right
now (and since I'm always scary to change things without testing them) I did
not made the
Hi all!
I just updated the Makefiles and tested LAME's new decoding capabilities
with some toolame-02h generated MP2s.
I did not find the time to do the same with mp[1g] files yet, maybe later.
OK, I found the time, but with LayerI there seems to be a problem:
Yesterday, I made the modification/additions in order to support layer I/II
decoding. However, since my linux environment is not running correctly right
now (and since I'm always scary to change things without testing them) I did
not made the changes to the Makesfiles (only to the MSVC project