The header begins with a Synchronization Byte
The header begins with a Synchronization Byte (eight bits). They have the bit pattern 0x47 (0100 0111). ? A fixed of 3 flag bits are used to suggest how the payload ought to be processed. • The first flag shows a transport error. • The second flag shows the start of a payload. • The third flag shows transport priority bit. 2. The flags are accompanied by using a 13 bit Packet Identifier (PID). This is used to uniquely become aware of the stream to which the packet belongs to which stream and it is generated within the multiplexer. Each PID is different to particular stream so the PID premises to the receiver that is differentiate the movement to which each received packet belongs. For controlling the information the few PID are predefined and are used to indicate various streams. A packet with an unknown PID, or one with a PID which isn’t required through the receiver, is silently discarded. 3. The specific PID value of 0x1FFF is reserved to suggest that the packet is a null packet. ? The 2 scrambling manage bits are utilized by conditional get entry to approaches to encrypted the payload of a few TS packets. ? The adaption area manipulate bits which can also take four values: • 11- adaptation field followed by payload only 4. Finally there may be a half byte continuity counter (4 bits). ? Sync_ byte: The sync_ byte is a set eight-bit field whose value is ‘0100 0111’ (0x47). ? Transport_ error_ indicator: There are two possibility condition in the transport error indicator. If it is one it means there is an uncorrectable bit mistake in the transport stream packet. This bit can be set to ‘1’ by means of entities outside to the transport layer. The bit one shall not be reset to zero except the bit value in errors have been corrected. ? Payload_ unit_ start_ indicator: There are two possibility conditions in the transport error indicator. If it is one it means the transport stream packet carry PES packet. And if it set to zero it means no PES packet start. ? Transport_ priority: The transport_ priority is a 1-bit indicator. The transport mechanism can use this to prioritize its records inside an elementary stream relying on the utility the transport_ priority field can be coded irrespective of the PID This discipline can be modified by means of channel particular encoders or decoders. ? PID: The PID is a 13-bit field, indicating the kind of the records saved inside the packet payload. PID value 0x0000 is reserved for the program association table. PID value 0x0001 is reserved for the Conditional access table. The value of PID 0x1FFF is only use for null packets. ? Transport_ scrambling_ control: This 2-bit area shows the scrambling mode of the transport flow packet payload. The transport stream packet header, and the version field while present, shall now not be scrambled. Inside the case of a null packet the value of the transport_ scrambling_ control area will be set to ’00’. ? Adaptation_ field_ control: This two bit field demonstrates whether this Transport Stream parcel header is trailed by an adjustment field as well as payload.