Module mpeg2ts_reader::packet
source · Expand description
A Packet
struct and associated infrastructure to read an MPEG Transport Stream packet
Structs§
- Representation of the
adaptation_field_control
field from the Transport Stream packet header. The methods on this type indicate whether aPacket
’sadaptation_field()
andpayload()
methods will returnSome
orNone
. - A collection of fields that may optionally appear within the header of a transport stream
Packet
. - Optional extensions within an
AdaptationField
. - A Clock Reference is used to represent the values of PCR and ESCR fields within the transport stream data.
- A counter value used within a transport stream to detect discontinuities in a sequence of packets. The continuity counter should increase by one for each packet with a given PID for which
adaptation_control
indicates that a payload should be present. - A transport stream
Packet
is a wrapper around a byte slice which allows the bytes to be interpreted as a packet structure per ISO/IEC 13818-1, Section 2.4.3.3. - A Packet Identifier value, between
0x0000
and0x1fff
. - Value of the seamless_splice field, as returned by
AdaptationFieldExtension::seamless_splice()
method - Indicates content scrambling in use, if any.
Enums§
- Some error encountered while parsing adaptation field syntax