androidx.media3.extractor


Annotations

AacUtil.AacAudioObjectType

Valid AAC Audio object types.

Ac3Util.SyncFrameInfo.StreamType

AC3 stream types.

DtsUtil.DtsAudioMimeType

The possible MIME types for DTS that can be used.

DtsUtil.FrameType

Frame types for a DTS stream.

Extractor.ReadResult

Result values that can be returned by read.

TrackOutput.SampleDataPart

Defines the part of the sample data to which a call to sampleData corresponds.

Interfaces

BinarySearchSeeker.SeekTimestampConverter

A converter that converts seek time in stream time into target timestamp for the .

BinarySearchSeeker.TimestampSeeker

A seeker that looks for a given timestamp from an input.

Extractor

Extracts media data from a container format.

ExtractorInput

Provides data to be consumed by an Extractor.

ExtractorOutput

Receives stream level data extracted by an Extractor.

ExtractorsFactory

Factory for arrays of Extractor instances.

SeekMap

Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.

SniffFailure

Contains details about why sniff returned false.

TrackOutput

Receives track level data extracted by an Extractor.

Classes

AacUtil

Utility methods for handling AAC audio streams.

AacUtil.Config

Holds sample format information for AAC audio.

Ac3Util

Utility methods for parsing Dolby TrueHD and (E-)AC-3 syncframes.

Ac3Util.SyncFrameInfo

Holds sample format information as presented by a syncframe header.

Ac4Util

Utility methods for parsing AC-4 frames, which are access units in AC-4 bitstreams.

Ac4Util.SyncFrameInfo

Holds sample format information as presented by a syncframe header.

AvcConfig

AVC configuration data.

BinarySearchSeeker

A seeker that supports seeking within a stream by searching for the target frame using binary search.

BinarySearchSeeker.BinarySearchSeekMap

A SeekMap implementation that returns the estimated byte location from calculateNextSearchBytePosition for each getSeekPoints query.

BinarySearchSeeker.DefaultSeekTimestampConverter

A SeekTimestampConverter implementation that returns the seek time itself as the timestamp for a seek time position.

BinarySearchSeeker.SeekOperationParams

Contains parameters for a pending seek operation by BinarySearchSeeker.

BinarySearchSeeker.TimestampSearchResult

Represents possible search results for searchForTimestamp.

CeaUtil

Utility methods for handling CEA-608/708 messages.

ChunkIndex

Defines chunks of samples within a media stream.

ConstantBitrateSeekMap

A SeekMap implementation that assumes the stream has a constant bitrate and consists of multiple independent frames of the same size.

DefaultExtractorInput

An ExtractorInput that wraps a DataReader.

DefaultExtractorsFactory

An ExtractorsFactory that provides an array of extractors for the following formats:

DiscardingTrackOutput

A TrackOutput that consumes and discards all reported samples.

DolbyVisionConfig

Dolby Vision configuration data.

DtsUtil

Utility methods for parsing DTS frames.

DtsUtil.DtsHeader

Information parsed from a DTS frame header.

DummyExtractorOutput

This class is deprecated.

Use NoOpExtractorOutput instead.

DummyTrackOutput

This class is deprecated.

Use DiscardingTrackOutput instead.

ExtractorUtil

Extractor related utility methods.

FlacFrameReader

Reads and peeks FLAC frame elements according to the FLAC format specification.

FlacFrameReader.SampleNumberHolder

Holds a sample number.

FlacMetadataReader

Reads and peeks FLAC stream metadata elements according to the FLAC format specification.

FlacMetadataReader.FlacStreamMetadataHolder

Holds a FlacStreamMetadata.

FlacSeekTableSeekMap

A SeekMap implementation for FLAC streams that contain a seek table.

FlacStreamMetadata

Holder for FLAC metadata.

FlacStreamMetadata.SeekTable

A FLAC seek table.

ForwardingExtractorInput

An overridable ExtractorInput implementation forwarding all methods to another input.

ForwardingSeekMap

A forwarding class for SeekMap

ForwardingTrackOutput

An overridable TrackOutput implementation forwarding all methods to another track output.

GaplessInfoHolder

Holder for gapless playback information.

HevcConfig

HEVC configuration data.

Id3Peeker

Peeks data from the beginning of an ExtractorInput to determine if there is any ID3 tag.

IndexSeekMap

A SeekMap implementation based on a mapping between times and positions in the input stream.

MpegAudioUtil

Utility methods for handling MPEG audio streams.

MpegAudioUtil.Header

Stores the metadata for an MPEG audio frame.

NoOpExtractorOutput

An ExtractorOutput implementation that does nothing.

OpusUtil

Utility methods for handling Opus audio streams.

PositionHolder

Holds a position in the stream.

SeekMap.SeekPoints

Contains one or two SeekPoints.

SeekMap.Unseekable

A SeekMap that does not support seeking.

SeekPoint

Defines a seek point in a media stream.

SingleSampleExtractor

Extracts data by loading all the bytes into one sample.

SingleSampleSeekMap

A SeekMap implementation that maps the given point back onto itself.

TrackOutput.CryptoData

Holds data required to decrypt a sample.

TrueHdSampleRechunker

Rechunks TrueHD sample data into groups of TRUEHD_RECHUNK_SAMPLE_COUNT samples.

VorbisBitArray

Wraps a byte array, providing methods that allow it to be read as a Vorbis bitstream.

VorbisUtil

Utility methods for parsing Vorbis streams.

VorbisUtil.CommentHeader

Vorbis comment header.

VorbisUtil.Mode

Vorbis setup header modes.

VorbisUtil.VorbisIdHeader

Vorbis identification header.

WavUtil

Utilities for handling WAVE files.