[Asterisk-video] MP4 Application not working in 1.4.26

Zelalem Sintayehu zelalems at hotmail.com
Thu Jul 30 08:42:46 CDT 2009


Hi Hemanshu, thank you for your help. You are right. It also support h264. I tried it using a video phone that I acquired recently. The problem is with synchronization. The audio and video are unsynchronized. Also, when I used x-lite h263+ doesn't work. Only h263 works. I don't know the problem. It created teh following error codes when recording starts but the file is then properly played. Can you tell me what is the problem please. 




	
	
	
	

-- Executing [7519 at jain-sip:2]
mp4save("SIP/7504-081f6b18",
"/home/zelalem/videos/save.mp4") in new stack
    -- Incoming call: Got SIP response
415 "Unsupported Media Type" back from 146.231.123.20
[Jul 30 11:25:12] NOTICE[18196]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
[Jul 30 11:25:12] NOTICE[18196]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
[Jul 30 11:25:12] NOTICE[18196]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
    -- Executing [2000 at jain-sip:1]
Answer("SIP/7504-0820af10", "") in new stack
    -- Executing [2000 at jain-sip:2]
mp4play("SIP/7504-0820af10",
"/home/zelalem/videos/save.mp4") in new stack
[Jul 30 11:25:32] NOTICE[18197]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
[Jul 30 11:25:32] NOTICE[18197]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
[Jul 30 11:25:32] NOTICE[18197]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
[Jul 30 11:25:42] NOTICE[18197]:
rtp.c:1334 ast_rtp_read: Unknown RTP codec 126 received from
'192.168.123.20'
    -- Executing [2000 at jain-sip:3]
Hangup("SIP/7504-0820af10", "") in new stack


Once again thank you for your support.

Cheers,
 
- Zelalem S. 


Date: Thu, 30 Jul 2009 16:42:30 +0530
From: hemanshurpatel at gmail.com
To: asterisk-video at lists.digium.com
Subject: Re: [Asterisk-video] MP4 Application not working in 1.4.26

hi,
i was trying to tell you that you have to enable h264 from your sip.conf , then only i guess it will work, and also your phone (terminal equipment) should support h264.
Because from the logs you have sent, it seems either you havent enable h264 or your phone either doesnt support or not given preference in codec selection.


As far as playing those file in vlc is concerned, i think, asterisk add some header information in video files, might be because of this it doenst play in normal video players like vlc.

"Beautiful pictures are developed by negatives in a dark room. So if u see darkness in your life assume that God is making a beautiful picture for you."



Regards,

Hemanshu Patel

E-mail: Hemanshurpatel at gmail.com

Mo: 09620922593(Karnatak)
Mo: 09898698835(Gujarat)



On Wed, Jul 29, 2009 at 12:32 PM, Zelalem Sintayehu <zelalems at hotmail.com> wrote:






Hi Hemanshu, thank you for your response. I think the application doesn't work with h264. I allowed h263 and/or h263+. But even in the absence of video, it creates the file (with ulaw codec) but I can hear nothing when i play the file using VLC. What could be the reason?


Regards,

- Zelalem S. 


Date: Wed, 29 Jul 2009 11:19:40 +0530
From: hemanshurpatel at gmail.com
To: asterisk-video at lists.digium.com

Subject: Re: [Asterisk-video] MP4 Application not working in 1.4.26

have you allow h264 and ulaw in sip.conf setting

allow=h264
allow=ulaw

"Beautiful pictures are developed by negatives in a dark room. So if u see darkness in your life assume that God is making a beautiful picture for you."




Regards,

Hemanshu Patel

E-mail: Hemanshurpatel at gmail.com

Mo: 09620922593(Karnatak)
Mo: 09898698835(Gujarat)



On Tue, Jul 28, 2009 at 10:17 PM, Zelalem Sintayehu <zelalems at hotmail.com> wrote:







Hi all, I had used the mp4play and mp4save applications in Asterisk 1.4.21.2. Recently I had downloaded the above mentioned (1.4.26) version from Asterisk website and installed it together with the MP4 application package. However, when i try to use the save function, if there is no audio, it creates the file though there is no sound heard when i play it in vlc. But, when I use video, it produces teh following error message and the file created will contain video. I used mp4info to check the type of content.



[Jul 28 18:32:11] WARNING[15942]: channel.c:700 ast_best_codec: Don't know any of 0x0 formats
[Jul 28 18:32:11] WARNING[15942]: channel.c:700 ast_best_codec: Don't know any of 0x0 formats
    -- Executing [7519 at jain-sip:1] Answer("SIP/7504-08208100", "") in new stack


    -- Executing [7519 at jain-sip:2] mp4save("SIP/7504-08208100", "/home/zelalem/videos/save.mp4") in new stack
[Jul 28 18:32:11] WARNING[15952]: channel.c:3055 set_format: Unable to find a codec translation path from 0x100000 (h263p) to 0x200c (ulaw|alaw)


[Jul 28 18:32:11] WARNING[15952]: app_mp4.c:804 mp4_save: mp4_save: Unable to set read format to ULAW|ALAW|AMRNB!

I am using Linphone. I used ulaw and h263+ codecs. Are there issues related to sound with mp4 application and also with Asterisk version 1.4.26? Please advice me what to do. Even when i record audio only I get no sound while the status bar is moving in VLC.



Thank you.

- Zelalem S. 


check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 More than messages

_______________________________________________

--Bandwidth and Colocation Provided by http://www.api-digital.com--



asterisk-video mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-video


With Windows Live, you can organize, edit, and  share your photos.


_______________________________________________

--Bandwidth and Colocation Provided by http://www.api-digital.com--



asterisk-video mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-video


_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20090730/201d52cc/attachment.htm 


More information about the asterisk-video mailing list