Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 8th May 2018, 20:46   #11  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
OK, something like this maybe (Just change config stuff to play with it).

Code:
LoadPlugin("<path>\PointSize_x64.dll") ## FIX THIS PATH

## ADD SOURCE HERE (RGB32, 256x224)
#AviSource("...")

###   CONFIG   ###
## (256x224 -> 2820x2160)
LQx_ARG  = 4     ## retains some jaggies (best for 'digital' look)
xBRZ_ARG = 4     ## softer gradients (best for 'smooth' look)
SPL_W    = 1024   ## Spline16
SPL_H    = 896
GAU_W    = 5760   # Gauss
GAU_H    = 4320
GAU_PX   = 37.5
GAU_PY   = 12.5
BIC_W    = 2820   # BiCubic (Output)
BIC_H    = 2160
### END CONFIG ###

LQx(LQx_ARG)      # Uncomment 1 or NONE [EDIT: Changed 'Both' to 'NONE']
#xBRZ(xBRZ_ARG)

ConvertToYV12(matrix="Rec709")

## (other filters here -- try QTGMC for example)

#########
Spline16Resize(SPL_W, SPL_H)
nnedi3_rpow2(rfactor=2, nsize=0, nns=2, qual=1, etype=0, pscrn=2, threads=0, opt=0, fapprox=0)
GaussResize2(GAU_W, GAU_H, px=GAU_PX, py=GAU_PY)
BiCubicResize(BIC_W,BIC_H)
return Last

##################################
function GaussResize2(clip C, int target_width, int target_height,
\   float "src_left", float "src_top", float "src_width", float "src_height",
\   float "px", float "py")
{
    px = Default(px, 30.0)
    py = Default(py, px)
    R = C.GaussResize(target_width, C.Height,
    \         src_left, 0, src_width, 0, px)
    \    .GaussResize(target_width, target_height,
    \         0, src_top, 0, src_height, py)
    return R
}
EDIT: changed RED stuff.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 8th May 2018 at 23:32.
StainlessS is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.