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/)
-   -   ConvertToYUY2() (http://www.digitalfaq.com/archives/espanol/4495-converttoyuy2.html)

CaLaFaT 07-13-2003 05:04 AM

ConvertToYUY2()
 
como veis, no me salen mas que problemas, a ver...con el optimal script exactamente copiado del 2.52 el tok me decia "only supports YUY2 color format" hasta ahi vale, de modo que le añadi ConvertToYUY2() de modo que me queda el script asi:

## DLL Section ##
#
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\GripFit_YV12.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\asharp.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\unfilter.dll")
LoadPlugin("C:\Archivos de programa\MovieStacker\Filters\undot.dll")
#
####

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

## Main section and static filters ###
#
AviSource("D:\captura.avi")
#
ConvertToYUY2()
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, source_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()
LetterBox(8, 8, 8, 8)
Limiter()

#
#
## Functions ###

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

#
####


Pero al previsualizarlo con el video del tok, me sale media pantalla a color normal y la otra media a otro color mas palido...alguien sabe si me dejo algo o porque puede ser eso de la pantalla a dos tonos diferentes de colores? gracias...

ovg64 07-13-2003 09:44 AM

Hola Calafat, ve aqui http://mirror01.iptelecom.net.ua/~vi...deo/codecs.htm y baja los ATI YV 4:2
files eh instalalos, lla no necesitaras mencionar ConvetTOYV en tu script.

CaLaFaT 07-13-2003 01:07 PM

hola ovg64, he instalado lo que me has dicho y primero he quitado el converttoYUY2 y otra vez me ponia "only supports YUY color format" 8O luego otra vez lo he puesto igual, y me ponia undot only support YUY color format, y he quitado el undot.dll y luego me ponia Limiter:source must be YUY!!! 8O ya no se k hacer, podria arreglarlo cambiando de codec el video de la peli? o que puedo hacer...???gracias...

ovg64 07-13-2003 04:56 PM

As tratado abriendo el source con Virtualdub o el mismo Tmpeg :?:

vialhue 07-13-2003 05:39 PM

Hola CALAFAT !

Prueba con CONVERTTOYV12, ya se que no tiene mucho sentido, pero y tuve un problema similar e imcomprensiblemente se me soluciono ;)

CaLaFaT 07-14-2003 12:48 AM

ovg64 he tratado con el virtualdub y el tmpgenc el source y se abre perfectamente...no se porque me pone esto en el script....incluso en el tmpgenc hize la conversion sin filtros y sin nada de un trozo de la peli y el proceso era correcto...no se a que se debe esto...a k puede ser?

vale vialhue, lo probaré asi como dices...quizas con un poco de suerte...ya os contaré...


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