[Freeswitch-users] Best sound file format for freeswitch

Giovanni Maruzzelli gmaruzz at gmail.com
Thu Apr 23 20:21:00 MSD 2015


On Thu, Apr 23, 2015 at 6:16 PM, Aqs Younas <aqsyounas at gmail.com> wrote:

> Thanks for your quick reply.
>
> Does suppressing  2 channels would be helpful?
>
>
yes, go from stereo mp3 to mono with one only pass. You can use sox, lame,
audacty or whatever, but probably the easiest and bullet proof way is to
load mod_shout in fs_encode, and use it as per mod_native_file confluence
page instructions

-giovanni




> On 23 April 2015 at 20:59, Chris Tunbridge <blasterjr at gmail.com> wrote:
>
>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150423/ce5119b9/attachment.html 


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