[Freeswitch-users] Speex file format

Avi Marcus avi at avimarcus.net
Thu Apr 19 20:59:09 MSD 2012


It seems all the codecs are are chosen in uppercase, as it seems to be
listed here: http://wiki.freeswitch.org/wiki/Mod_native_file
The name for SPEEX codec is SPEEX, not spx, so that's why it chose it.
You can probably modify mod_speex to add an alias to load .spx files also.

-Avi


On Thu, Apr 19, 2012 at 7:25 PM, Bernard Fluixa <fluixab at bellsouth.net>wrote:

> Avi - WeIl, I recorded one file yesterday with ".SPEEX" extension FROM
> Freeswitch and could play it with playback command. No problem. However, it
> is my understanding that speex format files have ".spx" extension. Why
> doesn't Freeswitch allows for ".spx" extension?
>
> .speex extension are not accepted.
>
> Thanks again
>
> Bernard
>
> On Apr 19, 2012, at 11:50 AM, Avi Marcus wrote:
>
> Didn't we answer this yesterday? Bernard, have you tried it yet with a
> .SPEEX (or .speex?) extension?
>
> -Avi
>
>
>
> On Thu, Apr 19, 2012 at 6:38 PM, Bernard Fluixa <fluixab at bellsouth.net>wrote:
>
>> Hello,
>>
>> I cannot play ".spx" (speex) file in commands such as originate…
>> &playback(file.spx). I double-checked that mod_speex is loaded OK.
>> Freeswitch returns
>>
>> 2012-04-19 11:35:40.532068 [ERR] switch_core_file.c:122 Invalid file
>> format [spx] for [test.spx]!
>>
>> I converted file to wav format and could play it (speexdec test.spx
>> test.wav) with playback command. I probably missed a point here but I would
>> like to know how I can play speex files without having to convert them to
>> wav first.
>>
>> Anyone?
>>
>> Thank you
>>
>> Bernard
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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://wiki.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://wiki.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/20120419/08655ae3/attachment.html 


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