Jump to content

Packetized elementary stream

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Daniel.Cardenas (talk | contribs) at 18:11, 1 June 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Defined by MPEG communication protocol. An Elementary Stream is packetized by adding a packet header. An elementary stream contains only one kind of data, for example audio or video. The output of a video encoder is an elementary stream which is then packetized. Packets are used to enable multiplexing of the data and to minimize the size of buffers (reduce cost) in receivers.

MPEG-2 packet header[1]:

  • Packet start code prefix - 3 bytes - 0x000001
  • Stream id - 1 byte - For example: Audio streams 0xB8, Video streams 0xB9, etc...
  • PES Packet length - 2 bytes - Can be zero as in not specified.
  • Optional PES header - variable length
  • Data
  • Padding bytes

See also

Transport stream