Standalone FFmpeg metadata extractor app plugin for OuterTune
ffMetadataEx is an optional standalone plugin that contains the FFmpeg libraries required for the FFmpeg tag extractor.
-
Install ffMetadataEx. Download one that is compatible with your OuterTune version.
-
Grant ffMetadataEx either permission: storage or "Music and audio". Both OuterTune AND ffMetadataEx require this
-
permission.
-
Select scanner. To configure which scanner implementation OuterTune will use, open the OuterTune app and navigate to
-
"settings --> Local media -> Metadata extractor". Then select the desired extractor.
At it's core, this extracts all the (text) tag data from audio files, and returns it in a plain text string, all in a somewhat hacky way. You are probably better using a more elegant solution. While this is built for OuterTune in mind, any app should be able to use this plugin.
-
First you will need to setup the Android NDK
-
We use FFmpeg to extract metadata from local files. The FFmpeg binaries must be resolved in one of two ways:
-
a) Build libraries yourself. Clone ffmpeg-android-maker into
/app/src/main/cpp/ffmpeg-android-maker
, run the build script. Note: It may be helpful to modify the FFmpeg build script disable unneeded FFmpeg features to reduce app size, see here for an example. -
b) Use prebuilt FFmpeg libraries. Clone prebuilt ffmpeg-android-maker into
/app/src/main/cpp/ffmpeg-android-maker
.
-
-
Start the build are you normally would.