Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-22 Thread Steve Lhomme
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

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-21 Thread Frank Klemm
:: 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

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-21 Thread Frank Klemm
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 {

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-21 Thread Rob Leslie
:: 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

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-21 Thread mailing-steve
:: 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"

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-18 Thread Robert Hegemann
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)) {

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-17 Thread Robert Hegemann
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

Re: [MP3 ENCODER] mpglib layer I/II decoding

2000-08-17 Thread Robert Hegemann
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:

[MP3 ENCODER] mpglib layer I/II decoding

2000-08-16 Thread Albert Faber
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