Quantcast Fallo en el Optimal Script??? - digitalFAQ.com Forums [Archives]
  #1  
07-13-2005, 08:49 PM
vitagin vitagin is offline
Free Member
 
Join Date: Jul 2005
Location: AMBATO-ECUADOR
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
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
__________________
"GARGOLAS "
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
07-13-2005, 09:02 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #3  
07-14-2005, 03:55 AM
vitagin vitagin is offline
Free Member
 
Join Date: Jul 2005
Location: AMBATO-ECUADOR
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
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)?4Width<=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.
__________________
"GARGOLAS "
Reply With Quote
  #4  
07-14-2005, 05:05 AM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
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 
} 
  
# 
####
Reply With Quote
  #5  
07-14-2005, 05:41 AM
vitagin vitagin is offline
Free Member
 
Join Date: Jul 2005
Location: AMBATO-ECUADOR
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________
"GARGOLAS "
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimal script or simple resize script? bigggt Avisynth Scripting 2 06-22-2004 08:17 PM
KVCD: Optimal script or ma script? vdk_au Video Encoding and Conversion 3 01-29-2004 07:29 AM
new KVCD script candidate for optimal script! Dialhot Video Encoding and Conversion 12 10-11-2003 02:09 PM
Script 352x576 fallo irreconocible! CaLaFaT Convertir y Codificar Video (Español) 6 08-05-2003 12:59 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM

Thread Tools



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