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
#7
Perfect sir Selur. Thank you very much  Big Grin



ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
# loading source: C:\Users\cebol\Desktop\ENCODES\HYBRID\00001.mkv
# color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("C:\Users\cebol\Desktop\ENCODES\HYBRID\00001.mkv",cache=false,format="YUV420P8", prefer_hw=0,repeat=true)
# current resolution: 1920x1080

# CUSTOM SCRIPT PART - position: ColorMatrix - START
function CustomColorMatrix(clip clp) {
  last=clp
  LoadPlugin("C:\Program Files\Hybrid\32bit\avisynthPlugins\FillBorders.dll")

  FillMargins(clp,left=0, top=2, right=0, bottom=2)
  return last
}
# CUSTOM SCRIPT PART - position: ColorMatrix - END

CustomColorMatrix() # loading custom script content
# adjusting frame count using SelectRangeEvery
SelectRangeEvery(every=8000,length=400,offset=0)
# filtering
PreFetch(12)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
#  output: color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited
return last
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)