04.10.2022, 17:28
You are using 32bit Avisynth. (can be changed under "Config->Internals->Avisynth->Avisynth type")
So use 32bit FillMargins
Cu Selur
So use 32bit FillMargins
- download Fillborders-1.3.0.7z from https://github.com/Asd-g/AviSynth-FillBorders/releases
- extract the FillBorders.dll inside the Release-folder into your Hybrid/32bit/avisynthPlugins/ folder
- go to the Filtering->Avisynth->Custom section and select the category before which you want to insert the FillBorders call.
- enable the section by enabling 'enable', then insert:
and adjust the values next to left, right, top, bottom to your needs.LoadPlugin("%FILTERPATH%\FillBorders.dll")
FillMargins(clp,left=0, top=0, right=0, bottom=0)
- check the Avisynth Script View to see that the code was properly added. For me, it looked like this:
(I set left&co all to 100.)
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
Import("I:\Hybrid\32bit\avisynthPlugins\mtmodes.avsi")
# loading source: G:\TestClips&Co\files\test.avi
# color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("G:\TESTCL~1\files\test.avi",cache=false,dr=true,format="YUV420P8", prefer_hw=0)
# current resolution: 640x352
# filtering
# CUSTOM SCRIPT PART - position: DeNoise - START
function CustomDeNoise(clip clp) {
last=clp
LoadPlugin("I:\Hybrid\32bit\avisynthPlugins\FillBorders.dll")
FillMargins(clp,left=100, top=100, right=100, bottom=100)
return last
}
# CUSTOM SCRIPT PART - position: DeNoise - END
CustomDeNoise() # loading custom script content
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(16)
# output: color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last - check the Avisynth Preview to see what you did
Cu Selur