[asterisk-users] File Convert

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 20 07:45:33 CST 2011


On Tue, Dec 20, 2011 at 05:34:46PM +0530, Gopalakrishnan N wrote:
> Hi users,
> 
> I have Asterisk 1.6.2.20 in Ubuntu 10.04. I am trying to convert a gsm file
> to G729 using file convert, but I am facing error as follows,
> 
> file convert /tmp/welcome.gsm /tmp/welcome.g729
> Failed to convert /tmp/welcome.gsm to /tmp/welcome.g729!
> Command 'file convert /tmp/welcome.gsm /tmp/welcome.g729' failed.
> [Dec 20 17:24:18] WARNING[2221]: translate.c:256 ast_translator_build_path:
> No translator path from g723 to alaw
> [Dec 20 17:24:18] WARNING[2221]: file.c:184 ast_writestream: Unable to
> translate to format g729, source format gsm
> 
> Even though I have the module format_g729.so. Do I need to have licensed
> G729 codec for this? or codec_g729.so?

Yes. The g729 codec module requires a per-codec-instance license. In
your case you use a single codec for encoding the audio to G.729.

BTW: if this is a file you recorded, why convert it from gsm and not
from a higher-quality format? If this is from the stanard set of
prompts: any chance it is already available as g729?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list