TS, PS, PES package format

Source: Internet
Author: User

PES is a packaged es. PTS and DTs have been inserted. Generally, a PES package is used as an image.

PES package format:

PES is then packaged into ts streams or PS streams. a pes is often stored in multiple ts packages,

Start_code: 0x00 00 01

Stream_id:

PES header length:

Information Zone: includes additional information and PTS and DTS

PS stream:

Each PES header contains PTS and DTS. During decoding, PES --> es, audio and video synchronization, in addition to PTS and DTS, SCR (system clock reference) is also used ), during encoding, it is all generated by the STC (system time clock ).

The PS package length is variable.

Ts is also composed of multiple PES. The TS packet consists of two parts: the packet header and the packet data. The length is fixed and the packet header length is 4 bytes. The packet data and self-use Zone account for 184 bytes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.