![]() |
Novos problemas com script para KDVD
Esse script nãofuncionou no cce, abri no virtual dub e achei a seguinte mensagem: desabilitei algumas coisas mas não resolveu, aguardo ajuda.
erro do virtual dub "Script error: Syntax error D:\projeto.avs, line 52, column 84" ################################################## ################# # Usando Filtragem Motion Adaptive do Kawag para melhr compressão # ################################################## ################# ############## # Parameters # ############## myanamorphic=false # mude para false se no passo 6 você achou 4:3 ao invés de 16:9 m_width=720 #Use 720 ou 352 para KDVD, 528 ou 352 para K(S)VCD #subtitle="VTS_01_0.sub" # Adicione um # no inicio desta linha se você não precisa #de legendas, troque pelo nome do arquivo sub criado no passo movie="projeto.d2v" myoverscan=1 # teste com valores de 0 a 3 para ver o máximo que você pode colocar #aqui. Quanto maior melhor a qualidade, as valores muito grandes podem fazer sua TV # mostrar bordas indesejáveis ao redor da imagem. MaxTreshold = 1.50 nf = 0 # Current frame. ################ ## Functions ### ################ function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2 } ########## # sCRIPT # ########## MPEG2Source(movie) #Resize, overscan and borders undot() Limiter() asharp(1, 4) GripCrop(m_width, 480, overscan=myoverscan,source_anamorphic=myanamorphic ,dest_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() #Subtitles # ############ VobSub(subtitle) # Adicione um # no inicio desta linha se você não precisa de #legendas converttoyuy2() --------------------------------------- fim do script ------------------------------ |
Quote:
ou coloque o # em Quote:
Abraços! |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.