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

David Wafula davidwaf at gmail.com
Sun Apr 17 02:17:54 MSD 2016


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
Ending client thread.
2016-04-16 21:12:10.381543 [INFO] mod_verto.c:2013 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> wrote:

> Please see the log here if there is anything am doing wrong:
> 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> 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> 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> wrote:
>>
>>> is it using mod_av?
>>>
>>> On Apr 15, 2016, at 5:12 PM, David Wafula <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
>> 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
>>
>
>
>
> --
> David W
>



-- 
David W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160417/4e5d320e/attachment-0001.html 


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