[Freeswitch-users] Optimum sound file format

Nik Middleton nik.middleton at noblesolutions.co.uk
Thu Apr 16 15:04:48 PDT 2009


Hi Guys,

 

I'm looking for the optimum audio format when using streamfile in a lua
script.

 

I've found CPU load increases rapidly with the number of threads playing
a .wav file.  Can anyone tell me the optimum when using g711a?

 

Right now the the .wav files are 

 

Audio format: PCM

Sample rate : 8 kHz

Mono

Sample Size: 16 bit

Bit rate          :128kbps

 

Will it help CPU load if I resample to a bit rate of 64kbps and sample
size of 8 bit?

 

I have read that the sample size needs to be 13-14bit  +1 for alaw/ulaw
though

 

Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090416/8d372edc/attachment-0002.html 


More information about the FreeSWITCH-users mailing list