[Live-devel] AAC in TS streaming

Stas Desyatnlkov stas at tech-mer.com
Sun Oct 4 01:46:46 PDT 2009


Ross,
I used the wis-streamer as a sample for my code. It looks like wis-streamer sends raw AAC packets without ADTS headers. This way the resulting transport stream is not playable by most players (VLC, Elecard). Is there a code that adds ADTS headers to AAC packets?
I'm really not an expert at this, so maybe someone can shed more light on the subject...

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Stas Desyatnlkov
Sent: Thursday, October 01, 2009 11:52 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] AAC in TS streaming

Oops, I actually use
SimpleRTPSink* sink = SimpleRTPSink::createNew(*env, rtpGroupsock, 33, 90000, "audio", "mp2t", 1, True, False);

I see the packets transmitted in WireShark, TS PID is 0xC0. VLAN can't play the resulting stream. In addition, the pts of the rtp is always 0.

If I use VLAN to stream AAC in TS the PID=0x44 and pts is set correctly.

Any ideas?
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, September 30, 2009 9:10 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] AAC in TS streaming

Does the following sequence makes sense

No, because a "MPEG4GenericRTPSink" is used to stream MPEG-4 Elementary Stream data (e.g., AAC audio), *not* MPEG Transport Stream data.

I feeling deja vu here....

--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091004/d68b4da7/attachment-0001.html>


More information about the live-devel mailing list