androidx.media3.extractor.ts


Interfaces

ElementaryStreamReader

Extracts individual samples from an elementary media stream, preserving original order.

SectionPayloadReader

Reads section data.

TsPayloadReader

Parses TS packet payload data.

TsPayloadReader.Factory

Factory of TsPayloadReader instances.

Classes

Ac3Extractor

Extracts data from (E-)AC-3 bitstreams.

Ac3Reader

Parses a continuous (E-)AC-3 byte stream and extracts individual samples.

Ac4Extractor

Extracts data from AC-4 bitstreams.

Ac4Reader

Parses a continuous AC-4 byte stream and extracts individual samples.

AdtsExtractor

Extracts data from AAC bit streams with ADTS framing.

AdtsReader

Parses a continuous ADTS byte stream and extracts individual frames.

DefaultTsPayloadReaderFactory

Default TsPayloadReader.Factory implementation.

DtsReader

Parses a continuous DTS or DTS UHD byte stream and extracts individual samples.

DvbSubtitleReader

Parses DVB subtitle data and extracts individual frames.

H262Reader

Parses a continuous H262 byte stream and extracts individual frames.

H263Reader

Parses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts individual frames.

H264Reader

Parses a continuous H264 byte stream and extracts individual frames.

H265Reader

Parses a continuous H.265 byte stream and extracts individual frames.

Id3Reader

Parses ID3 data and extracts individual text information frames.

LatmReader

Parses and extracts samples from an AAC/LATM elementary stream.

MpegAudioReader

Parses a continuous MPEG Audio byte stream and extracts individual frames.

MpeghReader

Parses a continuous MPEG-H audio byte stream and extracts MPEG-H frames.

NalUnitTargetBuffer

A buffer that fills itself with data corresponding to a specific NAL unit, as it is encountered in the stream.

PassthroughSectionPayloadReader

A SectionPayloadReader that directly outputs the section bytes as sample data.

PesReader

Parses PES packet data and extracts samples.

PsExtractor

Extracts data from the MPEG-2 PS container format.

SectionReader

Reads section data packets and feeds the whole sections to a given SectionPayloadReader.

SeiReader

Consumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.

TsExtractor

Extracts data from the MPEG-2 TS container format.

TsPayloadReader.DvbSubtitleInfo

Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.

TsPayloadReader.EsInfo

Holds information associated with a PMT entry.

TsPayloadReader.TrackIdGenerator

Generates track ids for initializing TsPayloadReaders' TrackOutputs.

TsUtil

Utilities method for extracting MPEG-TS streams.

Annotations

AdtsExtractor.Flags

Flags controlling the behavior of the extractor.

DefaultTsPayloadReaderFactory.Flags

Flags controlling elementary stream readers' behavior.

TsExtractor.Flags

Flags controlling the behavior of the extractor.

TsExtractor.Mode

Modes for the extractor.

TsPayloadReader.EsInfo.AudioType

The audio type of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.

TsPayloadReader.Flags

Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.