digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Conversão e Codificação de Vídeo (Português) (http://www.digitalfaq.com/archives/portugues/)
-   -   Problemas na Conversão Vídeo... (http://www.digitalfaq.com/archives/portugues/10345-problemas-na-conversao.html)

jameslean 06-16-2004 06:10 PM

Problemas na Conversão Vídeo...
 
Prezados colegas do Fórum, gostaria que me dessem uma dica, estou tendo o seguinte problema:
Uso o script recomendado no manual do Vmesquita, só que quando vou carregá-lo no TMPGEnc para gerar a amostra de vídeo, aparece a seguinte mensagem sobre as imagens: “script error: syntax error {[ScriptClip], line 2, columm 0}, até consigo gerar a amostra, porém esta mensagem fica sobreposta ao vídeo criado.
Uso o seguinte scipt:
###################################Optimal script ###copie tudo a partir dessa linha############################
## DLL Section ##
# Em cada uma das 6 linhas abaixo deve estar o endereço da sua pasta de plugins do avisynth
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\undot.dll")
#
## Main section and static filters ###
#
Mpeg2Source("Senhor dos Anéis.d2v") #aqui deve estar o nome do projeto. Se vc o salvou como "rojeto", não precisa alterar.
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 240, overscan=1,source_anamorphic=true)# Use anamorphic=true para filmes 16:9 e false para 4:3
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 )
Limiter()
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#vobsub("VTS_01_0.sub") # se você não for usar legendas, adicione um # no inicio dessa linha
converttoyuy2()
Sampler(length=24) # retire o # do inicio dessa linha quando for criar a amostra no tmpgenc
#######################################final do script###copie até essa linha##################################

vmesquita 06-17-2004 09:29 PM

Não poste duas vezes a mesma thread, eu deletei a outra thread. :evil:
Tente tirar as linhas de comentário e juntar a parte scriptclip:
Code:

LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\GripFit_YV12.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\STMedianFilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\unfilter.dll")
LoadPlugin("C:\Arquivos de programas\AviSynth 2.5\plugins\undot.dll")
#
## Main section and static filters ###
#
Mpeg2Source("Senhor dos Anéis.d2v") #aqui deve estar o nome do projeto. Se vc o salvou como "rojeto", não precisa alterar.
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 240, overscan=1,source_anamorphic=true)# Use anamorphic=true para filmes 16:9 e false para 4:3
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 )
Limiter()
#
## Functions ###
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
#vobsub("VTS_01_0.sub") # se você não for usar legendas, adicione um # no inicio dessa linha
converttoyuy2()
Sampler(length=24) # retire o # do inicio dessa linha quando for criar a amostra no tmpgenc


jameslean 06-19-2004 01:33 PM

Problema resolvido...
 
Sua dica resolveu o problema, agora deu certo, obrigado. Desculpa por eu ter postado duas vezes a mesma thread. :D


All times are GMT -5. The time now is 01:36 PM  —  vBulletin © Jelsoft Enterprises Ltd

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