Thanks for this project, it's very easy to use on Windows and Mac.
I am having a lot of trouble trying to use MediaInfoLib in an Android apk built from Unity 2022.3.62f1.
We have it working on Windows and macOS (thanks for the easily accessible DLL files), but I can't access the library when I build an .apk.
I've downloaded the MediaInfo APK from mediaarea.net and it works great on my deployed device - I can choose a file and see all of the metadata I would want in a quick, clean package.
What I've tried:
- Using the libmediainfo.so library file from the MediaInfo.apk. I downloaded the apk, renamed it to a .zip, extracted it, and placed the libmediainfo.so file in my project, similar to how I've added the Windows/Mac DLLs. I get an "Unable to load MediaInfo library" error when I try to use the Get function in MediaInfoDLL.cs.
- Using older Android library files from olegazyx's repo.
- Using a newer Android library (.aar) file from marlboro-advance's repo. This one seems promising but I have innumerable incompatibilities. The main issue seems to be between Unity's maximum JDK (Java 11, 55) and the .aar being built with Java 21, 65.
Has anyone gotten MediaInfoLib to run in an Android apk built from Unity? Any advice would be greatly appreciated. I'm looking into other metadata options (TagLibSharp, ex), but I would really like to use MediaInfoLib for all three platforms (Windows, Mac, Android).
Thanks again!
Thanks for this project, it's very easy to use on Windows and Mac.
I am having a lot of trouble trying to use MediaInfoLib in an Android apk built from Unity 2022.3.62f1.
We have it working on Windows and macOS (thanks for the easily accessible DLL files), but I can't access the library when I build an .apk.
I've downloaded the MediaInfo APK from mediaarea.net and it works great on my deployed device - I can choose a file and see all of the metadata I would want in a quick, clean package.
What I've tried:
Has anyone gotten MediaInfoLib to run in an Android apk built from Unity? Any advice would be greatly appreciated. I'm looking into other metadata options (TagLibSharp, ex), but I would really like to use MediaInfoLib for all three platforms (Windows, Mac, Android).
Thanks again!