Arshad07
19th May 2009, 13:56
I re-intalled my k-lite mega codec pack, and when i load my avs script in AVsP, i get an error saying: ## Colormatrix: input to filter must be YV12 or YUY2! ##
Script:
LoadPlugin("E:\k-lite\HDConvertToX_1.5.283.2416\filters\mt_masktools-26.dll")
LoadPlugin("E:\k-lite\HDConvertToX_1.5.283.2416\filters\mvtools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\SSE2Tools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools2.dll")
setmtmode(5)
DirectShowSource("x.mkv", fps=23.976, audio=false)
setmtmode(2)
ColorMatrix(mode="Rec.709->Rec.601")
Interleaved2Planar() # convert clip to planar
super = MSuper(planar=true)
backward_vec3 = last.MVAnalyse(isb = true, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec3 = last.MVAnalyse(isb = false, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
last.MVDegrain3(backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=300,idx=1)
Planar2Interleaved() # convert back to normal interleave YUY2
MT("LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height, Smode=3, strength=20, radius=2)",4)
MT("spline36resize(1280, last.height)",4)
MT("spline36resize(last.width, 544)",4, splitvertical=true)
And when remove the command ''ColorMatrix(mode="Rec.709->Rec.601") '' and replaced it by ''ConvertToYV12(matrix="Rec601", interlaced=false)'' , the image is flipped horizontally...
http://i43.tinypic.com/34t4z07.png
Any help appreciated!
Script:
LoadPlugin("E:\k-lite\HDConvertToX_1.5.283.2416\filters\mt_masktools-26.dll")
LoadPlugin("E:\k-lite\HDConvertToX_1.5.283.2416\filters\mvtools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE3.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\SSE2Tools.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MT.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools2.dll")
setmtmode(5)
DirectShowSource("x.mkv", fps=23.976, audio=false)
setmtmode(2)
ColorMatrix(mode="Rec.709->Rec.601")
Interleaved2Planar() # convert clip to planar
super = MSuper(planar=true)
backward_vec3 = last.MVAnalyse(isb = true, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
backward_vec1 = last.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec1 = last.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=2, sharp=1, idx = 1)
forward_vec3 = last.MVAnalyse(isb = false, delta = 3, pel = 2, overlap=2, sharp=1, idx = 1)
last.MVDegrain3(backward_vec1,forward_vec1,backward_vec2,forward_vec2,backward_vec3,forward_vec3,thSAD=300,idx=1)
Planar2Interleaved() # convert back to normal interleave YUY2
MT("LimitedSharpenFaster(ss_x=1.5, ss_y=1.5, dest_x=last.width, dest_y=last.height, Smode=3, strength=20, radius=2)",4)
MT("spline36resize(1280, last.height)",4)
MT("spline36resize(last.width, 544)",4, splitvertical=true)
And when remove the command ''ColorMatrix(mode="Rec.709->Rec.601") '' and replaced it by ''ConvertToYV12(matrix="Rec601", interlaced=false)'' , the image is flipped horizontally...
http://i43.tinypic.com/34t4z07.png
Any help appreciated!