So I am using mediafile on
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
core
When running mediainfo agains >2gb file media file shows no output at all.
How I run:mediainfo -f --Output=XML filename.mp4
What i get
<?xml version="1.0" encoding="UTF-8"?> <Mediainfo version="0.7.91"> </Mediainfo>
I have noticed that this is the same output like for eg. invalid file or no file provided. There are some suspicions that it has something to do with x32 limitation. Depends on how mediafile handles opening files.
File is on external drive with NTFS filesystem. Other files (smaller) on the same drive/partition are handled just fine.
I just checked out that after copying to the internal SD card the same file gives exact same (no) output, so it should no be related to FS.
Please advice.
The issue has been fixed in Debian and Ubuntu if I remember well:
https://bugs.launchpad.net/ubuntu/+source/libzen/+bug/1693850
Upstream has already fixed it, you need to report the issue to the distro maintainer (the patch can be applied without risk of regression)
Alternatively, you can compile a newer version from source
Last edit: Jerome Martinez 2018-01-05
Allright, so I have compiled myself ZenLib MediaInfoLib and MediaInfo CLI version. Now after running make install on every of 3 components I have inconsistent results.
If i run ./mediainfo mylargefile2gb.mp4 output is generated correctly. If i run mediainfo mylargefile2gb.mp4 there is no output at all like with the old version.
Running mediainfo --version shows correct version in both cases. Could it be something wrong with make install ?
to wrap it up:
Running following test script
Gives me the following output