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 AndroidEXECUTE 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: 12017-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 mind2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 10242017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resamplerOutput #0, mp4, to '/tmp/test.mp4':Stream #0.0: Audio: aac, 44100 Hz, mono, fltp, 131 kb/s2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz2017-11-09 21:25:37.640746 [DEBUG] switch_core_file.c:358 File /tmp/test.mp4 sample rate 44100 doesn't match requested rate 48000Regards.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_mp4v2make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2'CC mod_mp4v2_la-mod_mp4v2.lomod_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' failedmake[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_mp4v2'Makefile:653: recipe for target 'mod_mp4v2-all' failedmake[3]: *** [mod_mp4v2-all] Error 1make[3]: Leaving directory '/usr/src/freeswitch/src/mod'Makefile:563: recipe for target 'all-recursive' failedmake[2]: *** [all-recursive] Error 1make[2]: Leaving directory '/usr/src/freeswitch/src'Makefile:3132: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/usr/src/freeswitch'Makefile:1402: recipe for target 'all' failedmake: *** [all] Error 2__________________________________________________________________________________________________________________________________________________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_vlcmake[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' failedmake[3]: *** [mod_vlc-all] Error 1make[3]: Leaving directory '/usr/src/freeswitch/src/mod'Makefile:563: recipe for target 'all-recursive' failedmake[2]: *** [all-recursive] Error 1make[2]: Leaving directory '/usr/src/freeswitch/src'Makefile:3132: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/usr/src/freeswitch'Makefile:1402: recipe for target 'all' failedmake: *** [all] Error 2I 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