hola chicos, tengo un problema, a ver si alguien me puede ayudar,
mirad, cuando guardo el *.d2v con el dvd2avi le recorto las bandas negras de arriba y abajo, guardo el proyecto y listo...hasta aki todo bien, luego al crear el script me da los siguientes problemas
Si no utilizo el gripfit este es el script:
## DLL Section ##
#
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\asharp.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\unfilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\undot.dll")
#
####
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
Mpeg2Source("F:\352x576.d2v")
#
undot()
Limiter()
asharp(1, 4)
BicubicResize(352, 574, 0, 0.6, 0, 2, 720, 572)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
#
#
#
AddBorders(0, 1, 0, 1)
LetterBox(8, 8, 8,
Limiter()
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
y el tok no me deja abrirlo...me pone invalid floating point operation! y en el logtok me pone esto:
================================================== ===========
ToK Log: F:\ 352x576.avs
================================================== ===========
Resolution (fps):0x0 (00,000 fps)
Y si lo abro con el WMP me pone
Evaluate: Unrecognized exception!
F:\ 352x576.avs,line 20
alguien sabe de que se trata?
En cambio si uso gripfit, tampoco me funciona, con este script:
## DLL Section ##
#
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\GripFit_YV12.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\asharp.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\unfilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\undot.dll")
#
####
## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####
## Main section and static filters ###
#
Mpeg2Source("F:\352x576 con gripfit.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 576, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#
## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
#
#
#
GripBorders()
LetterBox(8, 8, 8,
Limiter()
#
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#
####
el tok me pone que no puede abrir, que mire si el virtualdub lo abre, pero el virtualdub me pone file video error, y es el mismo proyecto que he pasado a 704x576 pero sin las bandas negras de arriba y abajo! no lo entiendo, y luego el WMP me pone:
Evaluate: Unrecognized exception!
F:\ 352x576.avs,line 26
alguien me puede decir que puede estar pasando? gracias...