Mediainfo fails with mkv in Synology DS

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
naxete
Posts: 2
Joined: 11 Jan 2017, 20:24

Mediainfo fails with mkv in Synology DS

Post by naxete »

Hello, first of all, introduce myself, I'm naxete and I've been using filebot for a long time. It is the best tool and the best program ever, thank everyone for the great effort made.

I'm noticing that mediainfo is not working properly with mkv. For example in this avi works correctly:

Code: Select all

naxete@DS215j:/$ /volume1/@appstore/filebot/filebot.sh -mediainfo  /volume1/Series/New\ Girl/Season\ 05/New\ Girl\ -\ S05E01\ -\ Mamá\ Parikh.avi   --format "{fn} | {minutes} min | {megabytes} MB"
New Girl - S05E01 - Mamá Parikh | 21 min | 257 MB
But in this mkv fails in the duration:

Code: Select all

naxete@DS215j:/$ /volume1/@appstore/filebot/filebot.sh -mediainfo  /volume1/Descargas/Elementary\ -\ Temporada\ 5\ \[HDTV\ 720p\]\[Cap.510\]\[AC3\ 5.1\ Español\ Castellano\]/Elem720p5x10\ \[www.newpct1.com\].mkv   --format "{fn} | {minutes} min | {megabytes} MB"
Elem720p5x10 [www.newpct1.com] | 0 min | 1226 MB
The problem is filebot says short video:

Code: Select all

Use excludes: /volume1/Script/amc-files.txt (10)
Skip short video: /volume1/Descargas/Elementary - Temporada 5 [HDTV 720p][Cap.510][AC3 5.1 Español Castellano]/Elem720p5x10 [www.newpct1.com].mkv
No files selected for processing
This is my specs:

Code: Select all

naxete@DS215j:/$ /volume1/@appstore/filebot/filebot.sh -script fn:sysinfo
FileBot 4.7.7 (r4678)
JNA Native: 4.0.1
MediaInfo: 0.7.64
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Script Bundle: 2017-01-05 (r470)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_91
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 121 MB Max Memory / 9 MB Used Memory
OS: Linux (arm)
Package: SPK
Data: /volume1/@appstore/filebot/data/naxete
uname: Linux DS215j 3.2.40 #8451 SMP Fri Dec 9 10:48:58 CST 2016 armv7l GNU/Linux synology_armada375_ds215j
Done ヾ(@⌒ー⌒@)ノ
Best regards!
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Mediainfo fails with mkv in Synology DS

Post by rednoah »

Have you tried to install the MediaInfo package from SynoCommunity?
:idea: Please read the FAQ and How to Request Help.
workit247
Posts: 1
Joined: 12 Jan 2017, 22:02

Re: Mediainfo fails with mkv in Synology DS

Post by workit247 »

@rednoah, this worked for me. Thanks!
rednoah wrote:Have you tried to install the MediaInfo package from SynoCommunity?
naxete
Posts: 2
Joined: 11 Jan 2017, 20:24

Re: Mediainfo fails with mkv in Synology DS

Post by naxete »

It works. Thanks rednoah. Question: filebot uses mediainfo to difference between tvshow or movie?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Mediainfo fails with mkv in Synology DS

Post by rednoah »

No. It uses MediaInfo to find out how long a given video file is (e.g. {minutes} binding).
:idea: Please read the FAQ and How to Request Help.
Post Reply