Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards.
Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com> wrote:
Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com> wrote:
Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Okay I had tried to install mp4v2-2.0.0 but the error still occurred. root@157-REASDEMO-FS:/usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0# make cd . && /bin/bash /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing --run automake-1.11 --foreign /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing: Line 52: automake-1.11: Command not found. WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing --run autoconf aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. /usr/bin/m4:configure.ac:23: empty string treated as 0 autom4te: /usr/bin/m4 failed with exit status: 1 GNUmakefile:627: recipe for target 'configure' failed make: *** [configure] Error 1 Is there any other configure I missed?
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
You seem to be missing a lot of RPMs. Below is the list I used, but they may have different names based on your OS and you may need to use yum rather than apt-get. Also I think I remember the documentation for some of the modules tell you what PRMs are neded. sudo apt-get install -y libncurses5-dev sudo apt-get -y install packaging-dev ubuntu-dev-tools subversion git-core autoconf automake gcc g++ make build-essential linux-headers-$(uname -r) sudo apt-get install -y flex bison libmysqlclient-dev libssl-dev libcurl4-openssl-dev libxml2-dev libpcre3-dev libperl-dev python-dev libmicrohttpd-dev sudo apt-get install -y mysql-client-core-5.7 python-mysqldb Robert Mundkowsky From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: Thursday, November 9, 2017 3:29 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Record module for video calls Okay I had tried to install mp4v2-2.0.0 but the error still occurred. root@157-REASDEMO-FS:/usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0#<mailto:root@157-REASDEMO-FS:/usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0#> make cd . && /bin/bash /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing --run automake-1.11 --foreign /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing: Line 52: automake-1.11: Command not found. WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /usr/src/freeswitch/src/mod/applications/mod_mp4v2/mp4v2-2.0.0/autoaux/missing --run autoconf aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. /usr/bin/m4:configure.ac:23: empty string treated as 0 autom4te: /usr/bin/m4 failed with exit status: 1 GNUmakefile:627: recipe for target 'configure' failed make: *** [configure] Error 1 Is there any other configure I missed? 2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>のメール: First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files? 2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>>のメール: use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.freeswitch.org%2Fwiki%2FMod_vlc&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403798290&sdata=id7NnuaBoGdacFIMlhEVIa6f6YC%2Fu5NPM5sF2Y0Jzw0%3D&reserved=0>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=wvuqorf%2F3%2Byp3oyxQufG9RUWiyakXfegAsSvNcQFuYg%3D&reserved=0> Official FreeSWITCH Sites http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=d8InpJ1KHVNnMFuYRBik7Ta2Orfc%2FDA%2FS57IGXMBcno%3D&reserved=0> http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=uHZhO4ZHZop11XyoHz3H%2Fab1QUurz5MT7takZmy4ZrM%3D&reserved=0> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=1VT8HxtMLjEMAYNzAVqWolqLRReJKqYFWrCkBcxkCBo%3D&reserved=0> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=cUvvYTvZtgXF5o%2FXSCX0AIJ8E1dwyPU2Xp5rK6jDJfA%3D&reserved=0> http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=wvuqorf%2F3%2Byp3oyxQufG9RUWiyakXfegAsSvNcQFuYg%3D&reserved=0> Official FreeSWITCH Sites http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=d8InpJ1KHVNnMFuYRBik7Ta2Orfc%2FDA%2FS57IGXMBcno%3D&reserved=0> http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=uHZhO4ZHZop11XyoHz3H%2Fab1QUurz5MT7takZmy4ZrM%3D&reserved=0> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=1VT8HxtMLjEMAYNzAVqWolqLRReJKqYFWrCkBcxkCBo%3D&reserved=0> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=cUvvYTvZtgXF5o%2FXSCX0AIJ8E1dwyPU2Xp5rK6jDJfA%3D&reserved=0> http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=wvuqorf%2F3%2Byp3oyxQufG9RUWiyakXfegAsSvNcQFuYg%3D&reserved=0> Official FreeSWITCH Sites http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=d8InpJ1KHVNnMFuYRBik7Ta2Orfc%2FDA%2FS57IGXMBcno%3D&reserved=0> http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=uHZhO4ZHZop11XyoHz3H%2Fab1QUurz5MT7takZmy4ZrM%3D&reserved=0> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=1VT8HxtMLjEMAYNzAVqWolqLRReJKqYFWrCkBcxkCBo%3D&reserved=0> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=cUvvYTvZtgXF5o%2FXSCX0AIJ8E1dwyPU2Xp5rK6jDJfA%3D&reserved=0> http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=wvuqorf%2F3%2Byp3oyxQufG9RUWiyakXfegAsSvNcQFuYg%3D&reserved=0> Official FreeSWITCH Sites http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> http://confluence.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=d8InpJ1KHVNnMFuYRBik7Ta2Orfc%2FDA%2FS57IGXMBcno%3D&reserved=0> http://www.cluecon.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=uHZhO4ZHZop11XyoHz3H%2Fab1QUurz5MT7takZmy4ZrM%3D&reserved=0> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=1VT8HxtMLjEMAYNzAVqWolqLRReJKqYFWrCkBcxkCBo%3D&reserved=0> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=cUvvYTvZtgXF5o%2FXSCX0AIJ8E1dwyPU2Xp5rK6jDJfA%3D&reserved=0> http://www.freeswitch.org<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ceb1ca714eca74f0f10d408d5274c63a4%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636458131403954541&sdata=kVDBnv6Tc6cYRAaJcfrdOomjxSL8pZhXDsGp1qBHQuY%3D&reserved=0> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________
Hey all, I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea? Server : Freeswitch 1.9.0 (master) Client : Linphone Android EXECUTE sofia/external/1001@192.168.109.2 record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000 Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2 <mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
libavcodec-extra (if you copy and paste) On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com> wrote:
as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2 record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/ applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/ applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com> wrote:
Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com> wrote:
Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/ formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/ formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. ____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
Hey all, Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works. Now mod_av shows error during recordings: 2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream Codec lists: type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE 32 total. I had tried to unload mod_h26x but nothing changed. Is there any advices? Regards. PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2 <mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess. Does it work if you disable mod_h26x? Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls Hey all, Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works. Now mod_av shows error during recordings: 2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream Codec lists: type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE 32 total. I had tried to unload mod_h26x but nothing changed. Is there any advices? Regards. PS. I’ll be appreciate if anyone could send me the documentation about mod_av. 2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>のメール: libavcodec-extra (if you copy and paste) On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package. On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Hey all, I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea? Server : Freeswitch 1.9.0 (master) Client : Linphone Android EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000 Regards. 2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>のメール: First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files? 2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>>のメール: use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x. Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4 Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess. Does it work if you disable mod_h26x? Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls Hey all, Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works. Now mod_av shows error during recordings: 2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream Codec lists: type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE 32 total. I had tried to unload mod_h26x but nothing changed. Is there any advices? Regards. PS. I’ll be appreciate if anyone could send me the documentation about mod_av. 2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>のメール: libavcodec-extra (if you copy and paste) On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package. On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Hey all, I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea? Server : Freeswitch 1.9.0 (master) Client : Linphone Android EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000 Regards. 2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>のメール: First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files? 2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>>のメール: use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>> wrote: Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes. Regards. Shaun Stokes <shaun.stokes@itec-support.co.uk> 于 2017年11月10日周五 20:49写道:
I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x.
Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess.
Does it work if you disable mod_h26x?
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
Hey all,
Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works.
Now mod_av shows error during recordings:
2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream
Codec lists:
type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE
32 total.
I had tried to unload mod_h26x but nothing changed. Is there any advices?
Regards.
PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto: gmaruzz@gmail.com>>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto: mike@jerris.com>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/ 1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto: freeswitch940@gmail.com>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com
のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
In a nutshell. Debian 8.9 (Net install) 'deb http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list 'deb-src http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list apt-get update apt-get install -y --force-yes deb-multimedia-keyring apt-get update apt-get install -y --force-yes ffmpeg apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update && apt-get upgrade apt-get install -y --force-yes freeswitch-video-deps-most ## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again. apt-get install libavcodec-extra libavcodec-extra-56 git config --global pull.rebase true cd /usr/src rm -R freeswitch git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch cd freeswitch ./bootstrap.sh -j sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:' sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:' export CFLAGS="-g -ggdb" export MOD_CFLAGS="-g -ggdb" ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs make rm -rf /usr/local/freeswitch/{lib,mod,bin}/* make install make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: 11 November 2017 23:26 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Record module for video calls Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes. Regards. Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> 于 2017年11月10日周五 20:49写道: I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x. Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4 Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess. Does it work if you disable mod_h26x? Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of 王聡 [cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls Hey all, Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works. Now mod_av shows error during recordings: 2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream Codec lists: type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE 32 total. I had tried to unload mod_h26x but nothing changed. Is there any advices? Regards. PS. I’ll be appreciate if anyone could send me the documentation about mod_av. 2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com><mailto:gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>>のメール: libavcodec-extra (if you copy and paste) On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package. On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hey all, I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea? Server : Freeswitch 1.9.0 (master) Client : Linphone Android EXECUTE sofia/external/1001@192.168.109.2<mailto:1001@192.168.109.2><mailto:sofia<mailto:sofia>/external/1001@192.168.109.2<mailto:1001@192.168.109.2>> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000 Regards. 2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>>のメール: First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files? 2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>>のメール: use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>> wrote: Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Thanks very much. I'll try it on my Debian 8 server tomorrow and hope it works. Shaun Stokes <shaun.stokes@itec-support.co.uk> 于 2017年11月12日周日 10:24写道:
In a nutshell.
Debian 8.9 (Net install)
'deb http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list
'deb-src http://www.deb-multimedia.org jessie main non-free' >> /etc/apt/sources.list
apt-get update
apt-get install -y --force-yes deb-multimedia-keyring
apt-get update
apt-get install -y --force-yes ffmpeg
apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev
curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
"deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
apt-get update && apt-get upgrade
apt-get install -y --force-yes freeswitch-video-deps-most
## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again.
apt-get install libavcodec-extra libavcodec-extra-56
git config --global pull.rebase true
cd /usr/src
rm -R freeswitch
git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
cd freeswitch
./bootstrap.sh -j
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:'
sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:'
export CFLAGS="-g -ggdb"
export MOD_CFLAGS="-g -ggdb"
./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs
make
rm -rf /usr/local/freeswitch/{lib,mod,bin}/*
make install
make sounds-install moh-install
make hd-sounds-install hd-moh-install
make cd-sounds-install cd-moh-install
*From:* FreeSWITCH-users [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *?? *Sent:* 11 November 2017 23:26
*To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
*Subject:* Re: [Freeswitch-users] Record module for video calls
Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes.
Regards.
Shaun Stokes <shaun.stokes@itec-support.co.uk> 于 2017年11月10日周五 20:49写道:
I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x.
Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess.
Does it work if you disable mod_h26x?
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
Hey all,
Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works.
Now mod_av shows error during recordings:
2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream
Codec lists:
type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE
32 total.
I had tried to unload mod_h26x but nothing changed. Is there any advices?
Regards.
PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto: gmaruzz@gmail.com>>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto: mike@jerris.com>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/ 1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto: freeswitch940@gmail.com>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com>> のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa@gmail.com<mailto: cong.wang.itsherpa@gmail.com>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc ( https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: 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<http://www.freeswitch.org/>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 had tried this configuation just now, and freeswitch showed me a new error: 2017-11-13 13:12:17.990540 [ERR] avformat.c:2225 Error while writing audio frame: Invalid argument As a result, I got a mp4 file, but only voice included. Both caller and mp4 file has no video. Is there any codec problems exists? Messages on record start: EXECUTE sofia/external/1001@192.168.109.2 record_session(/tmp/test.mp4) 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:1919 sample rate: 48000, channels: 1 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 13:12:17.480540 [NOTICE] avformat.c:648 sample_rate: 48000 nb_samples: 1024 Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: libvo_aacenc, 48000 Hz, mono, s16, 131 kb/s 2017-11-13 13:12:17.480540 [INFO] avformat.c:2061 Opening File [/tmp/test.mp4] 48000hz with VIDEO 2017-11-13 13:12:17.540539 [NOTICE] switch_vpx.c:406 VPX reset encoder picture from 320x240 to 352x288 2048 BW using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 13:12:17.560543 [INFO] avformat.c:2716 use video codec implementation Video: libx264, yuv420p, 1280x720, q=10-31 2017-11-13 13:12:17.560543 [NOTICE] avformat.c:730 video thread start Regards.
2017/11/12 10:24、Shaun Stokes <shaun.stokes@itec-support.co.uk>のメール:
In a nutshell.
Debian 8.9 (Net install)
'deb http://www.deb-multimedia.org <http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list 'deb-src http://www.deb-multimedia.org <http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list
apt-get update apt-get install -y --force-yes deb-multimedia-keyring apt-get update apt-get install -y --force-yes ffmpeg
apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub <https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub> | apt-key add - "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ <http://files.freeswitch.org/repo/deb/freeswitch-1.6/> jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update && apt-get upgrade apt-get install -y --force-yes freeswitch-video-deps-most ## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again. apt-get install libavcodec-extra libavcodec-extra-56
git config --global pull.rebase true
cd /usr/src rm -R freeswitch git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git <https://freeswitch.org/stash/scm/fs/freeswitch.git> /usr/src/freeswitch cd freeswitch
./bootstrap.sh -j sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:' sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:'
export CFLAGS="-g -ggdb" export MOD_CFLAGS="-g -ggdb" ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs make rm -rf /usr/local/freeswitch/{lib,mod,bin}/* make install make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: 11 November 2017 23:26 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Record module for video calls
Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes.
Regards.
Shaun Stokes <shaun.stokes@itec-support.co.uk <mailto:shaun.stokes@itec-support.co.uk>> 于 2017年11月10日周五 20:49写道: I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x.
Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk <mailto:shaun.stokes@itec-support.co.uk>] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess.
Does it work if you disable mod_h26x?
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of 王聡 [cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
Hey all,
Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works.
Now mod_av shows error during recordings:
2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream
Codec lists:
type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE
32 total.
I had tried to unload mod_h26x but nothing changed. Is there any advices?
Regards.
PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com <mailto:gmaruzz@gmail.com><mailto:gmaruzz@gmail.com <mailto:gmaruzz@gmail.com>>>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com><mailto:mike@jerris.com <mailto:mike@jerris.com>>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡<cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2 <mailto:1001@192.168.109.2><mailto:sofia <mailto:sofia>/external/1001@192.168.109.2 <mailto:1001@192.168.109.2>> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡<cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com <mailto:mike@jerris.com><mailto:mike@jerris.com <mailto:mike@jerris.com>>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com <mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com <mailto:freeswitch940@gmail.com>>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡<cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com <mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc <https://wiki.freeswitch.org/wiki/Mod_vlc>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/ <http://www.freeswitchsolutions.com/>>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/><http://confluence.freeswitch.org/ <http://confluence.freeswitch.org/>> http://www.cluecon.com <http://www.cluecon.com/><http://www.cluecon.com/ <http://www.cluecon.com/>>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/><http://www.freeswitch.org/ <http://www.freeswitch.org/>>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
Your example now looks almost identical to ours but we don't have any issues recording H264 video with G722 audio. Haven't tested using Linphone but it works using the Jitsi (desktop) softphone client G722\H264. uuid_record xxx-xxx-xxx-xx-xxx start /tmp/test2.mp4 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:1919 sample rate: 16000, channels: 1 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 08:09:12.236857 [NOTICE] avformat.c:648 sample_rate: 16000 nb_samples: 1024 Output #0, mp4, to '/tmp/test2.mp4': Stream #0:0 : Audio: aac (libfaac), 16000 Hz, mono, s16, 96 kb/s 2017-11-13 08:09:12.236857 [INFO] avformat.c:2061 Opening File [/tmp/test2.mp4] 16000hz with VIDEO 2017-11-13 08:09:12.246844 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/200@192.168.1.240:42582 2017-11-13 08:09:12.256874 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1 profile Constrained Baseline, level 4.1 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 08:09:12.316837 [INFO] avformat.c:2716 use video codec implementation Video: h264 (libx264), yuv420p(pc, gbr/unknown/unknown), 640x480, q=10-31 2017-11-13 08:09:12.316837 [NOTICE] avformat.c:730 video thread start ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 13 November 2017 04:25 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls I had tried this configuation just now, and freeswitch showed me a new error: 2017-11-13 13:12:17.990540 [ERR] avformat.c:2225 Error while writing audio frame: Invalid argument As a result, I got a mp4 file, but only voice included. Both caller and mp4 file has no video. Is there any codec problems exists? Messages on record start: EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:1919 sample rate: 48000, channels: 1 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 13:12:17.480540 [NOTICE] avformat.c:648 sample_rate: 48000 nb_samples: 1024 Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: libvo_aacenc, 48000 Hz, mono, s16, 131 kb/s 2017-11-13 13:12:17.480540 [INFO] avformat.c:2061 Opening File [/tmp/test.mp4] 48000hz with VIDEO 2017-11-13 13:12:17.540539 [NOTICE] switch_vpx.c:406 VPX reset encoder picture from 320x240 to 352x288 2048 BW using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 13:12:17.560543 [INFO] avformat.c:2716 use video codec implementation Video: libx264, yuv420p, 1280x720, q=10-31 2017-11-13 13:12:17.560543 [NOTICE] avformat.c:730 video thread start Regards. 2017/11/12 10:24、Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>>のメール: In a nutshell. Debian 8.9 (Net install) 'deb http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list 'deb-src http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list apt-get update apt-get install -y --force-yes deb-multimedia-keyring apt-get update apt-get install -y --force-yes ffmpeg apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update && apt-get upgrade apt-get install -y --force-yes freeswitch-video-deps-most ## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again. apt-get install libavcodec-extra libavcodec-extra-56 git config --global pull.rebase true cd /usr/src rm -R freeswitch git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch cd freeswitch ./bootstrap.sh -j sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:' sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:' export CFLAGS="-g -ggdb" export MOD_CFLAGS="-g -ggdb" ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs make rm -rf /usr/local/freeswitch/{lib,mod,bin}/* make install make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: 11 November 2017 23:26 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] Record module for video calls Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes. Regards. Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> 于 2017年11月10日周五 20:49写道: I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x. Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4 Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess. Does it work if you disable mod_h26x? Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of 王聡 [cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls Hey all, Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works. Now mod_av shows error during recordings: 2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream Codec lists: type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE 32 total. I had tried to unload mod_h26x but nothing changed. Is there any advices? Regards. PS. I’ll be appreciate if anyone could send me the documentation about mod_av. 2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com><mailto:gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>>のメール: libavcodec-extra (if you copy and paste) On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package. On Nov 9, 2017, at 7:30 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hey all, I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea? Server : Freeswitch 1.9.0 (master) Client : Linphone Android EXECUTE sofia/external/1001@192.168.109.2<mailto:1001@192.168.109.2><mailto:sofia<mailto:sofia>/external/1001@192.168.109.2<mailto:1001@192.168.109.2>> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000 Regards. 2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>>のメール: First install the mp4v2-2.0.0 package then configure freeswitch again . On Thu, 9 Nov 2017 at 10:36 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Thanks for your advices. I had not found the instructions for mod_av, so I tried mp4v2, but got an error. making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 It seems that I had missed some files? 2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>>のメール: use mod_av. On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>> wrote: Use mod_mp4v2. On Thu, 9 Nov 2017 at 7:06 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hi All, Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod. making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2 I had already installed the libvlc-dev but it still can’t built correctly. Is there any idea? Or any other way for video call recordings? Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/> ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
Sorry for asking too much, but I want to confirm video codec during your recording(VP8 / H264 / etc.). My client can only use vp8 codec, and mod_av always record via h264. Maybe this will be the reason. As far as I tested, there are no error on fs_cli, but video packets(VP8) from server almost disappered in tcpdump, and I can’t find out the problem :(
2017/11/13 17:40、Shaun Stokes <shaun.stokes@itec-support.co.uk>のメール:
Your example now looks almost identical to ours but we don't have any issues recording H264 video with G722 audio.
Haven't tested using Linphone but it works using the Jitsi (desktop) softphone client G722\H264.
uuid_record xxx-xxx-xxx-xx-xxx start /tmp/test2.mp4 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:1919 sample rate: 16000, channels: 1 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 08:09:12.236857 [NOTICE] avformat.c:648 sample_rate: 16000 nb_samples: 1024 Output #0, mp4, to '/tmp/test2.mp4': Stream #0:0 : Audio: aac (libfaac), 16000 Hz, mono, s16, 96 kb/s 2017-11-13 08:09:12.236857 [INFO] avformat.c:2061 Opening File [/tmp/test2.mp4] 16000hz with VIDEO 2017-11-13 08:09:12.246844 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/200@192.168.1.240:42582 2017-11-13 08:09:12.256874 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1 profile Constrained Baseline, level 4.1 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 08:09:12.316837 [INFO] avformat.c:2716 use video codec implementation Video: h264 (libx264), yuv420p(pc, gbr/unknown/unknown), 640x480, q=10-31 2017-11-13 08:09:12.316837 [NOTICE] avformat.c:730 video thread start
________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 13 November 2017 04:25 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
I had tried this configuation just now, and freeswitch showed me a new error:
2017-11-13 13:12:17.990540 [ERR] avformat.c:2225 Error while writing audio frame: Invalid argument
As a result, I got a mp4 file, but only voice included. Both caller and mp4 file has no video. Is there any codec problems exists?
Messages on record start:
EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:1919 sample rate: 48000, channels: 1 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 13:12:17.480540 [NOTICE] avformat.c:648 sample_rate: 48000 nb_samples: 1024 Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: libvo_aacenc, 48000 Hz, mono, s16, 131 kb/s 2017-11-13 13:12:17.480540 [INFO] avformat.c:2061 Opening File [/tmp/test.mp4] 48000hz with VIDEO 2017-11-13 13:12:17.540539 [NOTICE] switch_vpx.c:406 VPX reset encoder picture from 320x240 to 352x288 2048 BW using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 13:12:17.560543 [INFO] avformat.c:2716 use video codec implementation Video: libx264, yuv420p, 1280x720, q=10-31 2017-11-13 13:12:17.560543 [NOTICE] avformat.c:730 video thread start
Regards.
2017/11/12 10:24、Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>>のメール:
In a nutshell.
Debian 8.9 (Net install)
'deb http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list 'deb-src http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list
apt-get update apt-get install -y --force-yes deb-multimedia-keyring apt-get update apt-get install -y --force-yes ffmpeg
apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update && apt-get upgrade apt-get install -y --force-yes freeswitch-video-deps-most ## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again. apt-get install libavcodec-extra libavcodec-extra-56
git config --global pull.rebase true
cd /usr/src rm -R freeswitch git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch cd freeswitch
./bootstrap.sh -j sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:' sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:'
export CFLAGS="-g -ggdb" export MOD_CFLAGS="-g -ggdb" ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs make rm -rf /usr/local/freeswitch/{lib,mod,bin}/* make install make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: 11 November 2017 23:26 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] Record module for video calls
Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes.
Regards.
Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> 于 2017年11月10日周五 20:49写道: I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x.
Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess.
Does it work if you disable mod_h26x?
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of 王聡 [cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
Hey all,
Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works.
Now mod_av shows error during recordings:
2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream
Codec lists:
type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE
32 total.
I had tried to unload mod_h26x but nothing changed. Is there any advices?
Regards.
PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com><mailto:gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2<mailto:1001@192.168.109.2><mailto:sofia<mailto:sofia>/external/1001@192.168.109.2<mailto:1001@192.168.109.2>> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Perhaps that's the problem, we found that the majority of devices we use had better compatibility with H264 so we don't use VP8. There's not much documentation currently available for mod_av so I'm not sure if there are any codec restrictions. If possible I would try to repeat your test using H264 as the video codec. ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 13 November 2017 10:10 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls Sorry for asking too much, but I want to confirm video codec during your recording(VP8 / H264 / etc.). My client can only use vp8 codec, and mod_av always record via h264. Maybe this will be the reason. As far as I tested, there are no error on fs_cli, but video packets(VP8) from server almost disappered in tcpdump, and I can’t find out the problem :(
2017/11/13 17:40、Shaun Stokes <shaun.stokes@itec-support.co.uk>のメール:
Your example now looks almost identical to ours but we don't have any issues recording H264 video with G722 audio.
Haven't tested using Linphone but it works using the Jitsi (desktop) softphone client G722\H264.
uuid_record xxx-xxx-xxx-xx-xxx start /tmp/test2.mp4 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:1919 sample rate: 16000, channels: 1 2017-11-13 08:09:12.226846 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 08:09:12.236857 [NOTICE] avformat.c:648 sample_rate: 16000 nb_samples: 1024 Output #0, mp4, to '/tmp/test2.mp4': Stream #0:0 : Audio: aac (libfaac), 16000 Hz, mono, s16, 96 kb/s 2017-11-13 08:09:12.236857 [INFO] avformat.c:2061 Opening File [/tmp/test2.mp4] 16000hz with VIDEO 2017-11-13 08:09:12.246844 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/200@192.168.1.240:42582 2017-11-13 08:09:12.256874 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1 profile Constrained Baseline, level 4.1 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 08:09:12.316837 [INFO] avformat.c:2716 use video codec implementation Video: h264 (libx264), yuv420p(pc, gbr/unknown/unknown), 640x480, q=10-31 2017-11-13 08:09:12.316837 [NOTICE] avformat.c:730 video thread start
________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org] on behalf of 王聡 [cong.wang.itsherpa@gmail.com] Sent: 13 November 2017 04:25 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
I had tried this configuation just now, and freeswitch showed me a new error:
2017-11-13 13:12:17.990540 [ERR] avformat.c:2225 Error while writing audio frame: Invalid argument
As a result, I got a mp4 file, but only voice included. Both caller and mp4 file has no video. Is there any codec problems exists?
Messages on record start:
EXECUTE sofia/external/1001@192.168.109.2<mailto:sofia/external/1001@192.168.109.2> record_session(/tmp/test.mp4) 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:1919 sample rate: 48000, channels: 1 2017-11-13 13:12:17.480540 [DEBUG] avformat.c:2037 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-13 13:12:17.480540 [NOTICE] avformat.c:648 sample_rate: 48000 nb_samples: 1024 Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: libvo_aacenc, 48000 Hz, mono, s16, 131 kb/s 2017-11-13 13:12:17.480540 [INFO] avformat.c:2061 Opening File [/tmp/test.mp4] 48000hz with VIDEO 2017-11-13 13:12:17.540539 [NOTICE] switch_vpx.c:406 VPX reset encoder picture from 320x240 to 352x288 2048 BW using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=60 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2017-11-13 13:12:17.560543 [INFO] avformat.c:2716 use video codec implementation Video: libx264, yuv420p, 1280x720, q=10-31 2017-11-13 13:12:17.560543 [NOTICE] avformat.c:730 video thread start
Regards.
2017/11/12 10:24、Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>>のメール:
In a nutshell.
Debian 8.9 (Net install)
'deb http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list 'deb-src http://www.deb-multimedia.org<http://www.deb-multimedia.org/> jessie main non-free' >> /etc/apt/sources.list
apt-get update apt-get install -y --force-yes deb-multimedia-keyring apt-get update apt-get install -y --force-yes ffmpeg
apt-get update && apt-get install -y --force-yes curl memcached haveged libssl-dev libvorbis0a libogg0 libogg-dev libvorbis-dev libshout3 libshout3-dev libmpg123-dev libmp3lame-dev curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add - "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list apt-get update && apt-get upgrade apt-get install -y --force-yes freeswitch-video-deps-most ## Libavcodec might already be installed at this point in one of the above packages, if so don’t install again. apt-get install libavcodec-extra libavcodec-extra-56
git config --global pull.rebase true
cd /usr/src rm -R freeswitch git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch cd freeswitch
./bootstrap.sh -j sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_cidlookup:applications/mod_cidlookup:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_memcache:applications/mod_memcache:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_curl:applications/mod_curl:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_av:applications/mod_av:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_directory:applications/mod_directory:' sed -i /usr/src/freeswitch/modules.conf -e s:'#applications/mod_distributor:applications/mod_distributor:' sed -i /usr/src/freeswitch/modules.conf -e s:'#formats/mod_shout:formats/mod_shout:'
export CFLAGS="-g -ggdb" export MOD_CFLAGS="-g -ggdb" ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs make rm -rf /usr/local/freeswitch/{lib,mod,bin}/* make install make sounds-install moh-install make hd-sounds-install hd-moh-install make cd-sounds-install cd-moh-install
From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of ?? Sent: 11 November 2017 23:26 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org<mailto:freeswitch-users@lists.freeswitch.org>> Subject: Re: [Freeswitch-users] Record module for video calls
Could you send me your server configuration (such as OS version and RPMs)? I need to determine if I missed any RPMs or codes.
Regards.
Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> 于 2017年11月10日周五 20:49写道: I've just tested video recording in mod_av and it works great but if I do need to unload mod_26x.
Unlike audio recording which combines all channels you have to record each video channel\steam separately (not a problem, just an observation). uuid_record xxx-xxx-xxx start /tmp/test.mp4
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of Shaun Stokes [shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>] Sent: 10 November 2017 08:08 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
It's just a guess, but if you're using mod_av then do you still need mod_h26x as that only supports pass-through mode. Perhaps mod_h26x is being used for the video therefore preventing mod_av from recording (Operation not permitted), again just a guess.
Does it work if you disable mod_h26x?
Shaun ________________________________________ From: FreeSWITCH-users [freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] on behalf of 王聡 [cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>] Sent: 10 November 2017 01:44 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Record module for video calls
Hey all,
Thanks for your advice, I had checked the PRMs and installed libavcodec-extra, and new codecs had added into mod_av, but it still not works.
Now mod_av shows error during recordings:
2017-11-10 10:39:08.255864 [ERR] avformat.c:614 Could not open video codec: Operation not permitted 2017-11-10 10:39:08.255864 [ERR] avformat.c:2505 Error adding video stream
Codec lists:
type,name,ikey codec,ADPCM (IMA),mod_spandsp codec,AMR / Bandwidth Efficient,mod_amr codec,AMR / Octet Aligned,mod_amr codec,B64 (STANDARD),mod_b64 codec,G.711 alaw,CORE_PCM_MODULE codec,G.711 ulaw,CORE_PCM_MODULE codec,G.722,mod_spandsp codec,G.726 16k,mod_spandsp codec,G.726 16k (AAL2),mod_spandsp codec,G.726 24k,mod_spandsp codec,G.726 24k (AAL2),mod_spandsp codec,G.726 32k,mod_spandsp codec,G.726 32k (AAL2),mod_spandsp codec,G.726 40k,mod_spandsp codec,G.726 40k (AAL2),mod_spandsp codec,GSM,mod_spandsp codec,H.261 Video (passthru),mod_h26x codec,H.263 Video (passthru),mod_h26x codec,H.263+ Video (passthru),mod_h26x codec,H.263++ Video (passthru),mod_h26x codec,H.264 Video (passthru),mod_h26x codec,H263 Video,mod_av codec,H263+ Video,mod_av codec,H264 Video,mod_av codec,LPC-10,mod_spandsp codec,OPUS (STANDARD),mod_opus codec,PROXY PASS-THROUGH,CORE_PCM_MODULE codec,PROXY VIDEO PASS-THROUGH,CORE_PCM_MODULE codec,RAW Signed Linear (16 bit),CORE_PCM_MODULE codec,Speex,CORE_SPEEX_MODULE codec,VP8 Video,CORE_VPX_MODULE codec,VP9 Video,CORE_VPX_MODULE
32 total.
I had tried to unload mod_h26x but nothing changed. Is there any advices?
Regards.
PS. I’ll be appreciate if anyone could send me the documentation about mod_av.
2017/11/10 2:45、Giovanni Maruzzelli <gmaruzz@gmail.com<mailto:gmaruzz@gmail.com><mailto:gmaruzz@gmail.com<mailto:gmaruzz@gmail.com>>>のメール:
libavcodec-extra (if you copy and paste)
On 9 November 2017 at 16:34, Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>> wrote: as i said, don’t use mod_vlc, or mod_mp4v2, load mod_av only. If using debian, make sure you have non free debian repos and install the libavcodecs-extras package.
On Nov 9, 2017, at 7:30 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote:
Hey all,
I had tried mod_vlc and mod_av for the recordings, however when I set the record on, no video showed on both caller and callee. Once I turned off the record, the video returns. Both fs_cli and client had no error appeared. Anyone had any idea?
Server : Freeswitch 1.9.0 (master) Client : Linphone Android
EXECUTE sofia/external/1001@192.168.109.2<mailto:1001@192.168.109.2><mailto:sofia<mailto:sofia>/external/1001@192.168.109.2<mailto:1001@192.168.109.2>> record_session(/tmp/test.mp4) 2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1 2017-11-09 21:25:37.620755 [DEBUG] avformat.c:1745 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024 2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, mp4, to '/tmp/test.mp4': Stream #0.0 : Audio: aac, 44100 Hz, mono, fltp, 131 kb/s 2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz 2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000
Regards.
2017/11/09 15:11、Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>>のメール:
First install the mp4v2-2.0.0 package then configure freeswitch again .
On Thu, 9 Nov 2017 at 10:36 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Thanks for your advices.
I had not found the instructions for mod_av, so I tried mp4v2, but got an error.
making all mod_mp4v2 make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' CC mod_mp4v2_la-mod_mp4v2.lo mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory #include <mp4v2/mp4v2.h> ^ compilation terminated. Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1 make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2' Makefile:653: recipe for target 'mod_mp4v2-all' failed make[3]: *** [mod_mp4v2-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
It seems that I had missed some files?
2017/11/09 12:31、Michael Jerris <mike@jerris.com<mailto:mike@jerris.com><mailto:mike@jerris.com<mailto:mike@jerris.com>>>のメール:
use mod_av.
On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940@gmail.com<mailto:freeswitch940@gmail.com><mailto:freeswitch940@gmail.com<mailto:freeswitch940@gmail.com>>> wrote: Use mod_mp4v2.
On Thu, 9 Nov 2017 at 7:06 AM, 王聡<cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com><mailto:cong.wang.itsherpa@gmail.com<mailto:cong.wang.itsherpa@gmail.com>>> wrote: Hi All,
Recently I need to record all contents for video calls on my FS server to make sure no illegal contents, and I found mod_vlc (https://wiki.freeswitch.org/wiki/Mod_vlc) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.
making all mod_vlc make[4]: Entering directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:892: *** You must install libvlc-dev to build mod_vlc. make[4]: Leaving directory '/usr/src/freeswitch/src/mod/formats/mod_vlc' Makefile:653: recipe for target 'mod_vlc-all' failed make[3]: *** [mod_vlc-all] Error 1 make[3]: Leaving directory '/usr/src/freeswitch/src/mod' Makefile:563: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/src/freeswitch/src' Makefile:3132: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/src/freeswitch' Makefile:1402: recipe for target 'all' failed make: *** [all] Error 2
I had already installed the libvlc-dev but it still can’t built correctly.
Is there any idea? Or any other way for video call recordings?
Regards. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/> _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/><http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/><http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/><http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/><http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/><http://www.freeswitch.org/>
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto:consulting@freeswitch.org>> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________ ______________________________________________________________________ This message has been checked for all known viruses by MessageLabs Virus Scanning Service. ______________________________________________________________________
participants (6)
-
Freeswitch user
-
Giovanni Maruzzelli
-
Michael Jerris
-
Mundkowsky, Robert
-
Shaun Stokes
-
王聡