Log in

View Full Version : PixieDust causing artifacts in video


iparout
7th October 2005, 01:17
Hi.

I am using Pixiedust to denoise a clip before encoding, however, I noticed that the filter creates a few black/green lines at the bottom and on the right of the picture.

Samples :

http://users.panafonet.gr/iparout/source.png

http://users.panafonet.gr/iparout/output.png

Can someone tell me what's going on ?

I'm using the following script :

# PLUGINS
LoadPlugin("c:\PixieDust\LoadPluginEx.dll")
LoadPlugin("E:\GORDIA~1\Msharpen.dll")
LoadPlugin("c:\PixieDust\dustv5.dll")
LoadPlugin("E:\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("E:\GORDIA~1\undot.dll")
LoadPlugin("E:\GORDIA~1\decomb.dll")
LoadPlugin("E:\GORDIA~1\KernelDeInt.dll")
#LoadPlugin("E:\GORDIA~1\dgbob.dll")
#LoadPlugin("E:\GORDIA~1\Convolution3d.dll")
#LoadPlugin("E:\GORDIA~1\FluxSmooth.dll")
#LoadPlugin("E:\GORDIA~1\TomsMoComp.dll")
#LoadPlugin("E:\GORDIA~1\VSFilter.dll")
#LoadPlugin("E:\GORDIA~1\SimpleResize.dll")

Avisource("d:\huffy.avi")

# DEINTERLACING (2)
KernelDeint(order=1)

#CROPPING
Crop(12,4,0,-16)

#DENOISE
PixieDust(5)

#SHARPEN
MSharpen()

The source video is huffyuv and I'm using version 2.54 of avisynth and Dust Version 5 by Steady 01/23/2003.

Thanks in advance for any input.

P.S. : I know I can crop out those artifacts, however I'm just wondering if there's something I can do, without cropping the image any further.

Tripx
7th October 2005, 04:48
Dust requires a mod 16 width and height or else you get the problem that you have.

iparout
7th October 2005, 12:53
mod means that the width and height have to be multiples of 16, right ?

jon.schaffer
7th October 2005, 12:55
mod means that the width and height have to be multiples of 16, right ?
Yes...

iparout
7th October 2005, 13:07
Then I don't think that the answer is exactly correct. The original video is 704x576, so with Crop(12,4,0,-16) it becomes 692x556, causing those artifacts.

When I use Crop(12,4,-4,-20), then the output is 688x552 with no artifacts, although 552 is not a multiple of 16. It is a multiple of 8 though...

Didée
7th October 2005, 13:50
MOD16 horizontally, MOD8 vertically, indeed. Old story, mentioned several times ... e.g. here (http://forum.doom9.org/showthread.php?p=674607#post674607) ;)

iparout
7th October 2005, 14:13
Thanks a lot.