digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Undot supports YUY2 color format only ? (http://www.digitalfaq.com/archives/encode/5776-undot-supports-yuy2.html)

Markymoo 09-24-2003 05:43 AM

Undot supports YUY2 color format only ?
 
I encoded a movie a avi at 352x288 with avisynth 2.52 and i get error in script "Undot only supports YUY2 color format only" all other avi's didnt' have this error so i used ConvertToYV12() after avisource in script and this let me load script without the above error it except for small blocks even on slow movement in the final movie. I had a high CQ of 90. I don't know if this is related to small blocks. I know its not the make of cd as other kvcd have worked fine.

The original avi was very good qualityntsc and i converted it to pal and adjusted the sound with WLA and sound is in sync.

Should i have used ConvertToYUY2 and wheres the best place to put it in the script???

Will using these converts degrade my movie and is there a way round this?


Below is my script should i be using this for avi's?

LoadPlugin("D:\Films\Tools\Filters\MPEG2Dec3.dll")
LoadPlugin("D:\Films\Tools\Filters\GripFit_YV12.dl l")
LoadPlugin("D:\Films\Tools\Filters\STMedianFilter. dll")
LoadPlugin("D:\Films\Tools\Filters\asharp.dll")
LoadPlugin("D:\Films\Tools\Filters\unfilter.dll")
LoadPlugin("D:\Films\Tools\Filters\undot.dll")


MaxTreshold = 1.50
nf = 0 # Current frame.
AviSource("123.avi")
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
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()
Limiter()

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

Thank You

CheronAph 09-24-2003 06:17 AM

Try the ConvertToYUY2() after your avisource line!

cweb 09-24-2003 03:29 PM

Quote:

Originally Posted by CheronAph
Try the ConvertToYUY2() after your avisource line!

ConvertToYV12() would be fine too as undot works with YV12 also.

Markymoo 09-26-2003 08:14 PM

Ok thanks a bunch!

I believe the small blocks are not related to the YUY2 problem now. I'm now using the below script for avi's.
The low resolution 352x288 is so i can get high cq on 1 cd and better than bigger resolution with 70-75 cq.


LoadPlugin("D:\Films\Tools\Filters\MPEG2Dec3.dll")
LoadPlugin("D:\Films\Tools\Filters\GripFit_YV12.dl l")
LoadPlugin("D:\Films\Tools\Filters\undot.dll")
LoadPlugin("D:\Films\Tools\Filters\atc.dll")
LoadPlugin("D:\Films\Tools\Filters\dctfilter.dll")
LoadPlugin("D:\Films\Tools\Filters\blockbuster.dll ")

AviSource("123.avi")
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
ATC(2,3,5,0.5,false)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()


Cheers from Big Tea Sipper 8O


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