digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Dust version 5 (http://www.digitalfaq.com/archives/avisynth/2307-avisynth-dust-version.html)

KingTuk 01-23-2003 10:43 PM

Dust version 5
 
version 5 of Dust is out to try...

http://forum.doom9.org/showthread.ph...0&pagenumber=1

This version should greatly reduce the blockiness with motion issue. It has many internal changes.

Two new filters introduced.
GoldDust Heavy filtering for more serious problems. This one will definately blur the image, so it recommended you use it before resizing smaller.

SpaceDust This fast filter is spatial only. For those complaining about how slow Dust is

kwag 01-23-2003 11:20 PM

It's PLAYTIME :mrgreen:

-kwag

Smoochie3 01-24-2003 10:51 AM

Is this version suppose to be any faster? It seems like it's still the same as the last version as far as speed.

kwag 01-24-2003 10:58 AM

Quote:

Originally Posted by Smoochie3
Is this version suppose to be any faster? It seems like it's still the same as the last version as far as speed.

Try SpaceDust() instead of FaeryDust(). That has been added to the new version.

-kwag

Jellygoose 01-24-2003 11:03 AM

@ kwag...

I saw your Episode II Sample somewhere... well isn't that what you would call heavy letterboxing?? I suppose you used Overscan 2 right? See what I meant earlier when I said that TV Overscan also reduces height?

btw: Sample looks damn good for a 1 CD encode of this high action beast!

kwag 01-24-2003 11:11 AM

Quote:

Originally Posted by Jellygoose
@ kwag...

I saw your Episode II Sample somewhere... well isn't that what you would call heavy letterboxing?? I suppose you used Overscan 2 right? See what I meant earlier when I said that TV Overscan also reduces height?

It looks perfect on the TV. There are no borders on the sides. The TV stretches it flush with the edges, and looks the same aspect as the original DVD :wink:. Here's the script I used for that movie:


Code:

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\vobsub.dll")
LoadPlugin("C:\encoding\convolution3d.dll")
LoadPlugin("C:\encoding\dustv5.dll")
LoadPlugin("C:\encoding\decomb.dll")

Mpeg2Source("J:\PHANTOM_MENACE\VIDEO_TS\phantom.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
#PixieDust()
SpaceDust()
Convolution3D(preset="movieLQ")
Blockbuster(method="noise", variance=.3, seed=1)
GripBorders()
LegalClip()

#Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##

Quote:



btw: Sample looks damn good for a 1 CD encode of this high action beast!
Yeah :D. I've been doing almost every ~2 hour movie on one CD with KVCDx3 and SansGrip's filters + Dust. It's good enough, and I don't need to change CD's in the middle of the movie :wink:

-kwag

Smoochie3 01-24-2003 11:13 AM

Spacedust() cause a thin pink bar on the right side of the picture. It's just about the width of the overscan blocks. If i comment it out, the pink bar disappears. Any ideas? Here's my script:

LoadPlugin("D:\avfilters\MPEG2DEC.dll")
#LoadPlugin("D:\avfilters\fluxsmooth.dll")
#LoadPlugin("D:\avfilters\blockbuster.dll")
LoadPlugin("D:\avfilters\legalclip.dll")
LoadPlugin("D:\avfilters\Convolution3D.dll")
LoadPlugin("D:\avfilters\DecombLegacy.dll")
LoadPlugin("D:\avfilters\DustV5.dll")
LoadPlugin("D:\avfilters\GripFit_preview.dll")
LoadPlugin("D:\avfilters\Sampler.dll")
#LoadPlugin("D:\avfilters\NoMoSmooth.dll")
Video1=mpeg2source("E:\L\disc1\LOTRDisc1.d2v")
Trim(Video1,0,189899)
Video2=mpeg2source("E:\L\disc2\LOTRDisc2.d2v")
Unalignedsplice(Video1,Video2)
Telecide()
Decimate()
LegalClip()
Gripcrop(352,480)
Letterbox(0,0,16,16)
Spacedust()
Convolution3d(preset="movieHQ")
Gripsize(resizer="LanczosResize")
Gripborders()
LegalClip()
Sampler()

kwag 01-24-2003 11:23 AM

Quote:

Originally Posted by Smoochie3
Spacedust() cause a thin pink bar on the right side of the picture. It's just about the width of the overscan blocks. If i comment it out, the pink bar disappears. Any ideas?

No 8O. I didn't get that on my encode. It's not visible in the sample.

-kwag

Smoochie3 01-24-2003 11:25 AM

Weird. I can see it in TMPGEnc preview, and when i play the sample in WinDVD. There is no pink bar when i use Faerydust, it's only there when i use Spacedust.

kwag 01-24-2003 11:42 AM

Quote:

Originally Posted by Smoochie3
Weird. I can see it in TMPGEnc preview, and when i play the sample in WinDVD. There is no pink bar when i use Faerydust, it's only there when i use Spacedust.

Have you tried removing every filter, and only using spacedust :idea:
Just to see if it is an interaction with another filter :!:

-kwag

Smoochie3 01-24-2003 11:44 AM

No I haven't, I'll give that a try. Thanks.

Jellygoose 01-24-2003 11:49 AM

Quote:

Originally Posted by Smoochie3
Spacedust() cause a pink bar on the right side of the picture.

sounds funny... why don't you leave it? :dunce:

KingTuk 01-24-2003 12:11 PM

Smoochie3
why are you using Letterbox(0,0,16,16) ?

gonzopdx 01-24-2003 04:03 PM

Smoochie3

Let me know if you find a solution to the pink-bar problem -- I've got the same issue..

Smoochie3 01-24-2003 05:00 PM

Quote:

Originally Posted by KingTuk
Smoochie3
why are you using Letterbox(0,0,16,16) ?

Well, someone asked how to you could have the TV overscan on just the sides without cutting any of the picture from the top and bottom, and from what i understand, using Letterbox(0,0,16,16) after Gripcrop() will accomplish that.

Quote:

Originally Posted by gonzopdx
Let me know if you find a solution to the pink-bar problem -- I've got the same issue..

I'm not at home right now, but if i figure it out i'll let you...and you do the same! :D

KingTuk 01-24-2003 07:03 PM

Smoochie3

Have you tried to put letterbox after spacedust() in your script?

Smoochie3 01-24-2003 10:51 PM

OK, I commented all the filters with "#", and the pink bar disappears. Then I removed the "#" for Gripcrop(352,480), Gripsize(resizer="LanczoseResize"), and the pink bar comes back. I also tried taking out the "resizer=LanczoseResize", but the pink bar is still there. So, Spacedust() must not like Gripcrop()/Gripsize(). :cry:

so, with this script:
Code:

LoadPlugin("D:\avfilters\MPEG2DEC.dll")
#LoadPlugin("D:\avfilters\fluxsmooth.dll")
#LoadPlugin("D:\avfilters\blockbuster.dll")
LoadPlugin("D:\avfilters\legalclip.dll")
LoadPlugin("D:\avfilters\Convolution3D.dll")
LoadPlugin("D:\avfilters\DecombLegacy.dll")
LoadPlugin("D:\avfilters\DustV5.dll")
LoadPlugin("D:\avfilters\GripFit_preview.dll")
LoadPlugin("D:\avfilters\Sampler.dll")
#LoadPlugin("D:\avfilters\NoMoSmooth.dll")
Video1=mpeg2source("E:\L\disc1\LOTRDisc1.d2v")
Trim(Video1,0,189899)
Video2=mpeg2source("E:\L\disc2\LOTRDisc2.d2v")
Unalignedsplice(Video1,Video2)
Telecide()
Decimate()
#LegalClip()
#Gripcrop(352,480)
#Letterbox(0,0,16,16)
Spacedust()
#Convolution3d(preset="movieHQ")
#Gripsize(resizer="LanczosResize")
#Gripborders()
#LegalClip()
Sampler()

There is NO pink bar.

But with this script:
Code:

LoadPlugin("D:\avfilters\MPEG2DEC.dll")
#LoadPlugin("D:\avfilters\fluxsmooth.dll")
#LoadPlugin("D:\avfilters\blockbuster.dll")
LoadPlugin("D:\avfilters\legalclip.dll")
LoadPlugin("D:\avfilters\Convolution3D.dll")
LoadPlugin("D:\avfilters\DecombLegacy.dll")
LoadPlugin("D:\avfilters\DustV5.dll")
LoadPlugin("D:\avfilters\GripFit_preview.dll")
LoadPlugin("D:\avfilters\Sampler.dll")
#LoadPlugin("D:\avfilters\NoMoSmooth.dll")
Video1=mpeg2source("E:\L\disc1\LOTRDisc1.d2v")
Trim(Video1,0,189899)
Video2=mpeg2source("E:\L\disc2\LOTRDisc2.d2v")
Unalignedsplice(Video1,Video2)
Telecide()
Decimate()
#LegalClip()
Gripcrop(352,480)
#Letterbox(0,0,16,16)
Spacedust()
#Convolution3d(preset="movieHQ")
Gripsize(resizer="LanczosResize")
#Gripborders()
#LegalClip()
Sampler()

The Pink Bar Comes Back! :x

Any Ideas?

kwag 01-24-2003 10:55 PM

Hi Smoochie3,

Did you take out Letterbox(0,0,16,16) line :idea:

Smoochie3 01-24-2003 11:01 PM

Quote:

Originally Posted by kwag
Hi Smoochie3,

Did you take out Letterbox(0,0,16,16) line :idea:

Yes, i commented it in both scripts i tried. I just figured out that if i place the Gripsize(resizer="LanczosResize") immediately after the Letterbox(0,0,16,16) line, the pink bar disappears. Sooo...if i resize before applying the filters everything is ok. What would cause this?

recap:
This works:
Code:

LoadPlugin("D:\avfilters\MPEG2DEC.dll")
#LoadPlugin("D:\avfilters\fluxsmooth.dll")
#LoadPlugin("D:\avfilters\blockbuster.dll")
LoadPlugin("D:\avfilters\legalclip.dll")
LoadPlugin("D:\avfilters\Convolution3D.dll")
LoadPlugin("D:\avfilters\DecombLegacy.dll")
LoadPlugin("D:\avfilters\DustV5.dll")
LoadPlugin("D:\avfilters\GripFit_preview.dll")
LoadPlugin("D:\avfilters\Sampler.dll")
#LoadPlugin("D:\avfilters\NoMoSmooth.dll")
Video1=mpeg2source("E:\L\disc1\LOTRDisc1.d2v")
Trim(Video1,0,189899)
Video2=mpeg2source("E:\L\disc2\LOTRDisc2.d2v")
Unalignedsplice(Video1,Video2)
Telecide()
Decimate()
#LegalClip()
Gripcrop(352,480)
Letterbox(0,0,16,16)
Gripsize(resizer="LanczosResize")
Spacedust()
#Convolution3d(preset="movieHQ")
#Gripborders()
#LegalClip()
Sampler()

This doesn't:
Code:

LoadPlugin("D:\avfilters\MPEG2DEC.dll")
#LoadPlugin("D:\avfilters\fluxsmooth.dll")
#LoadPlugin("D:\avfilters\blockbuster.dll")
LoadPlugin("D:\avfilters\legalclip.dll")
LoadPlugin("D:\avfilters\Convolution3D.dll")
LoadPlugin("D:\avfilters\DecombLegacy.dll")
LoadPlugin("D:\avfilters\DustV5.dll")
LoadPlugin("D:\avfilters\GripFit_preview.dll")
LoadPlugin("D:\avfilters\Sampler.dll")
#LoadPlugin("D:\avfilters\NoMoSmooth.dll")
Video1=mpeg2source("E:\L\disc1\LOTRDisc1.d2v")
Trim(Video1,0,189899)
Video2=mpeg2source("E:\L\disc2\LOTRDisc2.d2v")
Unalignedsplice(Video1,Video2)
Telecide()
Decimate()
#LegalClip()
Gripcrop(352,480)
Letterbox(0,0,16,16)
Spacedust()
#Convolution3d(preset="movieHQ")
Gripsize(resizer="LanczosResize")
#Gripborders()
#LegalClip()
Sampler()


SansGrip 01-25-2003 08:39 AM

Try:

Code:

GripCrop(352, 480, crop_round_width=8)
SpaceDust()
GripSize()
GripBorders()
Letterbox(0, 0, 16, 16)

IIRC Dust needs the clip's width to be a multiple of 8, and by default GripCrop makes it a multiple of 4.

Use Letterbox last to add your overscan borders left and right and don't do any filtering afterwards or you'll likely lose the pure black.

Smoochie3 01-25-2003 11:14 AM

Thank You!

Jellygoose 01-25-2003 12:23 PM

Wow... 8O

I just finished my first full encode with DustV5... Amazing! I put Signs on one CD-R, with the KVCDx3 and it really is hard for me to distinguish it from the original DVD... That is sooooo awesome... :lol:
I'm gonna use faerydust on every encode from now on! I think it does a good job on encodes for DVD-Rs too... I'll try it!!

SansGrip 01-25-2003 02:21 PM

Quote:

Originally Posted by Jellygoose
I put Signs on one CD-R, with the KVCDx3 and it really is hard for me to distinguish it from the original DVD

Awesome isn't it? :mrgreen: What CQ did you use? I got mine up to 71.5.

muaddib 01-25-2003 05:09 PM

Hey!
Are you still using blockbuster?
Do we still need it if we use dust+c3d? :roll:

kwag 01-25-2003 06:48 PM

Quote:

Originally Posted by muaddib
Hey!
Are you still using blockbuster?
Do we still need it if we use dust+c3d? :roll:

I'm using it :D. Here's my script:

Code:

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\vobsub.dll")
LoadPlugin("C:\encoding\convolution3d.dll")
LoadPlugin("C:\encoding\dustv5.dll")
LoadPlugin("C:\encoding\decomb.dll")

Mpeg2Source("X:Whatever_I_Choose.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
#SpaceDust()
FaeryDust()
#Convolution3D(preset="movieLQ")
Blockbuster(method="noise", variance=.3, seed=1)
GripBorders()
LegalClip()
#Sampler(length=24)

And I toggle between SpaceDust and FaeryDust, depending on the material :)
I only use C3D IF necessary. I notice the "ghosting" effect on top of the picture when using it, and I really hate that :twisted:

-kwag

KingTuk 01-25-2003 09:59 PM

Kwag

have you tried temporal cleaner instead of C3D?

It runs faster and you just end up with a little larger file using the default settings vs. C3D w\movie LQ

http://forum.doom9.org/showthread.ph...0&pagenumber=3

kwag 01-25-2003 10:04 PM

Quote:

Originally Posted by KingTuk
Kwag

have you tried temporal cleaner instead of C3D?

It runs faster and you just end up with a little larger file using the default settings vs. C3D w\movie LQ

http://forum.doom9.org/showthread.ph...0&pagenumber=3

I'll give it a try :) Thanks!.

-kwag

KingTuk 01-25-2003 10:58 PM

I've been getting good samples with
spacedust()
TemporalCleaner()

and the samples are turning out smaller than using

faerydust()
Convolution3d(preset="movieLQ")

now need to do fast action movie and see how it looks on T.V.

kwag 01-25-2003 11:04 PM

Quote:

Originally Posted by KingTuk
I've been getting good samples with
spacedust()
TemporalCleaner()

and the samples are turning out smaller than using

faerydust()
Convolution3d(preset="movieLQ")

now need to do fast action movie and see how it looks on T.V.

Have you done a side by side quality comparison with Vdub capturing a frame from both encodes :?:

KingTuk 01-25-2003 11:11 PM

Quote:

Originally Posted by kwag
Have you done a side by side quality comparison with Vdub capturing a frame from both encodes :?:

not a side by side, just looking at it in zoom player and windvd and looking at it frame by frame to see how watchable it is...

GEDE 01-26-2003 08:26 AM

Hi, greetings from denmark! :)


anyone tried pixiedust()?


from dust readme:
"PixieDust is essentially FaeryDust (temporal) + SpaceDust (spatial) (with some twists). It is
probably the best to use for medium noise and those who shoot for
1-CD encodes. Recommended limit settings 3-8."


LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec .dll")
LoadPlugin("C:\enc\fluxsmooth.dll")
LoadPlugin("C:\enc\GripFit.dll")
LoadPlugin("C:\enc\blockbuster.dll")
LoadPlugin("C:\enc\legalclip.dll")
LoadPlugin("C:\enc\sampler.dll")
#LoadPlugin("C:\enc\vobsub.dll")
LoadPlugin("C:\enc\convolution3d.dll")
LoadPlugin("C:\enc\dustv5.dll")

eg.
Mpeg2Source("F:\1.d2v")
LegalClip()
GripCrop( width=480, height=576, overscan=2 )
GripSize()
pixiedust()
Blockbuster(method="noise", variance=.3, seed=1)
GripBorders()
LegalClip()


Zee ya

Jellygoose 01-26-2003 08:39 AM

How about using faerydust together together with TemporalSmoother ? what's the difference between cleaner and smoother?

KingTuk 01-26-2003 10:01 AM

Temporal Cleaner is a Temporal Smoother...

temporal cleaner is faster also...

From avisynth.org....

Temporal Smoothers:

These filters use color similarities and differences between frames to improve the picture and reduce compressed size. They can get rid of most noise in stationary areas without losing detail, but overly strong settings can cause moving areas to be blurred.

Try it and tell me your results with space dust and temporal cleaner, I'm at work right now and last night I couldn't get the mpg file to open in vdub to take a snapshot to do a side by side evaluation...

Kwag
Do I need to make a script to get vdub to open mpeg1? cuz I kept getting an error dump...

kwag 01-26-2003 10:25 AM

Quote:

Originally Posted by KingTuk

Kwag
Do I need to make a script to get vdub to open mpeg1? cuz I kept getting an error dump...

You should be able to open any MPEG-1 directly with Vdub.

-kwag

KingTuk 01-26-2003 12:54 PM

here are the results while I'm at work... :D

This is with faerydust only...

http://www.digitalfaq.com/archives/i.../2003/01/8.jpg


This is with spacedust and temporal cleaner


http://www.digitalfaq.com/archives/i.../2003/01/9.jpg

The cartoon length is 3min 35sec and a DivX file
KVCDX3 528x480
faerydust took 34.04min to encode and is 49.58 meg with 75CQ
spacedust with temporal cleaner took 17.31min to encode and is 46.12 meg with 75 CQ

Jellygoose 01-26-2003 02:11 PM

Alright I'll go for Spacedust and TemporalCleaner ! 8)
thanks buddy!

jorel 01-26-2003 07:17 PM

@ KingTuk,

can you post your avs script please? 8O
thanks in advance! :wink:

KingTuk 01-26-2003 08:29 PM

well for that divx I used this script...

LoadPlugin("D:\avs\plugin\dustv5.dll")
LoadPlugin("D:\avs\plugin\legalclip.dll")
LoadPlugin("D:\avs\plugin\TemporalCleaner.dll")
DirectShowSource("D:\movie.avi", fps=25)
EnsureVBRMP3Sync()
LegalClip()
BilinearResize(528,480)
spacedust()
TemporalCleaner()
LegalClip()

Some people have trouble with DirectShowSource
and need to use AviSource

jorel 01-26-2003 08:45 PM

Quote:

Originally Posted by KingTuk
well for that divx I used this script...

LoadPlugin("D:\avs\plugin\dustv5.dll")
LoadPlugin("D:\avs\plugin\legalclip.dll")
LoadPlugin("D:\avs\plugin\TemporalCleaner.dll")
DirectShowSource("D:\movie.avi", fps=25)
EnsureVBRMP3Sync()
LegalClip()
BilinearResize(528,480)
spacedust()
TemporalCleaner()
LegalClip()

Some people have trouble with DirectShowSource
and need to use AviSource

thanks vm. :)

jorel 01-26-2003 11:26 PM

from Steady (dust maker)

copy from his post:

"What's going on? Is this the proper technique for applying GoldDust() to separate fields in an interlaced video?

Well it should be but ... This is related to the 'only one instance per filter' issue. I am not sure why (something about how it interacts with avisynth). But for now if you have more than one (dust) filter in a script you get odd behavior.

For those asking about avisynth 2.5 version ... Of course there will be a avs2.5 version eventually. But Dust is constantly changing, and avisynth2.5 is constantly changing. And I just don't need another source of weird bugs to track down. In a month or 2 when things have stabilized a bit.

Please remember that this is an Alpha version not a Beta. I consider an alpha as something that you are not even sure what it does yet. Beta is more where you make it work stable and fast. If you you this, you may get odd results, crash your computer, or martians may come cut off your head and put it on backwards. Almost certainly you will regret using it on something permanent when the much improved Dust17 comes out down the road.

One other thing I keep forgetting to mention. The height and width should be a multiple of 8 or you may get strange artifacts."
:wink:


All times are GMT -5. The time now is 11:02 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.