[Freeswitch-users] mp4 Conference recording is always unplayable 352 bytes file

Michael Jerris mike at jerris.com
Tue Apr 19 02:53:14 MSD 2016


or transcode too...

> On Apr 18, 2016, at 6:04 PM, David Wafula <davidwaf at gmail.com> wrote:
> 
> After trying over and over, i just discovered that an mp4 recording in a conference will only work if  
> <param name="video-mode" value="mux"/> is set.
> 
> Am all sorted now.
> 
> 
> On Sun, Apr 17, 2016 at 12:17 AM, David Wafula <davidwaf at gmail.com <mailto:davidwaf at gmail.com>> wrote:
> So i did a comparison between wav recording and mp4 recording, and it seems BAD READ -1000 only occurs when using mp4.
> 
> Here is part  log for mp4 
> 
> ----
> 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]
> 2016-04-16 21:12:10.361551 [DEBUG] switch_core_media.c:5459 verto.rtc/83789 Video thread ended
> 3f39d3c5-97cb-f91a-48b5-c016e82175e2 2016-04-16 21:12:10.381543 [INFO] conference_loop.c:1400 Channel leaving conference, cause: NORMAL_CLEARING
> 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)
> 2016-04-16 21:12:10.381543 [DEBUG] mod_verto.c:1862 BAD READ -1000
> 2016-04-16 21:12:10.381543 [INFO] mod_verto.c:2005 105.226.104.136:46232 <http://105.226.104.136:46232/> Ending client thread.
> 2016-04-16 21:12:10.381543 [INFO] mod_verto.c:2013 105.226.104.136:46232 <http://105.226.104.136:46232/> Thread ended
> 
> --
> 
> 
> 
> Here is the same bit of log with just wav recording:
> 
> -------
> 
> 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]
> 2016-04-16 22:06:57.500121 [DEBUG] switch_core_media.c:5459 verto.rtc/83789 Video thread ended
> d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [INFO] conference_loop.c:1400 Channel leaving conference, cause: NORMAL_CLEARING
> 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)
> 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)
> d5f7b099-e268-b149-bd5f-459b15c1a9f4 2016-04-16 22:06:57.500121 [DEBUG] switch_core_codec.c:258 Restore original codec.
> 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)
> 
> ------
> Thank you
> 
> On Sat, Apr 16, 2016 at 11:28 PM, David Wafula <davidwaf at gmail.com <mailto:davidwaf at gmail.com>> wrote:
> Please see the log here if there is anything am doing wrong:
> http://pastebin.com/WGcmg2iX <http://pastebin.com/WGcmg2iX>
> 
> I noticed one line there:
> 2016-04-16 21:12:10.381543 [DEBUG] mod_verto.c:1862 BAD READ -1000
>  
> is that normal ?
> 
> 
> 
> 
> On Sat, Apr 16, 2016 at 1:15 AM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
> look at the debug log, there are other modules that support mp4
> 
>> On Apr 15, 2016, at 5:57 PM, David Wafula <davidwaf at gmail.com <mailto:davidwaf at gmail.com>> wrote:
>> 
>> I installed  mod_av it like:
>>  apt-get install freeswitch-mod-av
>> 
>> and put  <load module="mod_av"/> in modules.conf.xml
>> 
>> I think that just about the only thing i did with it.
>> 
>> Am assuming  then than means yes, it is using mod_av ?
>> 
>> (just for testing, i tried wav and  it records perfectly fine)
>> 
>> Regards
>> 
>> On Fri, Apr 15, 2016 at 11:39 PM, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>> is it using mod_av?
>> 
>>> On Apr 15, 2016, at 5:12 PM, David Wafula <davidwaf at gmail.com <mailto:davidwaf at gmail.com>> wrote:
>>> 
>>> 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 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't to figure out what.
>>> 
>>> Am running FreeSWITCH Version 1.6.7-14-d38d065~64bit (-14-d38d065 64bit)  on Debian 8.1 Jesse, x64.
>>> 
>>> Please anyone with pointers help.
>> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org <mailto:FreeSWITCH-users at 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/>
> 
> 
> 
> -- 
> David W
> 
> 
> 
> -- 
> David W
> 
> 
> 
> -- 
> David W
> _________________________________________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160418/a70a3d39/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list