skiping short videos?

Any questions? Need some help?
Post Reply
garyleecn
Donor
Posts: 113
Joined: 19 Nov 2014, 03:48

skiping short videos?

Post by garyleecn »

starting yesterday, filebot suddenly thinks everything video is a 'short' video, I tried to run AMC on multiple tv episodes, movies, including a full length 4k x-men movie, but filebot just won't process anything, it just say 'skip short video'

and I also tried to clear cache, doesn't work.

running this on a Synology system, latest version.

Code: Select all

filebot -script dev:amc --output /volume1/Videos/ --log-file /volume1/Downloads/Completed/FileBot.log --action move --conflict override -non-strict /volume1/Downloads/Completed/ --def  artwork=y extra=y clean=y deleteAfterExtract=y subtitles=zho
Locking /volume1/Downloads/Completed/FileBot.log
Run script [dev:amc] at [Sun Oct 16 19:04:53 PDT 2016]
Parameter: artwork = y
Parameter: extra = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: subtitles = zho
Argument: /volume1/Downloads/Completed
Skip short video: /volume1/Downloads/Completed/TV Series/The.Exorcist.S01E01.1080p.WEB-DL.DD5.1.H.264-KINGS-Obfuscated/pbtMGJT8E6SBjNvA.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/The.Exorcist.S01E02.1080p.WEB-DL.DD5.1.H.264-KiNGS-Obfuscated/cc9145640b7a4cd1806a095533a7f582.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/The.Exorcist.S01E03.1080p.WEB-DL.DD5.1.H264-KiNGS-Obfuscated/b8effe3b95674d058fa4de00efd23a8f.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/The.Exorcist.S01E04.1080p.WEB-DL.DD5.1.H.264-KINGS-Obfuscated/3046e3988f3d46bba7363f8a673c838d.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/Elementary.S05E02.HDTV.x264-LOL/elementary.502.hdtv-lol.mkv
Ignore extra: /volume1/Downloads/Completed/TV Series/Elementary.S05E02.HDTV.x264-LOL/elementary.502.hdtv-lol.sample.mkv
Ignore extra: /volume1/Downloads/Completed/TV Series/Elementary.S05E02.HDTV.x264-LOL/elementary.502.hdtv-lol.sample.duplicate1.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/Quantico.S02E03.720p.HDTV.X264-DIMENSION/Quantico.S02E03.720p.HDTV.X264-DIMENSION.mkv
Ignore extra: /volume1/Downloads/Completed/TV Series/Quantico.S02E03.720p.HDTV.X264-DIMENSION/cunty.ho.203.720p-dimension.sample.mkv
Skip short video: /volume1/Downloads/Completed/TV Series/Quantico.S02E03.HDTV.x264-LOL/quantico.203.hdtv-lol.mkv
Ignore extra: /volume1/Downloads/Completed/TV Series/Quantico.S02E03.HDTV.x264-LOL/quantico.203.hdtv-lol.sample.mkv
Skip short video: /volume1/Downloads/Completed/Movies/X-Men.Apocalypse.2016.DTS.7.1.DUAL.2160p.Ultra.HD.BluRay.10bit.x265-NIMA4K-GEEK/X-Men.Apocalypse.2016.DTS.7.1.DUAL.2160p.Ultra.HD.BluRay.10bit.x265-NIMA4K.mkv
No files selected for processing
Failure (°_°)
garyleecn
Donor
Posts: 113
Joined: 19 Nov 2014, 03:48

Re: skiping short videos?

Post by garyleecn »

looks like I figured what went wrong.

after I change from 'dev:amc' to 'fn:amc', everything's working again..
looks like there's something wrong with dev:amc script?
User avatar
rednoah
The Source
Posts: 19015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: skiping short videos?

Post by rednoah »

Yeah, I'm tinkering with that right now. Looks like something went wrong.

What is your filebot -script fn:sysinfo output? Is MediaInfo working correctly?
:idea: Please read the FAQ and How to Request Help.
garyleecn
Donor
Posts: 113
Joined: 19 Nov 2014, 03:48

Re: skiping short videos?

Post by garyleecn »

hey. here's the sys info. basically I just install the spk from your repo and it automatically got the unofficial JAVA itself.

Code: Select all

FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'zen': Native library (linux-x86-64/libzen.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "/usr/local/chromaprint/bin/fpcalc": error=2, No such file or directory
Extended Attributes: OK
Script Bundle: 2016-10-15 (r411)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_101 (headless)
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 2 GB Max Memory / 13 MB Used Memory
OS: Linux (amd64)
Package: SPK
Data: /volume1/@appstore/filebot/data/Gary
uname: Linux DiskStation 3.10.77 #8451 SMP Wed Aug 17 05:12:41 CST 2016 x86_64 GNU/Linux synology_bromolow_3615xs
Done ヾ(@⌒ー⌒@)ノ
I notice it says media info has error every time, but it's working fine. I mean it replaces 720p with 1080p, or 1080p with 4k, but skips 1080p if there is 1080p already... so I guess this is what media info intended to do right?
User avatar
rednoah
The Source
Posts: 19015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: skiping short videos?

Post by rednoah »

See Optional Features:
http://www.filebot.net/forums/viewtopic.php?f=3&t=1802

MediaInfo is not working. Either not installed not just not working. If you're using --conflict auto then MediaInfo is recommended, but FileBot will just fall back to using the filesize if MediaInfo isn't working.

I've updated the amc script to default to not skipping files if MediaInfo is not working.
:idea: Please read the FAQ and How to Request Help.
garyleecn
Donor
Posts: 113
Joined: 19 Nov 2014, 03:48

Re: skiping short videos?

Post by garyleecn »

rednoah wrote:See Optional Features:
http://www.filebot.net/forums/viewtopic.php?f=3&t=1802

MediaInfo is not working. Either not installed not just not working. If you're using --conflict auto then MediaInfo is recommended, but FileBot will just fall back to using the filesize if MediaInfo isn't working.

I've updated the amc script to default to not skipping files if MediaInfo is not working.



Hmmm. Didn't know there's a media info package...

However, although it's still working, replacing 720p with 1080p, media info is still... not working.

As such

Code: Select all

Failed to read media info: null
User avatar
rednoah
The Source
Posts: 19015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: skiping short videos?

Post by rednoah »

You don't have MediaInfo installed. If you want to use features that require MediaInfo then you will need to install MediaInfo. ;)
:idea: Please read the FAQ and How to Request Help.
garyleecn
Donor
Posts: 113
Joined: 19 Nov 2014, 03:48

Re: skiping short videos?

Post by garyleecn »

rednoah wrote:You don't have MediaInfo installed. If you want to use features that require MediaInfo then you will need to install MediaInfo. ;)

well... that's weird..... I only got this 'null' error AFTER installing the mediaInfo package....
here's the sysinfo output, it shows mediainfo is insalled.

Code: Select all

FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: 0.7.73
Apache Commons VFS: [zip, rar]
Chromaprint: 1.3.1
Extended Attributes: OK
Script Bundle: 2016-10-15 (r411)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_101 (headless)
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 2 GB Max Memory / 13 MB Used Memory
OS: Linux (amd64)
Package: SPK
Data: /volume1/@appstore/filebot/data/Gary
uname: Linux DiskStation 3.10.77 #8451 SMP Wed Aug 17 05:12:41 CST 2016 x86_64 GNU/Linux synology_bromolow_3615xs
Done ヾ(@⌒ー⌒@)ノ

and this is the error BEFORE installing mediainfo package..

Code: Select all

FileBot_LOCAL: Failed to read media info: Unable to load amd64 (64-bit) native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary\
User avatar
rednoah
The Source
Posts: 19015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: skiping short videos?

Post by rednoah »

Well, if sysinfo says MediaInfo is working then it's fine. Maybe it just doesn't work for that particular file.
:idea: Please read the FAQ and How to Request Help.
hshah
Donor
Posts: 44
Joined: 22 Feb 2016, 22:23

Re: skiping short videos?

Post by hshah »

I just searched the internet for this issue and came across this thread. I am getting the same "skip short video message" on some files less than 50MB in size. I did have a minimum file size option in my command line so I changed that to "10" and it still does the same thing.

Even replaced the JAR on my Synology with the latest version but that did not help :(
User avatar
rednoah
The Source
Posts: 19015
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: skiping short videos?

Post by rednoah »

Logs?

The videos are either smaller than 50 MB or shorter than 10 minutes. You can pass in your own minFileSize and minLengthMS if you don't like the defaults. Set these options to 0 to disable them.
:idea: Please read the FAQ and How to Request Help.
hshah
Donor
Posts: 44
Joined: 22 Feb 2016, 22:23

Re: skiping short videos?

Post by hshah »

rednoah wrote:Logs?

The videos are either smaller than 50 MB or shorter than 10 minutes. You can pass in your own minFileSize and minLengthMS if you don't like the defaults. Set these options to 0 to disable them.
Cheers! Adding minLengthMS=0 did the trick :)
SpaceDude
Posts: 1
Joined: 17 Jan 2017, 21:32

Re: skiping short videos?

Post by SpaceDude »

I seem to be hitting the same issue now. Here is the output from my sysinfo:

Code: Select all

filebot -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_101
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 121 MB Max Memory / 12 MB Used Memory
OS: Linux (arm)
Package: SPK
Data: /volume1/@appstore/filebot/data/martin
uname: Linux HomeNAS 3.10.77 #8451 SMP Wed Jan 4 00:30:12 CST 2017 armv7l GNU/Linux synology_armada38x_ds216j
Done ヾ(@⌒ー⌒@)ノ
Here is the log from a run that claimed the videos where too short, I check the contents and them seem fine. This started happening about 1 week ago. Probably with the 4.7.7 update.

Code: Select all

filebot -script 'fn:amc' /volume1/download --output /volume1/video --action move -non-strict --conflict auto --lang en --def 'music=y' 'unsorted=y' 'clean=y' 'deleteAfterExtract=y' 'exec=synoindex -a "{file}"' 'kodi=********' 'pushbullet=******' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/data/filebot.log'

------------------------------------------

Locking /volume1/@appstore/filebot-node/data/filebot.log
Run script [fn:amc] at [Tue Jan 17 21:13:31 GMT 2017]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: exec = synoindex -a "{file}"
Parameter: kodi = *****
Parameter: pushbullet = *****
Parameter: excludeList = .excludes
Argument[0]: /volume1/download
Use excludes: /volume1/video/.excludes (541)
Ignore system path: /volume1/download/@eaDir
Skip short video: /volume1/download/Sherlock.S04E03.HDTV.x264-FLEET[rarbg]/Sherlock.S04E03.HDTV.x264-FLEET.mkv
Skip short video: /volume1/download/Family.Guy.S15E11.HDTV.x264-KILLERS[rarbg]/Family.Guy.S15E11.HDTV.x264-KILLERS.mkv
Skip short video: /volume1/download/2.Broke.Girls.S06E13.HDTV.x264-LOL[rarbg]/2.broke.girls.613.hdtv-lol.mkv
No files selected for processing
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------

[Process completed]
When I tried again minLengthMS=0 it succeeded.
Post Reply