View Single Post
Old 24th April 2019, 16:45   #87  |  Link
Dreamject
Registered User
 
Join Date: Dec 2018
Posts: 140
Why is it not working or even can not detect borders? I use potplayer

Code:
PPcheck=1#WIDTH
PPcheck==1? eval ("""
SetFilterMTMode("ffdshow_source",3)
ffdshow_source()
ConvertToYV12()
global threads=2 #for regular player
""") : eval ("""
global threads=round(1.83 * #CPUS) #valid only for PotPlayer. You can calculate and input numbers of CPU Cores*2 manually
SetFilterMTMode("potplayer_source",3)
potplayer_source()
""")
LoadPlugin("avisynth\RoboCrop_x86.dll")
LoadPlugin("autocrop.dll")
#autocrop(mode=1)
RoboCrop(Samples=10,show=true) #RoboCrop(potplayer_source/ffdshow_source,show=true)
Potplayer does not support resizing, but I need to crop black borders for better motion interpolation
If I just use crop, it works, but still can not get why robocrop/autocrop can not even recognize black borders (i've used pc level too)
LoadPlugin("avisynth\RoboCrop_x86.dll")
crop(100,100,400,376)
RoboCrop(show=true)

Last edited by Dreamject; 24th April 2019 at 17:02.
Dreamject is offline   Reply With Quote