[Freeswitch-users] Record module for video calls

Giovanni Maruzzelli gmaruzz at gmail.com
Thu Nov 9 17:45:56 UTC 2017


libavcodec-extra (if you copy and paste)



On 9 November 2017 at 16:34, Michael Jerris <mike at 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 at 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 at 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 at 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 at 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 at jerris.com>のメール:
>>
>>
>> use mod_av.
>>
>> On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <freeswitch940 at gmail.com>
>> wrote:
>>
>>> Use mod_mp4v2.
>>>
>>> On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <cong.wang.itsherpa at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171109/eed4f23a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list