<div dir="ltr">So i did a comparison between wav recording and mp4 recording, and it seems BAD READ -1000 only occurs when using mp4.<div><br></div><div>Here is part  log for mp4 </div><div><br></div><div>----</div><div><div>3f39d3c5-97cb-f91a-48b5-c016e82175e2 2016-04-16 21:12:10.361551 [NOTICE] mod_verto.c:2746 Hangup verto.rtc/83789 [CS_EXECUTE] [NORMAL_CLEARING]</div><div>2016-04-16 21:12:10.361551 [DEBUG] switch_core_media.c:5459 verto.rtc/83789 Video thread ended</div><div>3f39d3c5-97cb-f91a-48b5-c016e82175e2 2016-04-16 21:12:10.381543 [INFO] conference_loop.c:1400 Channel leaving conference, cause: NORMAL_CLEARING</div><div>3f39d3c5-97cb-f91a-48b5-c016e82175e2 2016-04-16 21:12:10.381543 [DEBUG] mod_conference.c:2209 verto.rtc/83789 skip receive message [UNBRIDGE] (channel is hungup already)</div><div>2016-04-16 21:12:10.381543 [DEBUG] mod_verto.c:1862 BAD READ -1000</div><div>2016-04-16 21:12:10.381543 [INFO] mod_verto.c:2005 <a href="http://105.226.104.136:46232">105.226.104.136:46232</a> Ending client thread.</div><div>2016-04-16 21:12:10.381543 [INFO] mod_verto.c:2013 <a href="http://105.226.104.136:46232">105.226.104.136:46232</a> Thread ended</div></div><div><br></div><div>--</div><div><br></div><div><br></div><div><br></div><div>Here is the same bit of log with just wav recording:</div><div><br></div><div>-------</div><div><div><br></div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.490132 [NOTICE] mod_verto.c:2746 Hangup verto.rtc/83789 [CS_EXECUTE] [NORMAL_CLEARING]</div><div>2016-04-16 22:06:57.500121 [DEBUG] switch_core_media.c:5459 verto.rtc/83789 Video thread ended</div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [INFO] conference_loop.c:1400 Channel leaving conference, cause: NORMAL_CLEARING</div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [DEBUG] mod_conference.c:2209 verto.rtc/83789 skip receive message [UNBRIDGE] (channel is hungup already)</div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [DEBUG] switch_core_media.c:9147 verto.rtc/83789 skip receive message [HARD_MUTE] (channel is hungup already)</div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [DEBUG] switch_core_codec.c:258 Restore original codec.</div><div>d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [DEBUG] switch_core_session.c:2796 verto.rtc/83789 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)</div></div><div><br></div><div>------</div><div>Thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 16, 2016 at 11:28 PM, David Wafula <span dir="ltr">&lt;<a href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Please see the log here if there is anything am doing wrong:<div><a href="http://pastebin.com/WGcmg2iX" target="_blank">http://pastebin.com/WGcmg2iX</a><br></div><div><br></div><div>I noticed one line there:</div><div>2016-04-16 21:12:10.381543 [DEBUG] mod_verto.c:1862 BAD READ -1000<br></div><div> </div><div>is that normal ?</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Apr 16, 2016 at 1:15 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">look at the debug log, there are other modules that support mp4<span><div><br><div><blockquote type="cite"><div>On Apr 15, 2016, at 5:57 PM, David Wafula &lt;<a href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">I installed  mod_av it like:<div> apt-get install freeswitch-mod-av</div><div><br></div><div>and put  &lt;load module=&quot;mod_av&quot;/&gt; in modules.conf.xml</div><div><br></div><div>I think that just about the only thing i did with it.</div><div><br></div><div>Am assuming  then than means yes, it is using mod_av ?</div><div><br></div><div>(just for testing, i tried wav and  it records perfectly fine)</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 11:39 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</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">is it using mod_av?<span><div><br><div><blockquote type="cite"><div>On Apr 15, 2016, at 5:12 PM, David Wafula &lt;<a href="mailto:davidwaf@gmail.com" target="_blank">davidwaf@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">I have verto-client  connecting to a conference. I have setup auto-record pointing to an mp4 file format for mod_conference. I have installed <span><span style="font-size:14.6667px;font-family:Arial;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">libavcodec-extra, enabled mod_av.   The recording seems to start and stop just fine, except the file is just an unplayable 352 bytes. I must have missed something, just can&#39;t to figure out what.</span></span><div><font face="Arial"><span style="font-size:14.6667px;white-space:pre-wrap"><br></span></font></div><div><font face="Arial"><span style="font-size:14.6667px;white-space:pre-wrap">Am running FreeSWITCH Version 1.6.7-14-d38d065~64bit (-14-d38d065 64bit)  on Debian 8.1 Jesse, x64.</span><br clear="all"></font><div><br></div><div>Please anyone with pointers help.</div></div></div></div></blockquote></div><br></div></span></div></blockquote></div></div></div></blockquote></div><br></div></span></div><br></div></div><span class="">_________________________________________________________________________<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.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.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>David W</div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>David W</div></div></div>
</div>