[Freeswitch-users] Transcoding to GSM using SOX

Anthony Minessale anthony.minessale at gmail.com
Tue Nov 4 07:20:06 PST 2008


Try reversing the order you load mod_sndfile and mod_voipcodecs and let me
know if it makes any diff.


On Mon, Nov 3, 2008 at 9:01 PM, Brian Wood <bwood-lists at jacosoft.com> wrote:

> I'm trying to transcode a .wav to a .gsm using SOX v14.0.1. What I get
> is a completely garbled when using playback in FreeSWITCH. I have
> verified that at least one other application (Quicktime Player) can in
> fact play the resulting .gsm file.
>
> I have tried the following:
>
>    sox william.wav -t gsm william.gsm
>    sox william.wav -t gsm -r 8000 william.gsm resample -ql
>    sox william.wav -t gsm -r 8000 -c1 william.gsm resample -ql
>
> And I am playing the file using:
>
>    originate sofia/internal/1000 at 192.168.1.1
> &playback(/home/user/william.gsm)
>
> Other formats such as uLaw and aLaw (-t ul and -t al, respectively) seem
> to work fine.
>
> Does anyone know of a set of parameters for SOX that will make this work?
>
> At the end of the day, I just want it to work, so if anyone can
> recommend any other known/good command line tools to encode GSM that
> would be fine too.
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081104/4ee92d48/attachment-0002.html 


More information about the FreeSWITCH-users mailing list