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:
MetadataRetriever: Retrieves high-level metadata.FrameExtractor: Extracts individual decoded video frames and thumbnails.MediaExtractorCompat: Extracts raw, encoded media samples.
Getting started
Add the dependency for the media3-inspector module:
Kotlin
implementation("androidx.media3:media3-inspector:1.9.0")
Groovy
implementation "androidx.media3:media3-inspector:1.9.0"