Page 1 of 1

[AMC] skiping short videos?

Posted: 17 Oct 2016, 02:07
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 (°_°)

Re: skiping short videos?

Posted: 17 Oct 2016, 02:20
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?

Re: skiping short videos?

Posted: 17 Oct 2016, 08:50
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?

Re: skiping short videos?

Posted: 18 Oct 2016, 00:26
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?

Re: skiping short videos?

Posted: 18 Oct 2016, 07:55
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.

Re: skiping short videos?

Posted: 19 Oct 2016, 05:55
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

Re: skiping short videos?

Posted: 19 Oct 2016, 07:07
by rednoah
You don't have MediaInfo installed. If you want to use features that require MediaInfo then you will need to install MediaInfo. ;)

Re: skiping short videos?

Posted: 19 Oct 2016, 21:12
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\

Re: skiping short videos?

Posted: 20 Oct 2016, 01:53
by rednoah
Well, if sysinfo says MediaInfo is working then it's fine. Maybe it just doesn't work for that particular file.

Re: skiping short videos?

Posted: 06 Nov 2016, 16:27
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 :(

Re: skiping short videos?

Posted: 06 Nov 2016, 16:31
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.

Re: skiping short videos?

Posted: 07 Nov 2016, 05:21
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 :)

Re: skiping short videos?

Posted: 17 Jan 2017, 21:41
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.

Re: skiping short videos?

Posted: 26 Mar 2023, 04:06
by 1971camaroguy
rednoah wrote: 06 Nov 2016, 16:31 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.
I have the paid version of filebot and want to rename some movie trailers in bulk...problem is a lot of them are less than the 150mb file size and length limt so filebot isn't seeing them as valid files and won't process them. I am using a windows machine and the gui with a drag and drop right now, nothing elaborate. I have the most current version of filebot installed.

Forgive me as I am not sure how to accomplish this, and don't want to sound like a total idiot, could you or someone point me in the right direction on how to do this?

Thanks!

Re: skiping short videos?

Posted: 26 Mar 2023, 05:17
by rednoah
:!: Note that this thread is for the amc script so all of the above is generally not applicable to the FileBot Desktop application.

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


:idea: You may be able to use Manual Matching to semi-manually process files that are ignored by auto-detection for one reason or another. Please read FAQ #2 and Manual Matching for details.


:?: You can configure internal settings, such as file size limits, for both GUI and CLI like so:
viewtopic.php?t=12986

:!: Note that configuring internal settings requires basic CMD skills, i.e. open CMD and run a command.

Re: skiping short videos?

Posted: 26 Mar 2023, 12:10
by 1971camaroguy
rednoah wrote: 26 Mar 2023, 05:17 :!: Note that this thread is for the amc script so all of the above is generally not applicable to the FileBot Desktop application.

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




:?: You can configure internal settings, such as file size limits, for both GUI and CLI like so:
viewtopic.php?t=12986

:!: Note that configuring internal settings requires basic CMD skills, i.e. open CMD and run a command.
Well that was easy, I didn't realize it was simple as opening a cmd prompt and running the command...Thanks for the quick reply

EDIT: That didn't work, I don't want to keep cluttering up this post with non-AMC questions so I created a new post here

viewtopic.php?f=10&t=13655