demux handly

47 40 00 10

00 00 B0 1D 00 1C E9 00 00

00 00
program_number = 0
E0 10
111

0 0000 0001 0000

01 2C

EB B8  

01 2D

EB C2

01 2E

EB CC 

01 30

EB E0 ;

44 52 BE CA



47

40 00
:1  error
:1  start
:1  priority
:13 PID

10

:2  scrambling
:2  adaptation = 01
01 = adaptation field,僅有 payload 10 = 僅有 adaptation field 11 = adaptation field payload 皆俱
:4  Continuity counter


Payload Data

    if (tss->type == MPEGTS_SECTION) {
        if (is_start) {
            /* pointer field present */

When the payload of the Transport Stream packet contains PSI data, the payload_unit_start_indicator has the following
significance: if the Transport Stream packet carries the first byte of a PSI section, the payload_unit_start_indicator value
shall be '1', indicating that the first byte of the payload of this Transport Stream packet carries the pointer_field. If the
Transport Stream packet does not carry the first byte of a PSI section, the payload_unit_start_indicator value shall be '0',
indicating that there is no pointer_field in the payload. Refer to 2.4.4.1 and 2.4.4.2. This also applies to private streams of
stream_type 5 (refer to Table 2-29).


00

00 tid

B0 1D
1011 0000 0001 1101

1: section_syntax_indicator
1: '0'
2: reserved
12: section_length = 29

00 1C  program_number

E9

1110 1001

2: reserved  11
5: version_number 10100 = 20
1: current_next_indicator = 1



00 section_number

00 last_section_number



留言