Log in

View Full Version : Please help: color correction + general clean up of video


mantis2k
20th February 2010, 23:04
Is anyone able to help by coming up with an AviSynth script or providing me with Virtualdub instructions for post-processing the following video:
Download clip 1... (http://www.rarekungfumovies.com/clip1.mpg)
Download clip 2... (http://www.rarekungfumovies.com/clip2.mpg)
Download clip 3... (http://www.rarekungfumovies.com/clip3.mpg)
1) Deinterlacing/cropping/resizing & adding borders for 16:9
2) colour correction (removing red hue and bringing out more colours - green (see clip 3), pink (see clip 1), yellow (see clip 2), blue (see clip 2) etc)
3) general clean up

If it looks an improvement I can then apply it to the whole movie. Any help would be much appreciated!

mantis2k
21st February 2010, 13:11
Here's my code so far:
LoadPlugin("c:\program files (x86)\AviSynth 2.5\plugins\dgdecode.dll")
LoadPlugin("c:\Program Files (x86)\AviSynth 2.5\LoadPluginEx.dll")
LoadPlugin("c:\program files (x86)\AviSynth 2.5\dustv5.dll")
LoadCPlugin("c:\program files (x86)\AviSynth 2.5\plugins\SmartDecimate.dll")
import("c:\program files (x86)\AviSynth 2.5\plugins\restore24_RC1_WIP.avs")

#Input source
mpeg2source("c:\clip.d2v") #,cpu=4)

#Crop away side borders and junk
crop(60,0,-50,-0)

#Deinterlace: Field Blended to Progressive
Restore24(r24fps=23.976,numr=2997,deno=6250,useLL=true,stringuent=false,fulltriples=false,r24deint=1,fra=1,frr=1,edgetype=0,edgemode=2,edgeeval=2,r24size=.75,r24ysize=0.75,nr=-5,ldmp=32.0,debug=0)

#Remove noise (more treatment needed?)
ConvertToYUY2()
PixieDust(5)
ConvertToYV12()

#Auto color correction
ColorYUV(autogain=true, autowhite=true)

#Increase saturation
ColorYUV(off_y=0,gain_y=0,cont_u=100,cont_v=100)

#Resize and add borders for 2.45:1 (16:9)
LanczosResize(720,418)
addborders(0,79,0,79)

Anyone improve on that?

Link: restore24_RC1_WIP.avs (http://www.rarekungfumovies.com/restore24_RC1_WIP.avs)