net.filebot.mediainfo.MediaInfoException: Unable to load aarch64 (64-bit)

Support for Ubuntu and other Desktop Linux distributions
Post Reply
DuzAwe
Posts: 1
Joined: 21 Oct 2018, 19:41

net.filebot.mediainfo.MediaInfoException: Unable to load aarch64 (64-bit)

Post by DuzAwe »

So after a fair bit of poking around I have filebot working on my vero 4k+ (https://osmc.tv/vero/) using the tar version. I'm having issues with mediainfo see fn:sysinfo below. The native media info is installed

Code: Select all

+ /opt/filebot/filebot.sh -script fn:sysinfo
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load aarch64 (64-bit) native library libmediainfo.so: Unable to load library 'zen': Native library (linux-aarch64/libzen.so) not found in resource path ([file:/opt/filebot/jar/filebot.jar])
Apache Commons VFS: [zip, rar]
FFprobe: java.io.IOException: Cannot run program "ffprobe": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 1.8.0_191
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 433 MB Max Memory / 13 MB Used Memory
OS: Linux (aarch64)
HW: Linux Todd 3.14.29-117-osmc #1 SMP Mon Sep 3 00:16:47 UTC 2018 aarch64 GNU/Linux
DATA: /opt/filebot/data/root
Package: TAR
License: FileBot License PX5890177 (Valid-Until: 2068-10-11)
Done ヾ(@⌒ー⌒@)ノ
+ sudo ln -sf /opt/filebot/filebot.sh /usr/local/bin/filebot
+ filebot -version
FileBot 4.8.2 (r5789) / Java(TM) SE Runtime Environment 1.8.0_191 / Linux 3.14.29-117-osmc (aarch64) 

Code: Select all

sudo apt-get install mediainfo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mediainfo is already the newest version (0.7.91-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: net.filebot.mediainfo.MediaInfoException: Unable to load aarch64 (64-bit)

Post by rednoah »

If you're lucky, the libmediainfo0v5 package might do the trick:
https://packages.debian.org/sid/libmediainfo0v5

:idea: If you're using the portable, then you might need to copy the library from the system location to the appropriate portable lib folder.

The mediainfo command-line tool won't help you. You'll need a libmediainfo.so compiled for aarch64 if you want MediaInfo support. Unfortunately, I don't have any binaries, so unless you have some serious C/C++ skills and manage to cross-compile for that architecture, you're plain out of luck on this one.

:idea: Note that MediaInfo / FFProbe / Chromaprint are optional and may not be required depending on what you're trying to accomplish.
:idea: Please read the FAQ and How to Request Help.
Post Reply