<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
--></style>
</head>
<body class='hmmessage'>
Hello Kiaus, thanks for our prompt reply. <BR>
&nbsp;<BR>
How to do that? Would you please advise the command or steps for that? Million thanks!<BR>
&nbsp;<BR>
Best Regard<BR>
Tony Wang<BR>&nbsp;<BR>&gt; Date: Wed, 3 Mar 2010 10:49:28 +0100<BR>&gt; From: klaus.mailinglists@pernau.at<BR>&gt; To: asterisk-video@lists.digium.com<BR>&gt; CC: tonywang5671@hotmail.com<BR>&gt; Subject: Re: [Asterisk-video] mp4play display video but no audio, help!<BR>&gt; <BR>&gt; Have you patched Asterisk with the AMR codec?<BR>&gt; <BR>&gt; klaus<BR>&gt; <BR>&gt; Am 03.03.2010 02:02, schrieb Wang Tony:<BR>&gt; &gt; Hello all, I am new to try app_mp4 at Asterisk &amp; Ubuntu 8.04.<BR>&gt; &gt; <BR>&gt; &gt; I try to use mp4play to play a file, welcome.3gp at Asterisk v.14.21.1 <BR>&gt; &gt; by xlite. The video display well on xlite but there is no audio.<BR>&gt; &gt; <BR>&gt; &gt; I found bellow message ar Asterisk console<BR>&gt; &gt; <BR>&gt; &gt; [Mar 3 08:53:02] WARNING[5920]: channel.c:2781 set_format: Unable to <BR>&gt; &gt; find a codec translation path from unknown to amr<BR>&gt; &gt; [Mar 3 08:53:02] WARNING[5920]: app_mp4.c:564 mp4_play: mp4_play: Unable <BR>&gt; &gt; to set write format to AMR-NB!<BR>&gt; &gt; [Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to <BR>&gt; &gt; transmit frame type 8192, while native formats is 0x4 (ulaw)(4) <BR>&gt; &gt; read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)<BR>&gt; &gt; [Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to <BR>&gt; &gt; transmit frame type 8192, while native formats is 0x4 (ulaw)(4) <BR>&gt; &gt; read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)<BR>&gt; &gt; [Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to <BR>&gt; &gt; transmit frame type 8192, while native formats is 0x4 (ulaw)(4) <BR>&gt; &gt; read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)<BR>&gt; &gt; <BR>&gt; &gt; The result of mp4info of welcome.3gp is bellow<BR>&gt; &gt; <BR>&gt; &gt; # mp4info welcome.3gp<BR>&gt; &gt; mp4info version 1.5.0.1<BR>&gt; &gt; welcome.3gp:<BR>&gt; &gt; Track Type Info<BR>&gt; &gt; 201 video H.263, 3.640 secs, 27 kbps, 176x144 @ 10.164835 fps<BR>&gt; &gt; 65335 hint Payload H263-2000 for track 201<BR>&gt; &gt; 101 audio AMR, 3.640 secs, 13 kbps, 8000 Hz<BR>&gt; &gt; 65435 hint Payload AMR for track 101<BR>&gt; &gt; 1 od Object Descriptors<BR>&gt; &gt; 2 scene BIFS<BR>&gt; &gt; <BR>&gt; &gt; The result of codecs in Asterisk is bellow. It seems Asterisk have <BR>&gt; &gt; enabled amrnb<BR>&gt; &gt; <BR>&gt; &gt; core show codecs<BR>&gt; &gt; Disclaimer: this command is for informational purposes only.<BR>&gt; &gt; It does not indicate anything about your configuration.<BR>&gt; &gt; INT BINARY HEX TYPE NAME DESC<BR>&gt; &gt; --------------------------------------------------------------------------------<BR>&gt; &gt; 1 (1 &lt;&lt; 0) (0x1) audio g723 (G.723.1)<BR>&gt; &gt; 2 (1 &lt;&lt; 1) (0x2) audio gsm (GSM)<BR>&gt; &gt; 4 (1 &lt;&lt; 2) (0x4) audio ulaw (G.711 u-law)<BR>&gt; &gt; 8 (1 &lt;&lt; 3) (0x8) audio alaw (G.711 A-law)<BR>&gt; &gt; 16 (1 &lt;&lt; 4) (0x10) audio g726aal2 (G.726 AAL2)<BR>&gt; &gt; 32 (1 &lt;&lt; 5) (0x20) audio adpcm (ADPCM)<BR>&gt; &gt; 64 (1 &lt;&lt; 6) (0x40) audio slin (16 bit Signed Linear PCM)<BR>&gt; &gt; 128 (1 &lt;&lt; 7) (0x80) audio lpc10 (LPC10)<BR>&gt; &gt; 256 (1 &lt;&lt; 8) (0x100) audio g729 (G.729A)<BR>&gt; &gt; 512 (1 &lt;&lt; 9) (0x200) audio speex (SpeeX)<BR>&gt; &gt; 1024 (1 &lt;&lt; 10) (0x400) audio ilbc (iLBC)<BR>&gt; &gt; 2048 (1 &lt;&lt; 11) (0x800) audio g726 (G.726 RFC3551)<BR>&gt; &gt; 4096 (1 &lt;&lt; 12) (0x1000) audio g722 (G722)<BR>&gt; &gt; 8192 (1 &lt;&lt; 13) (0x2000) audio amr (AMR NB)<BR>&gt; &gt; 65536 (1 &lt;&lt; 16) (0x10000) image jpeg (JPEG image)<BR>&gt; &gt; 131072 (1 &lt;&lt; 17) (0x20000) image png (PNG image)<BR>&gt; &gt; 262144 (1 &lt;&lt; 18) (0x40000) video h261 (H.261 Video)<BR>&gt; &gt; 524288 (1 &lt;&lt; 19) (0x80000) video h263 (H.263 Video)<BR>&gt; &gt; 1048576 (1 &lt;&lt; 20) (0x100000) video h263p (H.263+ Video)<BR>&gt; &gt; 2097152 (1 &lt;&lt; 21) (0x200000) video h264 (H.264 Video)<BR>&gt; &gt; <BR>&gt; &gt; Any idea? Million thanks for help!<BR>&gt; &gt; <BR>&gt; &gt; Best Regard<BR>&gt; &gt; Tony Wang<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ------------------------------------------------------------------------<BR>&gt; &gt; 除了電子信箱,還有許多有用的功能。快來使用免費的 Windows Live Hotmail。 <BR>&gt; &gt; 馬上註冊 &lt;https://signup.live.com/signup.aspx?id=60969&gt;<BR>&gt; &gt; <BR>                                               <br /><hr />Hotmail 信箱採用微軟資訊安全技術 <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>現在就使用</a></body>
</html>