[Live-devel] AAC packaging for "mpeg4-generic" stream?

Dave Beal dbeal at cardinalpeak.com
Sat Mar 5 11:40:28 PST 2011


I'm trying to code a server to stream live video and audio over RTSP/RTP   to VLC.  The video stream plays fine, but I'm having trouble with the   audio stream; the VLC's faad module continuously complains about   problems in the bitstream.  I suspect the problem may be that I'm not   packaging the raw AAC data as VLC or Live555 expects.

As I understand, the   two options for packaging AAC are ADIF and ADTS.  I'm using the faac   library to do the encoding; it knows how to do ADTS and "raw", but VLC/Live555   didn't seem to be happy with either.  What packaging does Live555 expect?

Do I need to describe the AAC packaging in the SDP description of the stream?  If so, how?  This is my current SDP:

m=audio 0 RTP/AVP 97
a=control: rtsp://192.168.0.153/input_1/audio
a=rtpmap: 97 mpeg4-generic/16000/1
a=fmtp:   97   streamtype=5;profile-level-id=16;mode=AAC-hbr;config=1408;sizeLength=13;indexLength=3;indexDeltaLength=3;constantDuration=1024
  Thanks!

- Dave Beal
  Cardinal Peak, LLC
  Lafayette, Colorado USA



   
Dave Beal
   
(303) 665-3962 x124 | Email | vCard | Web | Company Blog | LinkedIn

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110305/684271fd/attachment.html>


More information about the live-devel mailing list