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