package

androidx.media3.extractor.ts

Interfaces

ElementaryStreamReaderExtracts individual samples from an elementary media stream, preserving original order.
SectionPayloadReaderReads section data.
TsPayloadReaderParses TS packet payload data.
TsPayloadReader.FactoryFactory of TsPayloadReader instances.

Classes

Ac3ExtractorExtracts data from (E-)AC-3 bitstreams.
Ac3ReaderParses a continuous (E-)AC-3 byte stream and extracts individual samples.
Ac4ExtractorExtracts data from AC-4 bitstreams.
Ac4ReaderParses a continuous AC-4 byte stream and extracts individual samples.
AdtsExtractorExtracts data from AAC bit streams with ADTS framing.
AdtsReaderParses a continuous ADTS byte stream and extracts individual frames.
DefaultTsPayloadReaderFactoryDefault TsPayloadReader.Factory implementation.
DtsReaderParses a continuous DTS or DTS UHD byte stream and extracts individual samples.
DvbSubtitleReaderParses DVB subtitle data and extracts individual frames.
H262ReaderParses a continuous H262 byte stream and extracts individual frames.
H263ReaderParses an ISO/IEC 14496-2 (MPEG-4 Part 2) or ITU-T Recommendation H.263 byte stream and extracts individual frames.
H264ReaderParses a continuous H264 byte stream and extracts individual frames.
H265ReaderParses a continuous H.265 byte stream and extracts individual frames.
Id3ReaderParses ID3 data and extracts individual text information frames.
LatmReaderParses and extracts samples from an AAC/LATM elementary stream.
MpegAudioReaderParses a continuous MPEG Audio byte stream and extracts individual frames.
MpeghReaderParses a continuous MPEG-H audio byte stream and extracts MPEG-H frames.
NalUnitTargetBufferA buffer that fills itself with data corresponding to a specific NAL unit, as it is encountered in the stream.
PassthroughSectionPayloadReaderA SectionPayloadReader that directly outputs the section bytes as sample data.
PesReaderParses PES packet data and extracts samples.
PsExtractorExtracts data from the MPEG-2 PS container format.
SectionReaderReads section data packets and feeds the whole sections to a given SectionPayloadReader.
SeiReaderConsumes SEI buffers, outputting contained CEA-608/708 messages to a TrackOutput.
TsExtractorExtracts data from the MPEG-2 TS container format.
TsPayloadReader.DvbSubtitleInfoHolds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
TsPayloadReader.EsInfoHolds information associated with a PMT entry.
TsPayloadReader.TrackIdGeneratorGenerates track ids for initializing TsPayloadReaders' TrackOutputs.
TsUtilUtilities method for extracting MPEG-TS streams.

Annotation Types

AdtsExtractor.FlagsFlags controlling the behavior of the extractor.
DefaultTsPayloadReaderFactory.FlagsFlags controlling elementary stream readers' behavior.
TsExtractor.FlagsFlags controlling the behavior of the extractor.
TsExtractor.ModeModes for the extractor.
TsPayloadReader.EsInfo.AudioTypeThe audio type of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.
TsPayloadReader.FlagsContextual flags indicating the presence of indicators in the TS packet or PES packet headers.