Quantcast ConvertToYUY2() - digitalFAQ.com Forums [Archives]
  #1  
07-13-2003, 05:04 AM
CaLaFaT CaLaFaT is offline
Free Member
 
Join Date: Jul 2003
Posts: 382
Thanks: 0
Thanked 0 Times in 0 Posts
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,
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...
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-2003, 09:44 AM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
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.
Reply With Quote
  #3  
07-13-2003, 01:07 PM
CaLaFaT CaLaFaT is offline
Free Member
 
Join Date: Jul 2003
Posts: 382
Thanks: 0
Thanked 0 Times in 0 Posts
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" 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!!! ya no se k hacer, podria arreglarlo cambiando de codec el video de la peli? o que puedo hacer...???gracias...
Reply With Quote
  #4  
07-13-2003, 04:56 PM
ovg64 ovg64 is offline
Free Member
 
Join Date: Jan 2003
Location: Puerto Rico
Posts: 423
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ovg64
As tratado abriendo el source con Virtualdub o el mismo Tmpeg
Reply With Quote
  #5  
07-13-2003, 05:39 PM
vialhue vialhue is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 373
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to vialhue
Hola CALAFAT !

Prueba con CONVERTTOYV12, ya se que no tiene mucho sentido, pero y tuve un problema similar e imcomprensiblemente se me soluciono
Reply With Quote
  #6  
07-14-2003, 12:48 AM
CaLaFaT CaLaFaT is offline
Free Member
 
Join Date: Jul 2003
Posts: 382
Thanks: 0
Thanked 0 Times in 0 Posts
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é...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: SmoothDeinterlace and ConvertToYUY2? shgr Avisynth Scripting 35 11-05-2004 07:38 AM
TO use Use ConvertToYuY2() Or Not? Major Video Encoding and Conversion 18 09-20-2004 01:42 PM
Avisynth: Converttoyuy2() jorel Avisynth Scripting 49 03-15-2004 01:40 PM
Avishynht 2.54 y converttoyuy2().... generador Convertir y Codificar Video (Español) 3 01-27-2004 10:48 AM
AVISYNHT 2.5 Y CONVERTTOYUY2()........¿SON COMPATIBLESSSSSS? generador Convertir y Codificar Video (Español) 4 10-21-2003 12:54 PM

Thread Tools



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