halsboss
30th November 2008, 13:45
Hi, have a PAL DV capture BFF interlaced 720x576 from a Canon MV920 to go onto DVD using HCenc leaving as BFF interlaced. Just wanted to check if there's a easier more more effective way to achieve the same or nicer denoising than this script with MT - Suggestions welcomed including variations in plugins (eg Convolution3d, or say, newer versions of plugins)
SetMTmode(mode=5,threads=4) # start with mode=5 forAVIsource http://forum.doom9.org/showthread.php?p=1067216#post1067216
SetMemoryMax(256)
# snip loaded plugins
AviSource("G:\HDTV\capt\capt-type1.08-11-30_20-39.00.avi", audio=false)
AssumeFPS(25)
AssumeBFF()
Function Do_Stuff_In_MTi(clip "inpclp") {
zMTclp=inpclp
zMTclp=zMTclp.FFT3DFilter(sigma=3, plane=0, sharpen=1.0, degrid=1.0, interlaced=false) # luma first
zMTclp=zMTclp.FFT3DFilter(sigma=5, plane=3, sharpen=1.0, degrid=1.0, interlaced=false) # chromas next with more filtering
zMTclp=zMTclp.HDRAGC(coef_gain=0.1, min_gain=0.1, max_gain=0.5, coef_sat=1.0, corrector=0.8, reducer=2.0, black_clip=1.0)
#zMTclp=zMTclp.HDRAGC(coef_gain=0.1, min_gain=0.2, max_gain=1.0, coef_sat=1.0, corrector=0.8, reducer=2.0, black_clip=1.0)
#zMTclp=zMTclp.LimitedSharpenFaster(smode=4) # ,strength=110
RETURN zMTclp
} # end of function Do_Stuff_In_MTi
MTi("Do_Stuff_In_MTi(LAST)")
Converttoyv12(interlaced=true)
SetPlanarLegacyAlignment(True)
Distributor() # use this when using HC and SetMTmode, per http://forum.doom9.org/showthread.php?p=1063622#post1063622
Here's a clip of an inside scene http://rapidshare.com/files/168841029/cut1.avi (5.7Mb). Outside scenes in the sun aren't a whole lot better with this camera. Subtle HDRAGC seems to do a good job. There's a lot of "ringing" (ghosting?) I think it's called that, suggestions on how to handle that would be welcome.
SetMTmode(mode=5,threads=4) # start with mode=5 forAVIsource http://forum.doom9.org/showthread.php?p=1067216#post1067216
SetMemoryMax(256)
# snip loaded plugins
AviSource("G:\HDTV\capt\capt-type1.08-11-30_20-39.00.avi", audio=false)
AssumeFPS(25)
AssumeBFF()
Function Do_Stuff_In_MTi(clip "inpclp") {
zMTclp=inpclp
zMTclp=zMTclp.FFT3DFilter(sigma=3, plane=0, sharpen=1.0, degrid=1.0, interlaced=false) # luma first
zMTclp=zMTclp.FFT3DFilter(sigma=5, plane=3, sharpen=1.0, degrid=1.0, interlaced=false) # chromas next with more filtering
zMTclp=zMTclp.HDRAGC(coef_gain=0.1, min_gain=0.1, max_gain=0.5, coef_sat=1.0, corrector=0.8, reducer=2.0, black_clip=1.0)
#zMTclp=zMTclp.HDRAGC(coef_gain=0.1, min_gain=0.2, max_gain=1.0, coef_sat=1.0, corrector=0.8, reducer=2.0, black_clip=1.0)
#zMTclp=zMTclp.LimitedSharpenFaster(smode=4) # ,strength=110
RETURN zMTclp
} # end of function Do_Stuff_In_MTi
MTi("Do_Stuff_In_MTi(LAST)")
Converttoyv12(interlaced=true)
SetPlanarLegacyAlignment(True)
Distributor() # use this when using HC and SetMTmode, per http://forum.doom9.org/showthread.php?p=1063622#post1063622
Here's a clip of an inside scene http://rapidshare.com/files/168841029/cut1.avi (5.7Mb). Outside scenes in the sun aren't a whole lot better with this camera. Subtle HDRAGC seems to do a good job. There's a lot of "ringing" (ghosting?) I think it's called that, suggestions on how to handle that would be welcome.