digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Convertir y Codificar Video (Español) (http://www.digitalfaq.com/archives/espanol/)
-   -   Problemas con el script óptimo (http://www.digitalfaq.com/archives/espanol/5518-problemas-script-optimo.html)

moyati 09-11-2003 07:21 AM

problemas con el script óptimo
 
Tengo un problema, con el siguiente script: Cuando empiezo a codificar con el tmpgenc me sale arriba una linea que dice:

"Plane difference: Only Planes images (as YUV12) supported. [(Script line1)]"
No me sale cuando cojo el avs sino cuando codifica y luego se ve el mensaje en el video.

Podeis ayudarme? Muchas gracias.

## DLL Section ##
#
LoadPlugin("C:\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Filters\GripFit_YV12.dll")
LoadPlugin("C:\Filters\STMedianFilter.dll")
LoadPlugin("C:\Filters\asharp.dll")
LoadPlugin("C:\Filters\unfilter.dll")
LoadPlugin("C:\Filters\undot.dll")
LoadPlugin("C:\Filters\BlockBuster.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("D:\pel\american.d2v")
ConvertToYUY2()

#LegalClip()
undot()
Limiter()
asharp(1, 4)

GripCrop(352, 288, overscan=1)
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) ")
BlockBuster(method="noise", detail_max=7, variance=0.5, seed=1)

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####

CaLaFaT 09-11-2003 10:58 AM

Prueba de sustituir el "ConvertToYUY2()" por el "ConvertToYV12()" a ver que tal te va...

moyati 09-12-2003 01:34 AM

Muchas Gracias!!!
 
Diste en la diana, ahora sí funciona.

Muchas gracias.


All times are GMT -5. The time now is 12:56 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.