androidx.media3.extractor.mp4


Annotations

FragmentedMp4Extractor.Flags

Flags controlling the behavior of the extractor.

Mp4Extractor.Flags

Flags controlling the behavior of the extractor.

Track.Transformation

The transformation to apply to samples in the track, if any.

Classes

AtomSizeTooSmallSniffFailure

A SniffFailure indicating an atom declares a size that is too small for the header fields that must present for the given type.

BoxParser

Utility methods for parsing MP4 format box payloads according to ISO/IEC 14496-12.

FragmentedMp4Extractor

Extracts data from the FMP4 container format.

IncorrectFragmentationSniffFailure

SniffFailure indicating the file's fragmented flag is incompatible with this .

Mp4Extractor

Extracts data from the MP4 container format.

NoDeclaredBrandSniffFailure

SniffFailure indicating the MP4 file didn't declare any brands.

PsshAtomUtil

Utility methods for handling PSSH atoms.

PsshAtomUtil.PsshAtom

A class representing the mp4 PSSH Atom as specified in ISO/IEC 23001-7.

SmtaAtomUtil

Utility methods for handling SMTA atoms.

Sniffer

Provides methods that peek data from an ExtractorInput and return whether the input appears to be in MP4 format.

Track

Encapsulates information describing an MP4 track.

TrackEncryptionBox

Encapsulates information parsed from a track encryption (tenc) box or sample group description (sgpd) box in an MP4 stream.

TrackSampleTable

Sample table for a track in an MP4 file.

UnsupportedBrandsSniffFailure

A SniffFailure indicating none of the brands declared in the ftyp box of the MP4 file are supported (see ISO 14496-12:2012 section 4.3).