View Single Post
Old 30th August 2005, 15:50   #22  |  Link
mgh
Registered User
 
Join Date: Oct 2004
Location: India
Posts: 321
Works well for both luma and chroma correction, but only with latest virtualdub.
I have some vcds with wrong color and either too dark or too bright. Have tried correction using a video file with visually OK color and luma balance .
Script
loadplugin("C:\Program Files\dgindex\\DGDecode.dll")
mpeg2source("C:\Program Files\vcds\video.d2v",cpu=6).lanczosresize(400,300)
FFT3DFilter(OH=16,OW=16,BH=48,BW=48,BT=3,Sigma=1,Sharpen=1)
vid=RemoveGrain(last,mode=12).autocrop(mode=0,wmultof=16,hmultof=16,samples=16,Aspect=0,threshold=50,samplestartframe=0,leftadd=0,rightadd=0,topadd=2,bottomadd=2).aSharp(0.4,0,0).aWarpsharp(3,1,bm=3,cm=0,thresh=0.99)
WriteHistogram(vid, "C:\Program Files\vcds\video.d2v.txt", 100)
vid1=avisource("D:\videos\good.avs")
WriteHistogram(vid1, "E:\capture\good.txt",100)
vid=vid.colourlike("C:\Program Files\vcds\video.d2v.txt", "E:\capture\good.txt", true, true,true)
return vid
Works very well with virtaualdub 1.6.10-a total mess with virtualdubmod 1.5.10 and avs2avi 139.
Do not know why. Have asked the question in virtualdub forum
http://forum.doom9.org/showthread.ph...594#post705594
which has samples.
__________________
A shut mouth gathers no foot
mgh is offline   Reply With Quote