Sorry I spoke too soon before.
Actually gfp->mode_fixed isn't being initialized in lame.c. Setting it to 0
where other gfp-> 's are seems to fix it.
>From: Mark Taylor <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [MP3 ENCODER] V3.70 Default Mode
>Date: Tue, 4 Apr 2000 10:11:26 -0600
>
>At 160kbs, the compression ratio is 8.8 (and it is printed
>correctly by both your lamei and lamem) Here's the code in
>lame which disables jstereo if compression_ratio < 9
>(from lame.c):
>
> /* At higher quality (lower compression) use STEREO instead of JSTEREO.
> * (unless the user explicitly specified a mode ) */
> if ( (!gfp->mode_fixed) && (gfp->mode !=MPG_MD_MONO)) {
> if (compression_ratio < 9 ) {
> gfp->mode = MPG_MD_STEREO;
> }
> }
>
>Is it possible the intel compiler doesn't like comparing a float with an
>int?
>Can you try changing the if statement to:
>
> if (compression_ratio < 9.0) {
>
>?
>
>Thanks,
>Mark
>
>
>
> > From: "Joshua Bahnsen" <[EMAIL PROTECTED]>
> > Date: Tue, 4 Apr 2000 09:16:50 -0400
> >
> > To make sure I wasn't just imagining things, I tried it again. I doubt
>it
> > would be the file I was encoding, I tried "When I Grow Up" by Garbage. I
> > used the following command line lame -h -b 160, that's it. It makes no
> > difference whether I use -h or not, I tried it with and without. Here is
>the
> > exact command line output.
> >
> > C:\audiograbber>lamei -b 160 3.wav 3.mp3
> > LAME version 3.68 (alpha 1) (www.sulaco.org/mp3)
> > GPSYCHO: GPL psycho-acoustic and noise shaping model version 0.77.
> > Using polyphase lowpass filter, transition band: 17960 Hz - 18494 Hz
> > Encoding 3.wav to 3.mp3
> > Encoding as 44.1 kHz 160 kbps j-stereo MPEG1 LayerIII ( 8.8x) qval=5
> > Frame | CPU/estimated | time/estimated | play/CPU |
>ETA
> > 7829/ 7829(100%)| 0:03:01/ 0:03:01| 0:03:02/ 0:03:02| 1.1270|
>0:00:00
> >
> > C:\audiograbber>lamem -b 160 3.wav
> > LAME version 3.68 (alpha 1) (www.sulaco.org/mp3)
> > GPSYCHO: GPL psycho-acoustic and noise shaping model version 0.77.
> > Using polyphase lowpass filter, transition band: 17960 Hz - 18494 Hz
> > Encoding 3.wav to 3.wav.mp3
> > Encoding as 44.1 kHz 160 kbps stereo MPEG1 LayerIII ( 8.8x) qval=5
> > Frame | CPU/estimated | time/estimated | play/CPU |
>ETA
> > 7829/ 7829(100%)| 0:03:34/ 0:03:34| 0:03:35/ 0:03:35| 0.9555|
>0:00:00
> >
> >
>
>
>--
>MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )