View Full Version : AVS 2.52 Plugin using order??
YY1020
23rd July 2003, 11:29
I am using some plugin now,but is processing very slowest...
Some plugin below that...
1.levels
2.tweak
3.undot
4.2DCleanYUY2
5.Deen
6.MSharpen
7.MipSmooth
How can order the plugin is good and processing fast??
Wilbert
23rd July 2003, 12:13
Sorry, I don't understand your question. You want to choose between those plugins, such that the encoding speed is reasonable fast? Could you post a script, which you are using?
YY1020
23rd July 2003, 12:19
This my script,can you give me some advice ??
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\Deen.dll")
LoadPlugin("C:\Plugin\MipSmooth.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2").ConvertToYV12()
#
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#
#UnDot
UnDot()
#
#
#3D DENOISE
deen("a3d",1,10,12)
#
#
#MipSmooth
MipSmooth(preset="AnimeLQ",Spatial=12,Temporal=16,Spatial_Chroma=16,Temporal_Chroma=16,Scenechange=8,Method="Strong",Scalefactor=0.5)
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#
#2DCleanYUY2
ConvertToYUY2._2DCleanYUY2(0,10,2,2,0,4,4)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
# TWEAK
Tweak(Sat=1.2,Bright=1.2)
#
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
Wilbert
23rd July 2003, 12:34
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2").ConvertToYV12()
Telecide(post=true,gthresh=50,chroma=true,guide=1)
UnDot()
MipSmooth(...)
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
ConvertToYUY2._2DCleanYUY2(0,10,2,2,0,4,4)
Levels(0, 1.1, 255,0, 255)
Tweak(Sat=1.2,Bright=1.2)
textsub("C:\Ready\sub.ass")
Don't use three smoothers, and remove the second YV12->YUY2 conversion. Remember at the end you have these conversions: YV12->YUY2 [first line, by opening the avi as YUY2]->YV12 [first line]->YUY2 [line 6]->YV12
Try one without the YUY2->YV12->YUY2 conversion:
[i]avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
Telecide(post=true,gthresh=50,chroma=true,guide=1)
UnDot()
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
_2DCleanYUY2(0,10,2,2,0,4,4)
Levels(0, 1.1, 255,0, 255)
Tweak(Sat=1.2,Bright=1.2)
textsub("C:\Ready\sub.ass")
or without the YV12->YUY2->YV12 conversion:
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2").ConvertToYV12()
Telecide(post=true,gthresh=50,chroma=true,guide=1)
UnDot()
MipSmooth(...)
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
Levels(0, 1.1, 255,0, 255)
Tweak(Sat=1.2,Bright=1.2)
textsub("C:\Ready\sub.ass")
and adjust the settings of the smoothers.
YY1020
23rd July 2003, 12:54
Is this one??
If this script incorrect,please add something in the script!!
THX!!!
I don"t know that means----->Don't use three smoothers, and remove the second YV12->YUY2 conversion. Remember at the end you have these conversions: YV12->YUY2 [first line, by opening the avi as YUY2]->YV12 [first line]->YUY2 [line 6]->YV12 [in vdub/vdubmod]
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
ConvertToYV12
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
ConvertToYUY2
#
#_2DCleanYUY2
_2DCleanYUY2(0,10,2,2,0,4,4)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
Wilbert
23rd July 2003, 13:13
I don"t know that means----->Don't use three smoothers, and remove the second YV12->YUY2 conversion. Remember at the end you have these conversions: YV12->YUY2 [first line, by opening the avi as YUY2]->YV12 [first line]->YUY2 [line 6]->YV12 [in vdub/vdubmod]
1) You were using three smoothers: Deen, MipSmooth and -2DCleanYUY2. Of course, this takes a lot of encoding time.
2) You were using a lot of color conversions, which also takes a lot of encoding time:
a) I guess your avi is YV12? Can be checked by opening
avisource("C:\Ready\DN\V.avi")
info()
in vdubmod. By setting pixel_type=YUY2, you force it to open as YUY2. This is the first YV12->YUY2 conversion.
b) Putting ConvertToYV12 behind it:
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2").ConvertToYV12()
is the second conversion.
c) Third conversion:
ConvertToYUY2._2DCleanYUY2(0,10,2,2,0,4,4)
d) Encoding to DivX/XviD or MPEG1/MPEG2 gives the last YUY2->YV12 conversion.
I hope that's clear now ...
The lines beginning with # are comments, so I removed them. But, ok. Try these two scripts:
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#_2DCleanYUY2
_2DCleanYUY2(0,10,2,2,0,4,4)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
or
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
ConvertToYV12
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MipSmooth
MipSmooth(preset="AnimeLQ",Spatial=12,Temporal=16,Spatial_Chroma=16,Temporal_Chroma=16,Scenechange=8,Method="Strong",Scalefactor=0.5)
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
YY1020
23rd July 2003, 13:29
Originally posted by Wilbert
1) You were using three smoothers: Deen, MipSmooth and -2DCleanYUY2. Of course, this takes a lot of encoding time.
2) You were using a lot of color conversions, which also takes a lot of encoding time:
a) I guess your avi is YV12? Can be checked by opening
avisource("C:\Ready\DN\V.avi")
info()
in vdubmod. By setting pixel_type=YUY2, you force it to open as YUY2. This is the first YV12->YUY2 conversion.
b) Putting ConvertToYV12 behind it:
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2").ConvertToYV12()
is the second conversion.
c) Third conversion:
ConvertToYUY2._2DCleanYUY2(0,10,2,2,0,4,4)
d) Encoding to DivX/XviD or MPEG1/MPEG2 gives the last YUY2->YV12 conversion.
I hope that's clear now ...
The lines beginning with # are comments, so I removed them. But, ok. Try these two scripts:
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#_2DCleanYUY2
_2DCleanYUY2(0,10,2,2,0,4,4)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
or
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
ConvertToYV12
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MipSmooth
MipSmooth(preset="AnimeLQ",Spatial=12,Temporal=16,Spatial_Chroma=16,Temporal_Chroma=16,Scenechange=8,Method="Strong",Scalefactor=0.5)
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
#
I understand now.Thank you your long detail information!!!
Asking one more question,how can i check my opening colorspace??
Wilbert
23rd July 2003, 13:49
Just make the following script:
avisource("C:\Ready\DN\V.avi")
info()
and open it in VirtualdubMod. This will show you the color format of the avi.
YY1020
23rd July 2003, 14:00
Originally posted by Wilbert
Just make the following script:
avisource("C:\Ready\DN\V.avi")
info()
and open it in VirtualdubMod. This will show you the color format of the avi.
OK!!!
THX~YOU~
YY1020
25th July 2003, 18:31
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Plugin\Decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
LoadPlugin("C:\Plugin\UnDot.dll")
LoadPlugin("C:\Plugin\MSharpen.dll")
LoadPlugin("C:\Plugin\_2DCleanYUY2_for_25.dll")
#
# SOURCE
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
ConvertToYV12
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MipSmooth
MipSmooth(preset="AnimeLQ",Spatial=12,Temporal=16,Spatial_Chroma=16,Temporal_Chroma=16,Scenechange=8,Method="Strong",Scalefactor=0.5)
#
#MSharpen
MSharpen(threshold=15,strength=100,mask=false,highq=true,debug=false)
#
#Levels
Levels(0, 1.1, 255,0, 255)
#
#Tweak
Tweak(Sat=1.2,Bright=1.2)
#
# SUBTITLES
textsub("C:\Ready\sub.ass")
# [/B]
In this script "ConvertToYV12" is using "ConvertToYV12()" or "ConvertToYV12(interlaced-true)"??
Wilbert
25th July 2003, 18:43
The default values is interlaced=false. Thus ConvertToYV12 is the same as ConvertToYV12(interlaced=false).
(...)
avisource("C:\Ready\DN\V.avi",pixel_type="YUY2")
ConvertToYV12(interlaced=true)
#
#IVTC
Telecide(post=true,gthresh=50,chroma=true,guide=1)
#
#Undot
UnDot()
#
#MipSmooth
MipSmooth
(...)
should do fine.
Asmodian
25th July 2003, 21:30
Do we still need to call functions with a () at the end if we do not want a speed penalty?
example:
UnDot()
is much faster then
UnDot
Is this still true?
Wilbert
25th July 2003, 21:59
No, I don't think so. At least I never put them anymore. Of course, you have to try it if you want to be sure.
Richard Berg
26th July 2003, 00:26
The source of this rumor is the Decomb documentation. I asked Don a long time ago to retest and remove them if no difference was found, but never got a response. I don't have AVS2AVI (the best way to benchmark) installed, someone want to give it a try? Sample script:
src = AviSource("file.avi")
a = src.ConvertToRGB32.ConvertToYUY2.ConvertToRGB32.ConvertToYUY2.ConvertToRGB32.ConvertToYUY2.ConvertToRGB32.ConvertToYUY2
b= src.ConvertToRGB32().ConvertToYUY2().ConvertToRGB32().ConvertToYUY2().ConvertToRGB32().ConvertToYUY2().ConvertToRGB32().ConvertToYUY2()
return a
#return b
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.