CLI + libmediainfo.so on armv7l
Posted: 03 Mar 2015, 02:34
Hi board, hi rednoah,
I use filebot 4.5.6 only in CLI on a Raspberry Pi 2. Since I use OpenElec (linux based), I cannot write on the /opt so I cannot use ipkg to install. I downloaded the .jar and a Java JRE. I can run filebot by hand with java -jar filebot.jar.
I would like to use the mediainfo lib with filebot to retrieve resolution and sound encoding from my files and rename them accordingly. I downloaded the libmediainfo.so that you provided for ARM7l. Filebot cannot find the library even if I specify the jna library path :
I tried to create a linux/arm folder in the dev folder and copy inside libmediainfo.so and also tried with libmediainfo.so directly in the same folder as filebot.jar. I'm not able to compile libmediainfo.so on this machine. Do you have any idea how I can fix this issue ?
Thanks in advance for your answer.
I use filebot 4.5.6 only in CLI on a Raspberry Pi 2. Since I use OpenElec (linux based), I cannot write on the /opt so I cannot use ipkg to install. I downloaded the .jar and a Java JRE. I can run filebot by hand with java -jar filebot.jar.
I would like to use the mediainfo lib with filebot to retrieve resolution and sound encoding from my files and rename them accordingly. I downloaded the libmediainfo.so that you provided for ARM7l. Filebot cannot find the library even if I specify the jna library path :
Code: Select all
myMachine:/ # /storage/downloads/dev/jdk1.8.0_33/bin/java -Djna.library.path=/storage/downloads/dev -jar /storage/downloads/dev/FileBot.jar -script fn:sysinfo
FileBot 4.5.6 (r2818)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/storage/downloads/dev/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: DISABLED
Groovy Engine: 2.3.9
JRE: Java(TM) SE Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 179 MB Max Memory / 9 MB Used Memory
OS: Linux (arm)
uname: Linux heracles 3.18.8 #1 SMP Sat Feb 28 08:49:22 CET 2015 armv7l GNU/Linux
Done ?(?????)?
Thanks in advance for your answer.