Log in

View Full Version : How to convert LATM to AAC?


ytu_cyc
8th November 2010, 07:47
Hi All,

I received some RTP Packets, and need to convert them to aac, so the media player can play.

I got some information from rfc3016 and knew the RTP payload format for Audio is like:
RTP Header + AduioMuxElement

and AudioMuxElement was consisted of PayloadLengthInfo and PayloadMux.

I think PayloadMux is what i need, right?

where can i get some useful information about PayLoadLengthInfo and PayLoad Mux?

I think if i know how many bytes PayloadLengthinfo have, i can calc and parser out AAC data(PyaLoadMux).
am i right?

sorry for my poor English.

Thanks all.

nitinkumgoyal
6th April 2012, 12:13
hey man

have u got any solution for this query. I know its very old post still, let me know if you got any idea on it.

I have the RTP packets having the LATM packets and i want to depacketize them.

Any code or algorithm will be very helpful.

REgards
Nitin

zmejce
14th April 2012, 22:27
Maybe you can play the LATM file in player such as VLC, and capture to WAV with "Sound recorder/editor" application, then you can convert the wav with ex. iTunes if you prefer apple's AAC, winamp- if you prefer FhG AAC, or Foobar + Nero AAC encoder.

nitinkumgoyal
15th April 2012, 10:06
thanks man.

But i have the content in RTP packets. So, i can play it. I firstly need to depacketize the content from the RTP packets and then extract the latm content and only after play or convert it.

So, i am actually looking for the algo of depacketization.