[Freeswitch-users] mod_native_file and speex

Cliff Wells cliff at develix.com
Thu Oct 6 09:08:45 MSD 2011


Hi Mathieu,

I will give that a try, thanks!

Cliff

On Thu, 2011-10-06 at 00:42 -0400, Mathieu Rene wrote:
> Hi,
> 
> I made a small tool to encode files for use with mod_native_file, it's being compiled automatically as part of the normal install process.
> 
> Try that:
> fs_encode -l mod_speex file.wav file.SPEEX
> 
> PS: The binary sits right next to fs_cli and freeswitch
> 
> Mathieu Rene
> Avant-Garde Solutions Inc
> Office: + 1 (514) 664-1044 x100
> Cell: +1 (514) 664-1044 x200
> mrene at avgs.ca
> 
> 
> 
> 
> On 2011-10-05, at 3:21 PM, Cliff Wells wrote:
> 
> > I'm using Speex to bridge calls between an out-of-state Asterisk box and
> > a local FreeSWITCH IVR.  This works great, but I'm having to do needless
> > transcoding on the FS system to play the IVR .wav files.  I tried using
> > speexenc to generate speex versions of the files but the audio is
> > garbled (sounds like a screech).  No errors or warnings are generated on
> > the console when playing the file.  I'm only using 8000Hz, mono files
> > and generate the speex file with -n (narrowband) argument.
> > 
> > I believe speexenc generates the files in an ogg container, so perhaps
> > this is the problem, but I'm not sure how to get around it if it is.
> > 
> > In any case, if anyone knows of a recipe for creating speex files that
> > mod_native_file can use, I'd appreciate a pointer.
> > 
> > Regards,
> > Cliff
> > 
> > 
> > 
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> 
> 
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list