the -resample switch worked well.  Thanks for everybody's help!

Marty


On Sat, 15 Apr 2006 17:56:48 +0300
"Dimitar Dimitrov" <[EMAIL PROTECTED]> wrote:

> According to lame's manual, -s sould be used only with raw audio files,
> i.e. wav files with no header. If the input file is an ordinary wave which has
> a header, lame will use the sample rate, defined in the header.
> 
> So, either your input wave file is sampled at 8 kHz, or the bitrate (24kbps)
> is too small and lame forces a resample to 8 kHz.
> 
> If you want to try to force the encoder (lame) to produce 16 kHz mp3,
> you could use --resample:
> 
>        --resample sfreq
>               sfreq = 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48
>               Select  ouptut sampling frequency (only supported for encoding).
>               If not specified, LAME will  automatically  resample  the  input
>               when using high compression ratios.
> 
> 
> On 4/15/06, Marty Huntzberry <[EMAIL PROTECTED]> wrote:
> > I have a large wav speech file (SPM4854.wav) that I would like to encode to 
> > an mp3 with 16 kHz  24 kbps single-ch MPEG-2 Layer III (10.7x) qval=3.  
> > Typing:
> >
> > lame  -s 16 -b 24 SPM4854.wav SPM48524.mp3
> >
> > encodes an mp3 at 8 kHz and 24 bits.  I have sox-can I use that to help me 
> > make a file with a frequency of 16 kHz?
> >
> > I am able to encode another file with 16 kHz and 24 bits with lame.  It's 
> > possible-maybe the problem wav file's header needs to be stripped-how?
> >
> > Marty
> > _______________________________________________
> > mp3encoder mailing list
> > [email protected]
> > http://minnie.tuhs.org/mailman/listinfo/mp3encoder
> >
> _______________________________________________
> mp3encoder mailing list
> [email protected]
> http://minnie.tuhs.org/mailman/listinfo/mp3encoder
_______________________________________________
mp3encoder mailing list
[email protected]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to