Page 1 of 1
libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 09 Jan 2017, 19:30
by river
I am on armv7h device with archlinux.
I updated filebot to 4.7.7-2 (as per aur) and I am getting following error.
Code: Select all
{duration} => Expression yields empty value: Binding "duration": Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path ([file:/usr/share/java/filebot/filebot.jar])
This error breaks video codec detection, If I downgrade to 4.7.5 no error.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 09 Jan 2017, 19:43
by rednoah
The old jar accidentally shipped with native code for all platforms. This issue has been fixed.
If your package doesn't ship with all the native libraries, then you may need to grab them from here:
https://github.com/filebot/filebot/tree ... nux-armv7l
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 09 Jan 2017, 20:14
by river
Where should I put those file?
I have downloaded and placed those file in /user/share/java/filebot and chmod to 755 but I still have above error.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 09 Jan 2017, 20:20
by rednoah
Anywhere in
LD_LIBRARY_PATH is fine.
Make sure the following options are set:
Code: Select all
-Djna.nosys=false -Djna.nounpack=true
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 05:36
by river
It took me some time to implement your suggestion, now no errors; but video codec detection is still broken.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 06:13
by rednoah
Please run filebot -script fn:sysinfo and post the output.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 07:42
by river
Here is output
Code: Select all
~ $ LD_LIBRARY_PATH=/usr/share/java/filebot filebot -script fn:sysinfo
Picked up _JAVA_OPTIONS: -Djna.nosys=false -Djna.nounpack=true
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.64
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.1
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 8 Core / 247 MB Max Memory / 16 MB Used Memory
OS: Linux (arm)
Package: PORTABLE
Data: /home/alarm/.config/filebot
uname: Linux odroid 3.10.104-4-ARCH #1 SMP PREEMPT Sun Jan 1 18:12:52 MST 2017 armv7l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 08:34
by rednoah
Looks good. What's not working at this point?
If you're worried about MediaInfo, run filebot -mediainfo /some/media/file and see what happens.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 17:32
by river
output of 4.7.5
Code: Select all
$-filebot -mediainfo /media/My_Book/media/tv_1_old/Arrow/Season01/Arrow.S01E01.Pilot.x264-HiSD.mkv
Arrow.S01E01.Pilot.x264-HiSD [720x576 x264 5.1 AC3 42m]
output of 4.7.7
Code: Select all
$-LD_LIBRARY_PATH=/usr/share/java/filebot filebot -mediainfo /media/My_Book/media/tv_1_old/Arrow/Season01/Arrow.S01E01.Pilot.x264-HiSD.mkv
Picked up _JAVA_OPTIONS: -Djna.nosys=false -Djna.nounpack=true
Arrow.S01E01.Pilot.x264-HiSD [720x576 AVC 5.1 AC3 0m]
4.7.7 not able to find video codec (x264) and displaying wrong video length.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 17:36
by rednoah
Please post the
sysinfo output of both versions.
e.g.
Code: Select all
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.64
Presumably, different versions of
libmediainfo.so are used in different tests.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 17:52
by river
I copied libmediainfo.so and libzen.so from my system lib folder and it is working.
Code: Select all
$ LD_LIBRARY_PATH=/usr/share/java/filebot filebot -mediainfo /media/My_Book/media/tv_1_old/Arrow/Season01/Arrow.S01E01.Pilot.x264-HiSD.mkv
Picked up _JAVA_OPTIONS: -Djna.nosys=false -Djna.nounpack=true
Arrow.S01E01.Pilot.x264-HiSD [720x576 x264 5.1 AC3 42m]
here is sysinfo after replacement of libmediainfo.so and libzen.so
Code: Select all
$ LD_LIBRARY_PATH=/usr/share/java/filebot filebot -script fn:sysinfo
Picked up _JAVA_OPTIONS: -Djna.nosys=false -Djna.nounpack=true
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.91
.
.
Sysinfo of filebot version 4.7.5
Code: Select all
$ filebot -script fn:sysinfo
FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: 0.7.91
.
.
So, github page has old version of libmediainfo.so and libzen.so (MediaInfo: 0.7.64)
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 18:06
by rednoah
There are no official libmediainfo builds for any of the arm* architectures, so the arm binary gets updated rarely to never. The portable filebot.sh should be configured so that it'll prefer any libmediainfo installed on your system before it'll default to the one in the application folder.
Re: libjnidispatch.so is missing in filebot.jar (version 4.7.7)
Posted: 10 Jan 2017, 18:19
by river
I am just tinkerer not and expert so this solution I will never be able to figure out, it took me an hour to implement LD_LIBRARY_PATH. At this moment it started working so I am happy.
I hope that all these solutions gets implemented in aur package soon.
Thank you for your help.