[Asterisk-video] mp4play display video but no audio, help!
Wang Tony
tonywang5671 at hotmail.com
Tue Mar 2 19:02:19 CST 2010
Hello all, I am new to try app_mp4 at Asterisk & Ubuntu 8.04.
I try to use mp4play to play a file, welcome.3gp at Asterisk v.14.21.1 by xlite. The video display well on xlite but there is no audio.
I found bellow message ar Asterisk console
[Mar 3 08:53:02] WARNING[5920]: channel.c:2781 set_format: Unable to find a codec translation path from unknown to amr
[Mar 3 08:53:02] WARNING[5920]: app_mp4.c:564 mp4_play: mp4_play: Unable to set write format to AMR-NB!
[Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to transmit frame type 8192, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)
[Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to transmit frame type 8192, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)
[Mar 3 08:53:02] WARNING[5920]: chan_sip.c:3707 sip_write: Asked to transmit frame type 8192, while native formats is 0x4 (ulaw)(4) read/write = 0x4 (ulaw)(4)/0x4 (ulaw)(4)
The result of mp4info of welcome.3gp is bellow
# mp4info welcome.3gp
mp4info version 1.5.0.1
welcome.3gp:
Track Type Info
201 video H.263, 3.640 secs, 27 kbps, 176x144 @ 10.164835 fps
65335 hint Payload H263-2000 for track 201
101 audio AMR, 3.640 secs, 13 kbps, 8000 Hz
65435 hint Payload AMR for track 101
1 od Object Descriptors
2 scene BIFS
The result of codecs in Asterisk is bellow. It seems Asterisk have enabled amrnb
core show codecs
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME DESC
--------------------------------------------------------------------------------
1 (1 << 0) (0x1) audio g723 (G.723.1)
2 (1 << 1) (0x2) audio gsm (GSM)
4 (1 << 2) (0x4) audio ulaw (G.711 u-law)
8 (1 << 3) (0x8) audio alaw (G.711 A-law)
16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)
32 (1 << 5) (0x20) audio adpcm (ADPCM)
64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)
128 (1 << 7) (0x80) audio lpc10 (LPC10)
256 (1 << 8) (0x100) audio g729 (G.729A)
512 (1 << 9) (0x200) audio speex (SpeeX)
1024 (1 << 10) (0x400) audio ilbc (iLBC)
2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)
4096 (1 << 12) (0x1000) audio g722 (G722)
8192 (1 << 13) (0x2000) audio amr (AMR NB)
65536 (1 << 16) (0x10000) image jpeg (JPEG image)
131072 (1 << 17) (0x20000) image png (PNG image)
262144 (1 << 18) (0x40000) video h261 (H.261 Video)
524288 (1 << 19) (0x80000) video h263 (H.263 Video)
1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
2097152 (1 << 21) (0x200000) video h264 (H.264 Video)
Any idea? Million thanks for help!
Best Regard
Tony Wang
_________________________________________________________________
除了電子信箱,還有許多有用的功能。快來使用免費的 Windows Live Hotmail。
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20100303/f59b4aeb/attachment.htm
More information about the asterisk-video
mailing list