お前らのショボイAvisynthスクリプト貼ってくださいpart2

このエントリーをはてなブックマークに追加
119名無しさん@編集中
なんとなく修正
function eedi2upconv(clip clip,int "target_width",int "target_height",string "eedi2_arguments",string "resizer",string "resizer_arguments"){
clip
i0=default(target_width,width*2)
i1=default(target_height,height*2)
s0=default(eedi2_arguments,"")
s1=default(resizer,"spline16resize")
s2=default(resizer_arguments,"")
eval("eedi2(field=0"+s0+")")
turnright
eval("eedi2(field=0"+s0+")")
turnleft
function eedi2upconv_temp(clip c,int "i0",int "i1",string "s"){
c
eval("eedi2(field=1"+s+")")
turnright
eval("eedi2(field=1"+s+")")
turnleft
(width<i0)||(height<i1)?eedi2upconv_temp(i0,i1,s):last
}
(width<i0)||(height<i1)?eedi2upconv_temp(i0,i1,s0):last
stackhorizontal(last,fliphorizontal)
stackvertical(last,flipvertical)
eval(s1+"("+string(i0)+","+string(i1)+",0.5,0.5,0.5-width/2,0.5-height/2"+s2+")")
}
使用例
eedi2upconv(1920*2,1088*2,",mthresh=0,lthresh=0,vthresh=0,estr=0,dstr=0,maxd=29,nt=256,pp=3","lanczosresize",",taps=100")
アーティファクトなんて気にしないで補間重視+最強の縮小lanczos100、0.1fpsくらいは出るといいなぁww

>>118
EDIUpsizerとかって糞重いフィルタがあるよ、けっこう綺麗な感じ
ただ、素直にps3にやってもらった方がいいとは思うけどね