06-17-2003, 02:32 PM
|
Free Member
|
|
Join Date: Feb 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
When I use the default 2.5 script,
Quote:
LoadPlugin("D:\Filters\2.5\MPEG2Dec3.dll")
LoadPlugin("D:\Filters\2.5\STMedianFilter.dll")
LoadPlugin("D:\Filters\2.5\UnFilter.dll")
LoadPlugin("D:\Filters\2.5\asharp.dll")
LoadPlugin("D:\Filters\2.5\undot.dll")
MaxTreshold = 1.50
scd_trigger = 30 # Scene change trigger value.
nf = 0 # Current frame.
#Mpeg2Source("Your_D2V_Source_Here") #DVD
aviSource("D:\Share\Anime\Jungle\Jungle.Guu.26.Ani meCo.avi")
#DirectShowSource("D:\shared\53453453.avi") #MPEG
Converttoyv12()
undot()
Limiter()
asharp(2, 4)
BicubicResize(336,224,0,0.6,0,0,640,480)
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")
ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
Limiter()
function fmin(float f1, float f2) {
return (f1<f2) ? f1 : f2
}
|
The result was the subtitles fading in and out (the subtitles start clear, then goes blur and clear) whenever theres motion on the scene.
So I decided to take out the script clip command, to this
Quote:
LoadPlugin("D:\Filters\2.5\MPEG2Dec3.dll")
LoadPlugin("D:\Filters\2.5\STMedianFilter.dll")
LoadPlugin("D:\Filters\2.5\UnFilter.dll")
LoadPlugin("D:\Filters\2.5\asharp.dll")
LoadPlugin("D:\Filters\2.5\undot.dll")
MaxTreshold = 1.50
scd_trigger = 30 # Scene change trigger value.
nf = 0 # Current frame.
#Mpeg2Source("Your_D2V_Source_Here") #DVD
aviSource("D:\Share\Anime\Jungle\Jungle.Guu.26.Ani meCo.avi")
#DirectShowSource("D:\shared\53453453.avi") #MPEG
Converttoyv12()
undot()
asharp(2, 4)
BicubicResize(336,224,0,0.6,0,0,640,480)
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
function fmin(float f1, float f2) {
return (f1<f2) ? f1 : f2
}
|
With this script, the moving scenes don't blur the subtitles anymore. But is it still okay to take out that script clip command?
|