[Freeswitch-users] Best sound file format for freeswitch

Chris Tunbridge blasterjr at gmail.com
Fri Apr 24 01:06:58 MSD 2015


Brain i think what he's trying to say is that he'll have upto 250 callers,
that can call in at any time, and when a caller calls in, they need to
start at the beginning of this list, not where the stream currently is.

On Thu, Apr 23, 2015 at 2:19 PM, Brian West <brian at freeswitch.org> wrote:

> Still doesn't matter, If you have 100 files you wish to pay in sequence to
> all the callers, the same applies.  Its still one local string with a list
> of things to play and its shared to all callers.
>
> On Thu, Apr 23, 2015 at 11:43 AM, Aqs Younas <aqsyounas at gmail.com> wrote:
>
>> Hi, Brian.
>>
>> I think you misunderstood my question. Its not one file but 100 files
>> that we are playing in sequence(1-100) to every Caller.
>>
>> Thanks
>>
>>
>> On 23 April 2015 at 21:33, Aqs Younas <aqsyounas at gmail.com> wrote:
>>
>>> Yep, We are playing same sound files to every user. Actually sound files
>>> are some sort of lecture files. As soon as a call comes in, we start
>>> playing files from 1 to 100.
>>>
>>> On 23 April 2015 at 21:21, Giovanni Maruzzelli <gmaruzz at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> ClueCon 2015 Call for Speakers
> <https://www.cluecon.com/call-for-speakers/> | Register
> <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
> <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> 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/9ecdc0b4/attachment.html 


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