[Freeswitch-users] Best sound file format for freeswitch

Chris Tunbridge blasterjr at gmail.com
Thu Apr 23 19:59:50 MSD 2015


This depends on the codec your users are using.

If its PCMA or PCMU then you should be fine with wav, and if you want to
suppress the 2 channels message you can convert it to a mono file, here's
an example with sox.

sox input.mp3 -c 1 -r 8000 output.wav

On Thu, Apr 23, 2015 at 9:18 AM, Aqs Younas <aqsyounas at gmail.com> wrote:

> Hi,users.
>
> I have 1-100 sound files (mp3) and wants to play these files in loop from
> 1 to 100 to more than 250 concurrent users.
>
> Currently these sound files have format.
>
> Codec: MPEG audio layer 1/2/3 (mpga)
> Channels: Stereo
> Sample Rate: 22050 Hz
> Bitrate: 64 kb/s
>
> While playing these files I see in freeswitch log.
>
>
> *2015-04-23 14:17:59.351859 [WARNING] switch_core_file.c:230 File has 2
> channels, muxing to 1 channel will occur.*
>
>
> I want my freeswitch to have minimum load while playing these files
> (located on freeswitch server).
>
> I which file format I must convert these files to have my freeswitch  with
>  minimum load.
>
> Your Guys opinion is much appreciated.
>
> Thanks
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/a9b4f25d/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list