[streaming] Re: details of MPEG headers in RTP and payload size

Ross Finlayson finlayson at live.com
Wed Jun 9 00:50:51 CEST 2004


>I'm trying to understand the MPEG header that follows the RTP header of 
>each RTP frame but I do not know there signification. I know that it is 
>MPEG2-TS specification but the only documentation I have found is 
>http://www.cs.columbia.edu/~hgs/rtp/drafts/draft-hoffman-rtp-mpeg-encap-01.txt 
>.

No!  Bad!  That document is an almost 10-year-old, long-expired Internet 
Draft.  The document that you should be looking at is RFC 2250, which 
defines how MPEG-1 or 2 Program, Transport, or Elementary Streams are 
packaged into RTP.

To summarize:
- When MPEG Program or Transport Streams are packaged into RTP, there is 
*no* additional header beyond the normal, 12-byte RTP header.  Furthermore, 
for Transport Streams, each RTP packet should contain an integral number of 
(188-byte) Transport Stream 'packets'.
- When MPEG (1 or 2) Elementary Streams (i.e., audio or video) are packaged 
into RTP, there is an extra 4-byte header following the (12-byte) RTP 
header.  See RFC 2250 for details...


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the streaming mailing list