transport_stream_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
transport_stream_analysis [2017/01/06 09:40] – [Transport Stream Packet Description] walkeradmin | transport_stream_analysis [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 78: | Line 78: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 84: | Line 84: | ||
\\ | \\ | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 97: | Line 97: | ||
==== Transport Stream Packet Description ==== | ==== Transport Stream Packet Description ==== | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
Line 104: | Line 104: | ||
==== Adaption Field Format Description ==== | ==== Adaption Field Format Description ==== | ||
\\ | \\ | ||
- | {{: | + | {{: |
\\ | \\ | ||
\\ | \\ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | < | ||
- | |||
- | Name Number Description | ||
- | of bits | ||
- | |||
- | sync byte | ||
- | 8 0x47 | ||
- | Transport Error Indicator (TEI) 1 Set by demodulator if can't correct errors in the stream, to tell the demultiplexer that the packet has an uncorrectable error [11] | ||
- | Payload Unit Start Indicator 1 1 means start of PES data or PSI otherwise zero only. | ||
- | Transport Priority 1 1 means higher priority than other packets with the same PID. | ||
- | PID 13 Packet ID | ||
- | Scrambling control 2 00' | ||
- | 01' = Reserved for future use | ||
- | 10' = Scrambled with even key, | ||
- | 11' = Scrambled with odd key | ||
- | Adaptation field exist 2 01 = no adaptation fields, payload only | ||
- | 10 = adaptation field only | ||
- | 11 = adaptation field and payload | ||
- | Continuity counter 4 Incremented only when a payload is present (i.e., adaptation field exist is 01 or 11)[13] | ||
- | |||
- | Note: the total number of bits above is 32 and is called the transport stream 4-byte prefix or Transport Stream Header. | ||
- | Adaptation field 0 or more Depends on flags | ||
- | Payload Data 0 or more Depends on flags | ||
- | |||
- | |||
- | Adaptation Field Format Description | ||
- | |||
- | |||
- | Name Number Adaptation Field Format Description | ||
- | of bits | ||
- | Adaptation Field Length 8 Number of bytes in the adaptation field immediately following this byte | ||
- | Discontinuity indicator 1 Set to 1 if current TS packet is in a discontinuity state with respect to either the continuity counter or the program clock reference | ||
- | Random Access indicator 1 Set to 1 if the PES packet in this TS packet starts a video/audio sequence | ||
- | Elementary stream priority indicator 1 1 = higher priority | ||
- | PCR flag 1 1 means adaptation field does contain a PCR field | ||
- | OPCR flag 1 1 means adaptation field does contain an OPCR field | ||
- | Splicing point flag 1 1 means presence of splice countdown field in adaptation field | ||
- | Transport private data flag 1 1 means presence of private data bytes in adaptation field | ||
- | Adaptation field extension flag 1 1 means presence of adaptation field extension | ||
- | Below fields are optional variable Depends on flags | ||
- | PCR 33+9 Program clock reference, stored in 6 octets in big-endian as 33 bits base, 6 bits padding, 9 bits extension. | ||
- | OPCR 33+9 Original Program clock reference. Helps when one TS is copied into another | ||
- | Splice countdown 8 Indicates how many TS packets from this one a splicing point occurs (may be negative) | ||
- | stuffing bytes variable | ||
- | |||
- | |||
- | </ |
transport_stream_analysis.1483695644.txt.gz · Last modified: 2023/03/09 22:35 (external edit)