[Asterisk-video] Asterisk crash when mp4play run 3gp file
sergio.garcia@fontventa.com
sergio.garcia at fontventa.com
Wed Feb 29 03:21:12 CST 2012
Hi,
This problem hapenned on old mp4v2 lib versions (in fact i did the patch to solve it).
Please, get and compile latest version of the mp4v2 repository.
Enviado desde mi HTC
----- Reply message -----
De: "Aris Striglis" <astriglis at gmail.com>
Fecha: mar., feb. 28, 2012 21:13
Asunto: [Asterisk-video] Asterisk crash when mp4play run 3gp file
Para: "'Development discussion of video media support in Asterisk'" <asterisk-video at lists.digium.com>
Hello,
I’m using misdn from my BRI,
I have succeeded in making a video_loopback and echo test, 3g phone ->asterisk
using dialplan below:
exten => ,1,GotoIf($[${TRANSFERCAPABILITY}=DIGITAL]?10:20)
exten => ,10,h324m_gw(310 at tosip)
exten => ,20,Dial(SIP/202)
exten => ,n,Playback(noaudiocall)
exten => ,n,Hangup()
[tosip]
;exten => 310,1,h324m_gw_answer()
;exten => 310,n,Echo() ß--working!!
;exten => 310,n,video_loopback() ß--working!!
;exten => 310,n,Dial(SIP/x-lite) ß--incoming video call // working!!
;exten => 310,n,Hangup()
Now, i am trying to play a video using mp4play to a 3g phone calling my asterisk using the following dialplan:
exten => 310,1,h324m_gw_answer()
exten => 310,n,mp4play(/root/mire-tv.3gp)
But as soon as call comes in i get disconnected from asterisk cli and 3g phone still waiting the video.
The output from CLI, shows that app_mp4 can’t see the value for video.name parameter.
P[ 1] channel with stid:0 for one second still in use!
-- Executing [@from-misdn:1] GotoIf("mISDN/1-u5", "1?10:20") in new stack
-- Goto (from-misdn,,10)
-- Executing [@from-misdn:10] h324m_gw("mISDN/1-u5", "310 at tosip") in new stack
[Feb 28 21:38:25] DEBUG[11446]: app_h324m.c:959 app_h324m_gw: h324m_gw
-- Executing [310 at tosip:1] h324m_gw_answer("Local/310 at tosip-3a97,2", "") in new stack
[Feb 28 21:38:25] DEBUG[11447]: app_h324m.c:1538 app_h324m_gw_answer: >h324m_gw_answer
[Feb 28 21:38:25] DEBUG[11446]: app_h324m.c:1094 app_h324m_gw: H324M changed state 1
[Feb 28 21:38:28] DEBUG[11446]: app_h324m.c:1094 app_h324m_gw: H324M changed state 3
[Feb 28 21:38:28] DEBUG[11446]: app_h324m.c:1100 app_h324m_gw: Connected, sending VIDUPDATE
[Feb 28 21:38:28] DEBUG[11447]: app_h324m.c:1575 app_h324m_gw_answer: <h324m_gw_answer on VIDUPDATE
[Feb 28 21:38:28] DEBUG[11447]: app_h324m.c:1593 app_h324m_gw_answer: <h324m_gw_answer
-- Executing [310 at tosip:2] mp4play("Local/310 at tosip-3a97,2", "/root/mire-tv.3gp") in new stack
[Feb 28 21:38:28] DEBUG[11447]: app_mp4.c:556 mp4_play: mp4play /root/mire-tv.3gp
[Feb 28 21:38:28] DEBUG[11447]: app_mp4.c:651 mp4_play: found hint track 65335
[Feb 28 21:38:28] DEBUG[11447]: app_mp4.c:662 mp4_play: track 201 vide
[Feb 28 21:38:28] DEBUG[11447]: app_mp4.c:715 mp4_play: video.name (null)
videocall*CLI>
Disconnected from Asterisk server
Here Is mp4info for the file:
[root at videocall ~]# mp4info mire-tv.3gp
mp4info version trunk-r479
mire-tv.3gp:
Track Type Info
201 video H.263, 15.000 secs, 16 kbps, 176x144 @ 6.533333 fps
65335 hint Payload H263-2000 for track 201
101 audio AMR, 15.000 secs, 13 kbps, 8000 Hz
65435 hint Payload AMR for track 101
1 od Object Descriptors
2 scene BIFS
File downloaded from i6net. Tried another file still same result.
Could someone tell me if there is a bug in code or something else?
Thank you very much in advance for your help
Regards
Aris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20120229/72962ec4/attachment.htm>
More information about the asterisk-video
mailing list