Log in

View Full Version : ConvertToYV12() doesn't work!


xandizitxu
8th August 2007, 22:32
Im having this problem,

my avs script

DirectShowSource("c:\themovie.mkv",fps=23.9750084511905)
DeGrainMedian(limitY=2,limitUV=3,mode=1)
DeGrainMedian(limitY=2,limitUV=3,mode=1)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.8,seed=5823)
LanczosResize(1024,576) # Lanczos (Sharp)
textsub("c:\subtitle.ass")
ConvertToYV12()

When I try to open it on megui says that degraind mode only works with color YV12.

Where am I wrong?

mitsubishi
8th August 2007, 22:37
The operations are carried out in order, so you would need to convert to YV12 before the degrain, ie:


DirectShowSource("c:\themovie.mkv",fps=23.9750084511905)
ConvertToYV12()
DeGrainMedian(limitY=2,limitUV=3,mode=1)
DeGrainMedian(limitY=2,limitUV=3,mode=1)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.8,seed=5823)
LanczosResize(1024,576) # Lanczos (Sharp)
textsub("c:\d\bokurano\bokurano_10.ass")

You might also be able to get the DS decoder to provide YV12 by adding
pixel_type="YV12" to the DS source parameters.

xandizitxu
8th August 2007, 22:43
Still doesn't work, it used to work, but I had to format my machine, and lost everything...

Its like the convert isn't working, is there a plugin that im missing maybe?

Wilbert
9th August 2007, 20:33
Install a YV12 codec and set your vidc.yv12 entry in your registry if necessary (see YV12 faq).

ajp_anton
10th August 2007, 00:32
Convert to YV12 before using whatever needs a YV12 source.


DirectShowSource("c:\themovie.mkv",fps=23.9750084511905)ConvertToYV12()
DeGrainMedian(limitY=2,limitUV=3,mode=1)
DeGrainMedian(limitY=2,limitUV=3,mode=1)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.8,seed=5823)
LanczosResize(1024,576) # Lanczos (Sharp)
textsub("c:\subtitle.ass")

Leak
10th August 2007, 09:14
DirectShowSource("c:\themovie.mkv",fps=23.9750084511905).ConvertToYV12()
That still is in dire need of either a "." or a line break between the closing parenthesis of DirectShowSource and "ConvertToYV12"... :)

ajp_anton
12th August 2007, 20:06
That still is in dire need of either a "." or a line break between the closing parenthesis of DirectShowSource and "ConvertToYV12"... :)Yeah sorry I meant to use a "." but somehow left it out =)