[Asterisk-video] AMR Decode Error
Sergio Garcia Murillo
sergio.garcia at fontventa.com
Tue Jan 22 15:42:42 CST 2008
On Wed, 2008-01-23 at 04:48 +0800, Faizan Naqvi wrote:
> Hi
>
> I did H.324M test using an E1 line and video was perfect but audio was
> choppy. I saw this on the console
>
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:439 init_h324m_packetizer:
> init_h324m_packetizer: found 12 AMR frames inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #1 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #2 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #3 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #4 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #5 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #6 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #7 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #8 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #9 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #10 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #11 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:509 create_h324m_frame:
> create_h324m_frame: processing AMR frame #12 inside ast_frame
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:537 create_h324m_frame:
> create_h324m_frame: error decoding AMR structure - block exceeds
> buffer
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:538 create_h324m_frame:
> create_h324m_frame: pak->offset=0x82e2237;bs=14,
> pak->framedata=0x82e2190,pak->framelength=169
> [Jan 22 09:22:10] DEBUG[3689]: app_h324m.c:212 create_ast_frame:
> create_ast_frame: received AMR frame with 31 bytes
>
>
> What could be wrong?
>
> This is mp4info for file
>
> Track Type Info
> 1 audio AMR, 50.600 secs, 6 kbps, 8000 Hz
> 2 video H.263, 50.533 secs, 50 kbps, 176x144 @ 15.000099 fps
> 3 hint Payload AMR for track 1
> 4 hint Payload H263-2000 for track 2
> Metadata Tool: mp4creator 1.5.0.1
>
Reduce the amount of amr frames per rtp packet when creating the mp4
file with mpeg4ip -mtu option.
Best regards
Sergio
More information about the asterisk-video
mailing list