Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Packetized
Elementary Stream (PES) is a specification in the MPEG-2 Part 1
(Systems) (ISO/IEC 13818-1) and ITU-T H.222.0 that defines carrying of
elementary streams in packets within MPEG program stream and MPEG
transport stream. The elementary stream is packetized by encapsulating
sequential data bytes from the elementary stream inside PES packet
headers. A typical method of transmitting elementary stream data from a
video or audio encoder is to first create PES packets from the
elementary stream data and then to encapsulate these PES packets inside
Transport Stream (TS) packets or Program Stream (PS). The TS packets can
then be multiplexed and transmitted using broadcasting techniques, such
as those used in an ATSC and DVB.