Media3 Inspector

The androidx.media3.inspector module lets you inspect media files by extracting information from them. You don't need to instantiate a full player, which makes the module ideal for non-playback scenarios.

This module includes the following APIs:

Getting started

Add the dependencies for the required modules:

Kotlin

implementation("androidx.media3:media3-inspector:1.11.0")
implementation("androidx.media3:media3-inspector-frame:1.11.0")

Groovy

implementation"androidx.media3:media3-inspector:1.11.0"
implementation"androidx.media3:media3-inspector-frame:1.11.0"

If you are migrating your app from platform APIs, these features provide equivalent functionality:

Functionality Platform API Media3 API

Metadata retrieval

MediaMetadataRetriever

MetadataRetriever

Frame extraction

MediaMetadataRetriever

FrameExtractor

Sample extraction

MediaExtractor

MediaExtractorCompat

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026年08月14日 UTC.