package

androidx.media3.transformer

Interfaces

AssetLoaderProvides media data to a Transformer.
AssetLoader.FactoryA factory for AssetLoader instances.
AssetLoader.ListenerA listener of AssetLoader events.
AudioMixerAn audio component which combines audio data from multiple sources into a single output.
AudioMixer.FactoryA factory for AudioMixer instances.
CodecProvides a layer of abstraction for interacting with decoders and encoders.
Codec.DecoderFactoryA factory for decoder instances.
Codec.EncoderFactoryA factory for encoder instances.
DefaultDecoderFactory.ListenerListener for decoder factory events.
EncoderSelectorSelector of MediaCodec encoder instances.
InAppMuxer.MetadataProviderProvides to add in the output MP4 file.
SampleConsumerConsumer of encoded media samples, raw audio or raw video frames.
SurfaceAssetLoader.CallbackCallbacks for SurfaceAssetLoader events.
Transformer.ListenerA listener for the export events.

Classes

AssetLoader.CompositionSettingsCustomizations set on the composition-level that are needed when loading each of the individual assets in the Composition.
CompositionA composition of MediaItem instances, with transformations to apply to them.
Composition.BuilderA builder for Composition instances.
CompositionPlayerA Player implementation that plays compositions of media assets.
CompositionPlayer.BuilderA builder for CompositionPlayer instances.
DefaultAssetLoaderFactoryThe default AssetLoader.Factory implementation.
DefaultAudioMixerAn AudioMixer that incrementally mixes source audio into a fixed size mixing buffer.
DefaultAudioMixer.FactoryAn AudioMixer.Factory implementation for DefaultAudioMixer instances.
DefaultCodecA default Codec implementation that uses MediaCodec.
DefaultDecoderFactoryDefault implementation of Codec.DecoderFactory that uses MediaCodec for decoding.
DefaultDecoderFactory.BuilderA builder for DefaultDecoderFactory instances.
DefaultEncoderFactoryA default implementation of Codec.EncoderFactory.
DefaultEncoderFactory.BuilderA builder for DefaultEncoderFactory instances.
DefaultMuxerA default Muxer implementation.
DefaultMuxer.FactoryA androidx.media3.transformer.Muxer.Factory for DefaultMuxer.
EditedMediaItemA MediaItem with the transformations to apply to it.
EditedMediaItem.BuilderA builder for EditedMediaItem instances.
EditedMediaItemSequenceA sequence of EditedMediaItem instances.
EffectsEffects to apply to a MediaItem or to a Composition.
EncoderUtilUtility methods for MediaCodec encoders.
ExoPlayerAssetLoaderAn AssetLoader implementation that uses an ExoPlayer to load samples.
ExoPlayerAssetLoader.FactoryAn AssetLoader.Factory for ExoPlayerAssetLoader instances.
ExperimentalAnalyzerModeFactoryFactory for creating instances of Transformer that can be used to analyze media.
ExportException.CodecInfoThe Codec details.
ExportResultInformation about the result of an export.
ExportResult.BuilderA builder for ExportResult instances.
ExportResult.ProcessedInputAn input entirely or partially processed.
ImageAssetLoaderAn AssetLoader implementation that loads images into Bitmap instances.
ImageAssetLoader.FactoryAn AssetLoader.Factory for ImageAssetLoader instances.
InAppMuxerMuxer implementation that uses an Mp4Muxer or FragmentedMp4Muxer.
InAppMuxer.Factoryandroidx.media3.transformer.Muxer.Factory for InAppMuxer.
InAppMuxer.Factory.BuilderA builder for InAppMuxer.Factory instances.
JsonUtilUtilities for working with JSON
ProgressHolderHolds a progress percentage.
RawAssetLoaderAn AssetLoader implementation that loads raw audio and/or video data.
SurfaceAssetLoaderAsset loader that outputs video data passed to its input .
SurfaceAssetLoader.FactoryFactory for SurfaceAssetLoader instances.
TextureAssetLoaderAn AssetLoader implementation that loads videos from instances.
TransformationRequestA media transformation request.
TransformationRequest.BuilderA builder for TransformationRequest instances.
TransformationResult
TransformationResult.Builder
TransformationResult.ProcessedInput
TransformerA transformer to export media inputs.
Transformer.BuilderA builder for Transformer instances.
TransformerUtilUtility methods for Transformer.
VideoEncoderSettingsRepresents the video encoder settings.
VideoEncoderSettings.BuilderBuilds VideoEncoderSettings instances.

Annotation Types

AssetLoader.SupportedOutputTypesSupported output types of an asset loader.
Composition.HdrModeThe strategy to use to transcode or edit High Dynamic Range (HDR) input video.
ExportException.ErrorCodeError codes that identify causes of Transformer errors.
SampleConsumer.InputResultSpecifies the result of an input operation.
TransformationException.ErrorCodeError codes that identify causes of Transformer errors.
Transformer.ProgressStateProgress state.
VideoEncoderSettings.BitrateModeThe allowed values for bitrateMode.