Re: [asterisk-users] file convert wildcard support
DIR="sounds directory/*" cd $DIR for f in $DIR; do /usr/local/asterisk/sbin/asterisk -rx "file convert $f ${f%.*}.g729" done Thank you come again. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] file convert wildcard support
Hello Everyone, I was just wondering if the cli command "file convert" supports wildcard or entire directories? I am looking at a very long list right now and anxiously waiting a response :). Kind Regards, Nick from Toronto. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] File Convert
In article , Gopalakrishnan N wrote: > Hi Tzafir, > > Thanks for your reply. > > Yes my actual format I have in wav, I need to convert that to G729, and > more over is there any open G729 license available for single license? A single G729 licence from Digium online only costs US$10. You could easily spend much more than that in time looking for an unlicensed codec... Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] File Convert
Hi Tzafir, Thanks for your reply. Yes my actual format I have in wav, I need to convert that to G729, and more over is there any open G729 license available for single license? Regards, Gopal On Tue, Dec 20, 2011 at 7:15 PM, Tzafrir Cohen wrote: > 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.co...@xorcom.com > +972-50-7952406 mailto:tzafrir.co...@xorcom.com > http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] File Convert
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.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] File Convert
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? Kindly let me know how to convert the file. Regards -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users