Try LAME with "-m m" (for mono encoding).  I'm guessing that the encoder
isn't recognizing the channel-count properly, thinks it's dealing with a
stereo file, and then splits the PCM data into two channels, effectively
making the file double the speed.

Can Monitor record raw PCM (no WAV header)?  If so, you can use lame's
-r and -s options to specify the sample rate, and -m for the number of
channels.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Machado
Sent: Friday, April 23, 2004 12:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] MP3 encoding of Monitor files


lame did the same thing. The reason I ask this on the asterisk list is
that .wav files I record from other sources encode just fine. I think
the hitch is the sample rates produced by asterisk.

File recorded by gnome sound recorder (lame/bladeenc encode just fine):

RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo
44100 Hz

vs

File recorded with Monitor:

RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000
Hz


I will give the newer version of sox a try.


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to