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/)
-   -   CCE + um problema (http://www.digitalfaq.com/archives/portugues/10053-cce-um-problema.html)

el34 06-03-2004 07:47 AM

CCE + um problema
 
Olá pessoas,

alguem aqui que usa o CCE já teve problemas com aquele efeito tipo arco-ires em que aparecem degradês, ou seja linhas de contraste separando as diferentes tonalidades de uma mesma cor ou cor próxima :? será que deu pra entender :? nunca tinha percebido isto quando usava o TMPEG mas em tres filmes (DVDs) que converti com o CCE esta proplema aconteceu, inicialmente o CCE apresentou um erro : "can´t find apropriate codec for YV12" (ou coisa parecida) então eu acrescentei no script (converttoYUY2), será que é esta a causa?
Detalhe: quando uso o diko (AVI-KDVD) o problema não ocorre.

Help :(

BJ 06-03-2004 09:34 AM

Eh problema com seu script.
Posta para nos podermos ver!
Abraços!

el34 06-03-2004 09:54 AM

Blz, óia ela aí:

Quote:

## DLL Section ##
#
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")
#
####

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

## Main section and static filters ###
#
Mpeg2Source("D:\filme.d2v")
#
#anamorphic=true se for 16/9 e false se for 4/3
undot()
Limiter()
asharp(1, 4)
GripCrop(720, 480, overscan=0, source_anamorphic=true)
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()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####

converttoyuy2()

#Sampler(Length=15)


BJ, obrigado pela ajud!

zakimart 06-03-2004 04:46 PM

Oi
 
Oi El!
Vc inseriu a linha converttoyuy2() e não resolveu?
Abraço

el34 06-03-2004 07:47 PM

Já fiz isso sim, antes nem abria o script, depois que acrescentei converttoyuy2 passou a funcionar porem com estes degrades, mas agora a pouco fiz um teste adaptando o script movie.avs que o diko gera e encodou legal com bem menos tempo do que o script que postei,e e aí Vmesquita, o script do diko (para avi) pode funfar bem para d2v?

[]'s

el34

jorel 06-04-2004 01:10 PM

Quote:

Originally Posted by el34
Já fiz isso sim, antes nem abria o script, depois que acrescentei converttoyuy2 passou a funcionar porem com estes degrades, mas agora a pouco fiz um teste adaptando o script movie.avs que o diko gera e encodou legal com bem menos tempo do que o script que postei,e e aí Vmesquita, o script do diko (para avi) pode funfar bem para d2v?

[]'s

el34

tenta um script usando só o source:

Mpeg2Source("D:\filme.d2v")
converttoyuy2()
trim(5000,6000)#ajuste estes valores à vontade para teste..1000frames= ~41 segundos

codifique e veja se aparecem as manchas,assim saberemos se o problema é o CCE!

BJ 06-05-2004 10:26 AM

Tah estranho isso!
Aparentemente seu script esta correto.
Tenta o que Jorel falou e posta para nós@
Abraços!


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