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/)
-   -   Fallo en el optimal script??? (http://www.digitalfaq.com/archives/espanol/13679-fallo-optimal-script.html)

vitagin 07-13-2005 08:49 PM

fallo en el optimal script???
 
hola a todos , tengo un problema con el scrip optimo cuando lo cargo en el tmpgenc m da un error ke dice:


Script error: I´can only appear at the beginning or end of a line([ScriptClip],line2,column22)

lo pone en letras pekeñas en la parte superior lo he codificado pero el mpge resultante m sale con ese error.
no se porke??? ayudarme

x cieto tengo la version del Avisynth 2.56 no si srve d algo esto k digo

Prodater64 07-13-2005 09:02 PM

Re: fallo en el optimal script???
 
Quote:

Originally Posted by vitagin
hola a todos , tengo un problema con el scrip optimo cuando lo cargo en el tmpgenc m da un error ke dice:


Script error: I´can only appear at the beginning or end of a line([ScriptClip],line2,column22)

lo pone en letras pekeñas en la parte superior lo he codificado pero el mpge resultante m sale con ese error.
no se porke??? ayudarme

x cieto tengo la version del Avisynth 2.56 no si srve d algo esto k digo

Postea el script por favor.

vitagin 07-14-2005 03:55 AM

bueno ante todo gracias x responder este es el script k m da el error:

LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\MPEG2Dec3.dll")
Loadplugin("C:\Archivos de programa\AviSynth 2.5\plugins\STMedianFilter.dll")
Loadplugin("C:\Archivos de programa\AviSynth 2.5\plugins\asharp.dll")
Loadplugin("C:\Archivos de programa\AviSynth 2.5\plugins\UnFilter.dll")
Loadplugin("C:\Archivos de programa\AviSynth 2.5\pLugins\UnDot.dll")
LoadPlugin("C:\Archivos de programa\AviSynth 2.5\plugins\sampler.dll")
#
####
## Defined Variables and Constants##
#
Maxtreshold = 1.50
nf = 0 # Current frame
#
####
#

Mpeg2Source("C:\dvd ripeo \el aviador.d2v")
#
#

UnDot()
Limiter()
asharp(1,4)
GripCrop(352,576)
GripSize(resizer="BicubicResize")
STMedianFilter(8,32,0,0)
MergeChroma(blur(MaxTreshold))
Mergeluma(blur(0.1))
#
#
SwitchThreshold=(Width<=352)?4:(Width<=480)?3:2
Scriptclip("nf=YDifferenceToNext()"+chr(13)+"nf>=S witchThreshold ?\UnFilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100)) ):\TemporalSoften(fmin(round(2/nf),6),round(1/nf),1,1)")

#
#
#
GripBorders()
#LetterBox()
Limiter()
#

#

function fmin(intf1,intf2){return(f1<f2)?f1:f2}
#
#



Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##

Cuando boy al tmpgec si m lo carga solo k aparece ese error en letras pekeñas x cierto la pelicula dura unos 2h 38min spero k lo aya escrito bien.resdponder x fa.

Prodater64 07-14-2005 05:05 AM

Seguramente es algún error de sintaxis.

Code:

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("Your_D2V_Source_Here")
#
undot()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "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( Your_Values_Here ) # Depends on situation. Use MovieStacker!

#
#
## Functions ###

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


vitagin 07-14-2005 05:41 AM

Gracias x responder lo boy a mirar aber si se trata de eso, me stoy dejando la vista con esto del kvcd bueno k me stoy informando muxo y espero tener resultado aseptables con esto del kvcd .

Tambien he mirado est del K-Encoder-HC KDVD y SKVCD aki dice tambien k el SKVCD esta pensado para ke una peli entre en un cd d 80min. lo intentare x este metodo tambien he mirado muchas guias i no se con cual kedarme.

bueno me despido k ahora tngo k irme al curro ya m direis vosotros.


All times are GMT -5. The time now is 01:49 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.