Page 1 of 1
Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 05:07
by viking
I am updating FileBot by simply replacing the FileBot.jar file
Lately, I have gotten the error (it worked before):
Code: Select all
Failed to read video properties: Unable to load x86 (32-bit) native library MediaInfo.dll: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
I have a MediaInfo.dll file in D:/@Prog_RB_Portable/FileBot_Latest-portable/.
I assume that replacing it will fix this error. Where can I get an updated version of it?
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 05:58
by rednoah
Please run filebot -script fn:sysinfo and post the output.
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 08:51
by viking
rednoah wrote:Please run filebot -script fn:sysinfo and post the output.
I was never able to run filebot from the command line. I need to use filebot.cmd. Here is the result:
Code: Select all
D:\@Prog_RB_Portable\FileBot_Latest-portable>filebot.cmd -script fn:sysinfo
FileBot 4.7.9 (r4941)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: java.lang.UnsatisfiedLinkError: net.sf.sevenzipjbinding.SevenZip.nativeGetVersionMajor()I
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Windows 7 (x86)
Package: PORTABLE
Data: D:\@Prog_RB_Portable\FileBot_Latest-portable
Done ?(?????)?
p.s. I am running Win7 64-bit
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 08:53
by rednoah
Here's all the native libraries:
https://github.com/filebot/filebot/tree ... /win32-x64
You'll need to run 64-bit Java as well.
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 09:24
by viking
I am running 32-bit Java (at least I think I am?) and FileBot used to work fine. I started getting the MediaInfo error a few weeks ago.
I just downloaded the new version of MediaInfo.dll (v0.7.93), and I don't get this error anymore (and this is still with 32-bit Java)
Thanks!
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 09:50
by rednoah
Using only 32-bit binaries is of course another solution. But I haven't tested those in years.
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 17:50
by viking
rednoah wrote:Using only 32-bit binaries is of course another solution. But I haven't tested those in years.
Sorry, but I am a bit confused;
1. When you say "only 32-bit binaries", which one(s) in addition to 32-bit java, are you referring to?
2. it seems OK to run 32-bit Java with the downloaded MediInfo.dll. Does that mean that the MediaInfo.dll is 32-bit?
3. I guess that it is irrelevant that I am running 64-bit WIn7?
4. Note that the info from
filebot -script fn:sysinfo is incorrect as it showed that i was running
"OS: Windows 7 (x86)"
5. Is there any advantages of trying to upgrade my Java from 32- to 64-bit? (I am surprised that the 32 bit version is installed by default on a 64-bit OS)
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 18:08
by rednoah
1. & 2.
32-bit processes can only load 32-bit libraries. 64-bit processes can only load 64-bit libraries.
3.
Doesn't matter. Each process can be 32-bit (compatibility mode) or 64-bit.
4.
In 32-bit compatibility mode, the application will think it's running on a 32-bit OS.
5.
You probably won't notice a difference either way. You can have both 32-bit and 64-bit Java. It doesn't matter to pure Java applications. It matters for FileBot because it's using native libraries.
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 19:51
by viking
rednoah wrote:
5.You probably won't notice a difference either way. You can have both 32-bit and 64-bit Java. It doesn't matter to pure Java applications. It matters for FileBot because it's using native libraries.
A. So with 32-bit Java, FileBot and MediaInfo.dlls is running as a 32-bit application?
B. Why did I suddenly start get the errors above until I upgraded MediaInfo.dll?
C1. It doesn't seem to matter with FileBot if I use Java 32 or 64 bit, since it seems to run OK as 32-bit?
C2. What would the advantage be for FileBot if I installed 64-bit Java as well?
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 20:21
by rednoah
A.
java.exe is either 32-bit or 64-bit and the MediaInfo.dll must match that.
B.
Maybe you switched from 64-bit to 32-bit Java, or MediaInfo.dll switch from 32-bit to 64-bit. Anything that would cause a mismatch.
C.
I run all my tested on 64-bit Windows 10 so I know that the 64-bit MediaInfo.dll works. As end user, it doesn't matter which architecture you use, but always using 64-bit for everything neatly solves the 32/64 bit architecture mismatch issues.
If you use 64-bit everything then everything just works. If you mix and match then then have this thread.
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 21:33
by viking
rednoah wrote:A.
java.exe is either 32-bit or 64-bit and the MediaInfo.dll must match that.
I only saw one type of MediInfo.dll which I downloaded.
I now don't get an error when I download subtitles using the command line. However, I still get an error when running filebot.cmd -script fn:sysinfo:
Code: Select all
D:\@Prog_RB_Portable\FileBot_Latest-portable>filebot.cmd -script fn:sysinfo
FileBot 4.7.9 (r4941)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: java.lang.UnsatisfiedLinkError: net.sf.sevenzipjbinding.SevenZip.nativeGetVersionMajor()I
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Windows 7 (x86)
Package: PORTABLE
Data: D:\@Prog_RB_Portable\FileBot_Latest-portable
Done ?(?????)?
Where can I find the 32-bit version of MediaInfo.dll?
Re: Where can I download MediaInfo.dll?
Posted: 24 Mar 2017, 22:00
by rednoah
You can find all the binaries I have here:
https://github.com/filebot/filebot/tree ... lib/native

win32-x86 => 32-bit Windows

Not just MediaInfo.dll but all the files in there.
Re: Where can I download MediaInfo.dll?
Posted: 25 Mar 2017, 04:56
by viking
OK

.
I placed the 32-bit MediaInfo.dll in the path "D:/@Prog_RB_Portable/FileBot_Latest-portable/" . However, I still get an error:
Code: Select all
D:\@Prog_RB_Portable\FileBot_Latest-portable>filebot.cmd -script fn:sysinfo
FileBot 4.7.9 (r4941)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: java.lang.UnsatisfiedLinkError: net.sf.sevenzipjbinding.SevenZip.nativeGetVersionMajor()I
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Windows 7 (x86)
Package: PORTABLE
Data: D:\@Prog_RB_Portable\FileBot_Latest-portable
Done ?(?????)?
It seems like filebot is looking for the MediaInfo.dll in filebot.jar!?
I tried to put it there, but I still get the error...???
Re: Where can I download MediaInfo.dll?
Posted: 25 Mar 2017, 06:29
by rednoah
Did you really though? Because all the native libraries are not working. Not just MediaInfo.
Code: Select all
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: java.lang.UnsatisfiedLinkError: net.sf.sevenzipjbinding.SevenZip.nativeGetVersionMajor()I
Generate CRC32 checksums for all files and proof that you have the right files (you probably don't):
Code: Select all
filebot -check D:\@Prog_RB_Portable\FileBot_Latest-portable
Code: Select all
36A13959 7-Zip-JBinding.dll
036EE6B8 fpcalc.exe
93039F37 jnidispatch.dll
C980E4B1 MediaInfo.dll

At this point, you might wanna consider just installing 64-bit Java and 64-bit FileBot the usual way like everyone else.

Re: Where can I download MediaInfo.dll?
Posted: 25 Mar 2017, 08:54
by viking
I downloaded the native library files (win32-x86) and generated checksums. Here is what I got. Seems OK?
Code: Select all
36A13959 7-Zip-JBinding.dll
036EE6B8 fpcalc.exe
93039F37 jnidispatch.dll
C980E4B1 MediaInfo.dll
I still get the errors though...
Code: Select all
D:\@Prog_RB_Portable\FileBot_Latest-portable>filebot.cmd -script fn:sysinfo
FileBot 4.7.9 (r4941)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/@Prog_RB_Portable/FileBot_Latest-portable/filebot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: java.lang.UnsatisfiedLinkError: net.sf.sevenzipjbinding.SevenZip.nativeGetVersionMajor()I
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Windows 7 (x86)
Package: PORTABLE
Data: D:\@Prog_RB_Portable\FileBot_Latest-portable
Done ?(?????)?
I thought that I would start from the beginning .... I downloaded the portable version (FileBot_4.7.8-portable.tar.xz)
How do I "make" this a 32 or 64 bit version? Do I simply add the 4 dll files (32 or 64 bit) to the root directory?
Re: Where can I download MediaInfo.dll?
Posted: 25 Mar 2017, 08:59
by rednoah
Pretty much.
Re: Where can I download MediaInfo.dll?
Posted: 25 Mar 2017, 17:35
by viking
Recreating the portable directory and adding the 32 bit dlls & latest filebot-r4941.jar fixed it (although I don't understand why I always get "Done ?(?????)?"):
Code: Select all
D:\@Prog_RB_Portable\FileBot_Latest-portable>filebot.cmd -script fn:sysinfo
FileBot 4.7.9 (r4941)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Windows 7 (x86)
Package: PORTABLE
Data: D:\@Prog_RB_Portable\FileBot_Latest-portable\data
Done ?(?????)?
Thanks!