Hi, Does anyone know what I'm doing wrong with: $ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav I get: 2013-10-15 11:23:47.745292 [ERR] switch_core_codec.c:654 Invalid codec L16! Couldn't initialize codec for L16@8000h@20i -Steve
I think you need to tell it both the input and output filenames. Sent from my iPhone On 15/10/2013, at 07:27, Steven Ayre <steveayre@gmail.com> wrote:
Hi,
Does anyone know what I'm doing wrong with:
$ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav
I get: 2013-10-15 11:23:47.745292 [ERR] switch_core_codec.c:654 Invalid codec L16! Couldn't initialize codec for L16@8000h@20i
-Steve _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
$ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav
I am... input of call.G729, output of call.wav On 15 October 2013 11:43, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
I think you need to tell it both the input and output filenames.
Sent from my iPhone
On 15/10/2013, at 07:27, Steven Ayre <steveayre@gmail.com> wrote:
Hi,
Does anyone know what I'm doing wrong with:
$ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav
I get: 2013-10-15 11:23:47.745292 [ERR] switch_core_codec.c:654 Invalid codec L16! Couldn't initialize codec for L16@8000h@20i
-Steve _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, When I tried I didn't used '-l mod_spandsp' and it worked fine. (1.2.stable) Dmitry. 2013/10/15 Steven Ayre <steveayre@gmail.com>
Hi,
Does anyone know what I'm doing wrong with:
$ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav
I get: 2013-10-15 11:23:47.745292 [ERR] switch_core_codec.c:654 Invalid codec L16! Couldn't initialize codec for L16@8000h@20i
-Steve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
$ fs_encode -v -l mod_com_g729 a.G729 a.wav ...has the same error (actually the log shows it's still loading mod_spandsp mod_sndfile and mod_native_file anyway). On 15 October 2013 16:39, Dmitry Lysenko <dvl36.ripe.nick@gmail.com> wrote:
Hi,
When I tried I didn't used '-l mod_spandsp' and it worked fine. (1.2.stable)
Dmitry.
2013/10/15 Steven Ayre <steveayre@gmail.com>
Hi,
Does anyone know what I'm doing wrong with:
$ fs_encode -v -l mod_spandsp -l mod_com_g729 call.G729 call.wav
I get: 2013-10-15 11:23:47.745292 [ERR] switch_core_codec.c:654 Invalid codec L16! Couldn't initialize codec for L16@8000h@20i
-Steve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I checked right now, and it work. (git, 1.2.stable, Oct,11) How about other codecs? Using 'sudo'?
You can only use the -l switch once. Just separate the modules you want to load with commas: fs_encode -v -l mod_spandsp , mod_com_g729 call.G729 call.wav On Tue, Oct 15, 2013 at 4:47 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com>wrote:
I checked right now, and it work. (git, 1.2.stable, Oct,11) How about other codecs? Using 'sudo'?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Guillermo Ruiz Camauer
Same happens when only using a single '-l mod_com_g729' arg. Also does anyone know a way to run this without having to be root? Strace shows the reason is it tries to open the /etc/freeswitch configs and write them to /var/log/freeswitch/freeswitch.xml.fsxml (which needs the freeswitch or root user). -Steve On 17 October 2013 00:11, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
You can only use the -l switch once. Just separate the modules you want to load with commas:
fs_encode -v -l mod_spandsp , mod_com_g729 call.G729 call.wav
On Tue, Oct 15, 2013 at 4:47 PM, Dmitry Lysenko <dvl36.ripe.nick@gmail.com
wrote:
I checked right now, and it work. (git, 1.2.stable, Oct,11) How about other codecs? Using 'sudo'?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Guillermo Ruiz Camauer
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok for some reason today it works! I did just update to 1.2.14 though and reboot though, so perhaps something changed there. :) Does anyone know how to run the program as any user? On 17 October 2013 02:13, Steven Ayre <steveayre@gmail.com> wrote:
Same happens when only using a single '-l mod_com_g729' arg.
Also does anyone know a way to run this without having to be root?
Strace shows the reason is it tries to open the /etc/freeswitch configs and write them to /var/log/freeswitch/freeswitch.xml.fsxml (which needs the freeswitch or root user).
-Steve
On 17 October 2013 00:11, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
You can only use the -l switch once. Just separate the modules you want to load with commas:
fs_encode -v -l mod_spandsp , mod_com_g729 call.G729 call.wav
On Tue, Oct 15, 2013 at 4:47 PM, Dmitry Lysenko < dvl36.ripe.nick@gmail.com> wrote:
I checked right now, and it work. (git, 1.2.stable, Oct,11) How about other codecs? Using 'sudo'?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Guillermo Ruiz Camauer
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Dmitry Lysenko
-
Guillermo Ruiz Camauer
-
Steven Ayre