AAC: Constructing LATM headers from ADTS frames
Hi, I am currently working on an AAC stream which follows RFC3016. I am parsing an .AAC file which has the ADTS format and from that I get the ADTS header. This does however not contain the info I need to construct the LATM header (needed as payload header in the RTP stream). Does anyone know how to get enough info to construct the LATM header or if there are some default values I can use to get around not having to construct an entire LATM header? -- Med venlig hilsen / Best regards Kim Schulz To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
Kim Schulz a ?crit :
Hi, I am currently working on an AAC stream which follows RFC3016. I am parsing an .AAC file which has the ADTS format and from that I get the ADTS header. This does however not contain the info I need to construct the LATM header (needed as payload header in the RTP stream). Does anyone know how to get enough info to construct the LATM header or if there are some default values I can use to get around not having to construct an entire LATM header?
Hi, To stream ffmpeg files (mpeg4/aac), I create a 3GP file : ffmpeg -i in.avi -s 176x144 -b 64k -vcodec mpeg4 -r 7 -acodec aac -ar 16000 -ab 16 -ac 1 -f 3gp out.3gp and I hint this with MP4Box* like this : MP4Box -hint -latm -3gp out.3gp Then I can stream this with Darwin. Hop that helps. * http://gpac.sourceforge.net/ -- Julien YOUX . //// . (. .) ---------oOO--(_)--OOo------- http://www.nain-de-jardin.com
-----Original Message----- From: ffmpeg-user-bounces at mplayerhq.hu [mailto:ffmpeg-user- bounces at mplayerhq.hu] On Behalf Of Julien Youx Sent: Thursday, February 01, 2007 10:18 AM To: FFmpeg user questions and RTFMs Subject: Re: [Ffmpeg-user] AAC: Constructing LATM headers from ADTS
frames
Hi,
To stream ffmpeg files (mpeg4/aac), I create a 3GP file : ffmpeg -i in.avi -s 176x144 -b 64k -vcodec mpeg4 -r 7 -acodec aac -ar 16000 -ab 16 -ac 1 -f 3gp out.3gp
and I hint this with MP4Box* like this : MP4Box -hint -latm -3gp out.3gp
Then I can stream this with Darwin.
Hop that helps.
I cannot use ffmpeg, MP4Box etc. as standalone programs, but use libav directly in my program. Haven't found any way to create the LATM header (or get the info for it) though. -- Med venlig hilsen / Best regards Kim Schulz To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview
participants (2)
-
juju@nain-de-jardin.com -
Kim.Schulz@csr.com