<div dir="ltr">libavcodec-extra (if you copy and paste)<br><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 November 2017 at 16:34, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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.<div><div class="h5"><div><br><div><blockquote type="cite"><div>On Nov 9, 2017, at 7:30 AM, 王聡 <<a href="mailto:cong.wang.itsherpa@gmail.com" target="_blank">cong.wang.itsherpa@gmail.com</a>> wrote:</div><br class="m_954349264325281702Apple-interchange-newline"><div><div style="word-wrap:break-word">Hey all,<div><br></div><div>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?</div><div><br></div><div>Server : Freeswitch 1.9.0 (master)</div><div>Client : Linphone Android</div><div><br></div><div><div>EXECUTE <a href="mailto:sofia/external/1001@192.168.109.2" target="_blank">sofia/external/1001@192.168.<wbr>109.2</a> record_session(/tmp/test.mp4)</div><div>2017-11-09 21:25:37.530640 [DEBUG] avformat.c:1602 sample rate: 48000, channels: 1</div><div>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)</div><div>2017-11-09 21:25:37.640746 [WARNING] avformat.c:641 Codec [aac] is experimental feature in libavcodec, never mind</div><div>2017-11-09 21:25:37.640746 [NOTICE] avformat.c:670 sample_rate: 44100 nb_samples: 1024</div><div>2017-11-09 21:25:37.640746 [NOTICE] avformat.c:673 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler</div><div>Output #0, mp4, to '/tmp/test.mp4':</div><div>    Stream #0.0</div><div>: Audio: aac, 44100 Hz, mono, fltp, 131 kb/s</div><div>2017-11-09 21:25:37.640746 [INFO] avformat.c:1805 Opening File [/tmp/test.mp4] 44100hz</div><div>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</div></div><div><br></div><div>Regards.</div><div><br><div><blockquote type="cite"><div>2017/11/09 15:11、Freeswitch user <<a href="mailto:freeswitch940@gmail.com" target="_blank">freeswitch940@gmail.com</a>>のメール:</div><br class="m_954349264325281702Apple-interchange-newline"><div><div><div dir="auto">First install the mp4v2-2.0.0 package then configure freeswitch again .</div><br><div class="gmail_quote"><div>On Thu, 9 Nov 2017 at 10:36 AM, 王聡 <<a href="mailto:cong.wang.itsherpa@gmail.com" target="_blank">cong.wang.itsherpa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thanks for your advices.<div><br></div><div>I had not found the instructions for mod_av, so I tried mp4v2, but got an error.</div><div><br></div><div><div>making all mod_mp4v2</div><div>make[4]: Entering directory '/usr/src/freeswitch/src/mod/<wbr>applications/mod_mp4v2'</div><div>  CC       mod_mp4v2_la-mod_mp4v2.lo</div><div>mod_mp4v2.c:37:25: fatal error: mp4v2/mp4v2.h: No such file or directory</div><div> #include <mp4v2/mp4v2.h></div><div>                         ^</div><div>compilation terminated.</div><div>Makefile:657: recipe for target 'mod_mp4v2_la-mod_mp4v2.lo' failed</div><div>make[4]: *** [mod_mp4v2_la-mod_mp4v2.lo] Error 1</div><div>make[4]: Leaving directory '/usr/src/freeswitch/src/mod/<wbr>applications/mod_mp4v2'</div><div>Makefile:653: recipe for target 'mod_mp4v2-all' failed</div><div>make[3]: *** [mod_mp4v2-all] Error 1</div></div></div><div style="word-wrap:break-word"><div><div>make[3]: Leaving directory '/usr/src/freeswitch/src/mod'</div><div>Makefile:563: recipe for target 'all-recursive' failed</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory '/usr/src/freeswitch/src'</div><div>Makefile:3132: recipe for target 'all-recursive' failed</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory '/usr/src/freeswitch'</div><div>Makefile:1402: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div></div><div style="word-wrap:break-word"><div></div><div><br></div><div>It seems that I had missed some files?</div><div><br></div><div><div><blockquote type="cite"><div>2017/11/09 12:31、Michael Jerris <<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>>のメール:</div></blockquote></div></div></div><div style="word-wrap:break-word"><div><div><blockquote type="cite"><br class="m_954349264325281702m_4023282739945270755Apple-interchange-newline"><div><div><div dir="auto">use mod_av.</div><br><div class="gmail_quote"><div>On Wed, Nov 8, 2017 at 9:57 PM Freeswitch user <<a href="mailto:freeswitch940@gmail.com" target="_blank">freeswitch940@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Use mod_mp4v2.</div></div><div><br><div class="gmail_quote"><div>On Thu, 9 Nov 2017 at 7:06 AM, 王聡 <<a href="mailto:cong.wang.itsherpa@gmail.com" target="_blank">cong.wang.itsherpa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi All,<div><br></div><div>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 (<a href="https://wiki.freeswitch.org/wiki/Mod_vlc" target="_blank">https://wiki.freeswitch.org/<wbr>wiki/Mod_vlc</a>) which might helps. However, I got some troubles during my build, it shows no dependencies for this mod.</div><div><br></div><div><div>making all mod_vlc</div><div>make[4]: Entering directory '/usr/src/freeswitch/src/mod/<wbr>formats/mod_vlc'</div><div>Makefile:892: *** You must install libvlc-dev to build mod_vlc.</div><div>make[4]: Leaving directory '/usr/src/freeswitch/src/mod/<wbr>formats/mod_vlc'</div><div>Makefile:653: recipe for target 'mod_vlc-all' failed</div><div>make[3]: *** [mod_vlc-all] Error 1</div><div>make[3]: Leaving directory '/usr/src/freeswitch/src/mod'</div><div>Makefile:563: recipe for target 'all-recursive' failed</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory '/usr/src/freeswitch/src'</div><div>Makefile:3132: recipe for target 'all-recursive' failed</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory '/usr/src/freeswitch'</div><div>Makefile:1402: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div>I had already installed the libvlc-dev but it still can’t built correctly. </div><div><br></div><div>Is there any idea? Or any other way for video call recordings?</div><div><br></div><div>Regards.</div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org/" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a></div></blockquote></div></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>
______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span><span><br>Sincerely,<br></span><span><font color="#888888"><br>
Giovanni Maruzzelli<br>
OpenTelecom.IT</font></span><br><span>cell: +39 347 266 56 18<span><font color="#888888"><br></font></span></span></span></div></div></div>
</div>