This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

FillMargins in the Hybrid
#6
You are using 32bit Avisynth. (can be changed under "Config->Internals->Avisynth->Avisynth type")
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:
    LoadPlugin("%FILTERPATH%\FillBorders.dll")
    
FillMargins(clp,left=0, top=0, right=0, bottom=0)
    and adjust the values next to left, right, top, bottom to your needs.
  • 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
Reply


Messages In This Thread
FillMargins in the Hybrid - by murriato - 03.10.2022, 15:32
RE: FillMargins in the Hybrid - by Selur - 03.10.2022, 15:45
RE: FillMargins in the Hybrid - by murriato - 03.10.2022, 22:25
RE: FillMargins in the Hybrid - by Selur - 04.10.2022, 04:47
RE: FillMargins in the Hybrid - by murriato - 04.10.2022, 13:01
RE: FillMargins in the Hybrid - by Selur - 04.10.2022, 17:28
RE: FillMargins in the Hybrid - by murriato - 05.10.2022, 04:10

Forum Jump:


Users browsing this thread: 1 Guest(s)