Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LoadPlugin("C:\avisynth\ColorMatrix.dll")
- LoadPlugin("C:\avisynth\ChromaShift.dll")
- function colorcorrection(clip c)
- {
- c
- ChromaShift(U=-2)
- ConvertToYV24()
- MergeLuma(Crop(1,0,width-1,height).AddBorders(0,0,1,0))
- ConvertToYUY2(matrix="Rec.709")
- ColorMatrix(mode="Rec.709->Rec.601")
- Levels(0, 0.85, 255, 16, 235, coring=false)
- ColorYUV(levels="TV->PC")
- }
- function captureNEW(clip c, float cx, float cy, float cw, int w, float s)
- {
- c
- Tweak(sat=1.05)
- ConvertToYV24()
- BicubicResize(512, 224, -0.6, 0.6, cx, cy, cw, 224)
- Sharpen(s, 0.1)
- BicubicResize(w, Height)
- ConvertToYUY2()
- PointResize(Width, Height*2)
- }
- colorcorrection()
- captureNEW(38, 7, 644, 586, 0.2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement