Quantcast Undot Supports YUY2 Color Format only ? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
09-24-2003, 05:43 AM
Markymoo Markymoo is offline
Free Member
 
Join Date: Aug 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
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
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  
09-24-2003, 06:17 AM
CheronAph CheronAph is offline
Free Member
 
Join Date: Feb 2003
Location: Espoo, Finland
Posts: 494
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to CheronAph
Try the ConvertToYUY2() after your avisource line!
__________________
¨¨°º©©º°¨¨°º©CHERONAPH©º°¨¨°º©©º°¨¨
Reply With Quote
  #3  
09-24-2003, 03:29 PM
cweb cweb is offline
Free Member
 
Join Date: Jan 2003
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by CheronAph
Try the ConvertToYUY2() after your avisource line!
ConvertToYV12() would be fine too as undot works with YV12 also.
Reply With Quote
  #4  
09-26-2003, 08:14 PM
Markymoo Markymoo is offline
Free Member
 
Join Date: Aug 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
New RB-Opt 0.18 Beta now supports DVD-RB Pro Zyphon Video Encoding and Conversion 4 08-24-2005 05:50 AM
Avisynth: not able to get UnDot working Shibblet Avisynth Scripting 5 12-12-2004 04:30 AM
Undot Supports YUY2 color format only? ScottBartlett Avisynth Scripting 1 09-11-2003 02:42 AM
Where do I find Asharp.dll and Undot.dll? nicksteel Avisynth Scripting 1 06-10-2003 12:52 PM
UnDot filter for avisynth 2.07? black prince Video Encoding and Conversion 3 01-06-2003 02:40 PM




 
All times are GMT -5. The time now is 01:42 PM  —  vBulletin © Jelsoft Enterprises Ltd