PDA

View Full Version : MSharpen...???


X-Nemesis
28th January 2003, 17:25
I'm getting this error when loading msharpen vs for avisynth 2.5 in my script into divx5enc.

MSharpen: Unknown color space; use YUY2 or RGB32

I noticed on the avisynth website that this filter as indicated in the error message only supports yuy2 and rgb32.

LoadPlugin("g:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("g:\PROGRA~1\Avisynth2\Plugins\MSharpen.dll")
mpeg2source("D:\Vobs\Pitch Black.d2v")
crop(0,60,718,358)
MSharpen(15,100,true,false,false)
LanczosResize(704,288)

What am I doing wrong?

Richard Berg
28th January 2003, 17:29
Your source plugin is apparently returning YV12.

Guest
28th January 2003, 17:50
The filter supports YUY2 and RGB. Due to an error in the error checking (!) it rejects RGB. I will fix it tonight.

For now, you can only use YUY2.

Richard is right: mpeg2dec3 will deliver YV12. You need a ConvertToYUY2() before MSharpen.

Guest
29th January 2003, 02:23
I've posted the fixed version at my web site. It fixes RGB support.

unimatrixzer0
29th January 2003, 22:21
I get the same error as X-Nemesis with ConvertToYV12() except I'm woking with an avi source.

Guest
29th January 2003, 23:09
I said quite clearly you need ConvertToYUY2(). So why are you using ConvertToYV12()?

unimatrixzer0
29th January 2003, 23:20
whoops, sorry, must have imagined it saying it supported yv12