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 |
Try the ConvertToYUY2() after your avisource line!
|
Quote:
|
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 |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.