digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Filter definitions?? (http://www.digitalfaq.com/archives/avisynth/2591-avisynth-filter-definitions.html)

dionysus 02-12-2003 08:41 PM

filter definitions??
 
okay thanks to kwag I finally learned out to use filters... although the movie is turning out pretty big due to my impatient ways and not testing the fitCD file it's going to be too big. none-the-less I was wondering if someone could give me the downlow on what filters do what or where i can find a description. So that I know what filters to use when I have those certain movies and don't have to come on here and wait for a reply. this will further my learning and lessen the dumb questions :wink: you have to filter through


thanx ppl.

kwag 02-12-2003 09:05 PM

Hi dionysus,

Here's my current script:

Code:

LoadPlugin("C:\encoding\mpeg2dec.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\dustv5.dll")
LoadPlugin("C:\encoding\temporalcleanerold.dll")

Mpeg2Source("K:\S1M0NE_WS\VIDEO_TS\simone.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
Blockbuster(method="noise", variance=.4, seed=1)
GripBorders()
LegalClip()
Sampler(length=24)

That's to be used with KVCDx3 ( 528x480 ), as you can see in the scrip't resolution. For Sansgrip's filters, you can find a document file attached to each of his filters. They are here: http://www.jungleweb.net/~sansgrip/avisynth/
For Dust and TemporalCleaner filters, you get those at the doom9.org forum.

-kwag

labomba 02-12-2003 09:26 PM

Hi Kwag

Could you tell me how would be the sintax with Gripcrop()/Gripsize()/Gripborders() to have the same aspect ratio that I can get with:

BilinearResize(528,480,96,0,528,480)
AddBorders(0,0,8,8)

I'm having some troublr to understand how to encode a widescreen source to see on a box TV, with the borders not so large. Should I use Letterbox() (after or before gripcrop/gripsize/gripborder) :?: Another thing: I'm using subs, so how could I get the sub inside the scene, but not so high.
thanks
LaBomba

Gaudi 02-12-2003 09:59 PM

@kwag

Quote:

Originally Posted by kwag
SpaceDust()
TemporalCleaner()
Blockbuster(method="noise", variance=.4, seed=1)

I thought that SpaceDust and BlockBuster did the same. Could you explain why the need for both of them?

Many thanks

kwag 02-12-2003 11:44 PM

Quote:

Originally Posted by labomba
Hi Kwag

Could you tell me how would be the sintax with Gripcrop()/Gripsize()/Gripborders() to have the same aspect ratio that I can get with:

BilinearResize(528,480,96,0,528,480)
AddBorders(0,0,8,8)

Code:

GripCrop( width=528, height=480, overscan=2 )
GripSize()
GripBorders()

:wink:

-kwag

kwag 02-12-2003 11:45 PM

Quote:

Originally Posted by Gaudi

I thought that SpaceDust and BlockBuster did the same. Could you explain why the need for both of them?

Many thanks

No they're not the same. SpaceDust is a noise remover. BlockBuster is a noise generator. :) But BlockBuster generates noise only on the specified frequency domain. The default values work only on low lit (dark) areas of the movie.

-kwag

labomba 02-13-2003 08:12 AM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by labomba
Hi Kwag

Could you tell me how would be the sintax with Gripcrop()/Gripsize()/Gripborders() to have the same aspect ratio that I can get with:

BilinearResize(528,480,96,0,528,480)
AddBorders(0,0,8,8)

Code:

GripCrop( width=528, height=480, overscan=2 )
GripSize()
GripBorders()

:wink:

-kwag

Sorry Kwag, but I have some questions: using these lines I have huge black borders on top and bottom, viewing with PowerDVD; it will be less noticed on TV, after burn it :?: Should I use letterbox() to make side borders? If yes, where to put letterbox() line :?:
:roll: thanks again :P
LaBomba

Jellygoose 02-13-2003 09:35 AM

If your source is widescreen, you might want to set overscan to 0, and add this line after GripSize() : Letterbox(0,0,16,16)
this will give you the exact same height of the source (if it's widescreen) and will cut out 16 pixel on each side which you will not see on your TV.

labomba 02-13-2003 11:02 AM

Oh, thanks Jellygoose.
And need use Letterbox(16,16,16,16) for full screen sources, right? Isn't necessary use source_anamorphic=false on gripcrop(), is it?
I tried to figure the lessons of other thread between you and muadibb, mainly for sources like 1:2.35 or 1:1.85.
LaBomba.

dionysus 02-13-2003 11:57 AM

@ kwag

I used your script for my movie and it really really helped for the "blockiness" around the characters but now for some reason when the characters are wearing like a black suit and black background it's trying to show too much or I don't exactly know how to explain it but it looks terrible.

so my question is, I want to test all those filters on a test movie and play them on my dvd player and I want to do it one by one ie.

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")

Mpeg2Source("K:\S1M0NE_WS\VIDEO_TS\simone.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
Blockbuster(method="noise", variance=.4, seed=1)
GripBorders()
LegalClip()
Sampler(length=24)

you know something like that and then go through the whole list just so I can get a feel for each filter and if I can see what combination would work best but when I do something like that it wont' load into tmpgenc?

does anyone have any suggestions???

kwag 02-13-2003 01:24 PM

Quote:

Originally Posted by dionysus
but now for some reason when the characters are wearing like a black suit and black background it's trying to show too much or I don't exactly know how to explain it but it looks terrible.

Remove the Blockbuster line and encode a small clip on that same scene. If it looks worse, then put Blockbuster back again and increase the variance to 1 and see if it looks better.

-kwag

dionysus 02-13-2003 03:15 PM

@ kwag I did that with four scenes,

1. w/o blockbuster
2. w/ blockbuster: variance 1
3. no filters
4. w/o dustV5

and i found that 1 was the best but it was really really hard to decide between the others and like I said the characters are good in 1. but then the background and dark spots are the shits and it didn't seem to do anything with in the other attempts. more specifically kwag, I am doing simone as I see you have too, and with your script your happy with your results?! maybe I'm just too picky and am noticing things that other ppl don't or won't.

anyways give me some suggestions if you have any left but i think I might just keep on trying to "trial and error" with those filters till I get what I want.

kwag 02-13-2003 06:47 PM

Hi dionysus,

I used SpaceDust() and TemporalCleaner() on my S1M0NE movie and the results are very good. :)

-kwag

muaddib 02-13-2003 07:19 PM

Quote:

Originally Posted by labomba
And need use Letterbox(16,16,16,16) for full screen sources, right?

Yep! You'll overlap a 16 pixel borders all around the frame.

Quote:

Isn't necessary use source_anamorphic=false on gripcrop(), is it?
Yes... if your source is 4:3 fullscreen you have to use source_anamorphic=false.

dionysus 02-13-2003 09:43 PM

@ kwag

you should have suggested that from the beginning... wow that's much much better, just watching the encode is way way better than the other ones, thanx brotha.

on another note, back to the forum topic :lol: how do you know when to use which... like that would ahve taken me a coon's age to figure that out with using my combinations technique. Like is there ones that you use for dark videos fast action, brighter videos fast action, dark video low action and so on? or what?

but again, thanx.

kwag 02-13-2003 09:49 PM

Quote:

Originally Posted by dionysus

on another note, back to the forum topic :lol: how do you know when to use which...

Use:
SpaceDust() if the source is fairly clean.
FaeryDust() for slightly noisier sources.
PixieDust() for heavier noisy sources ( ex: VHS captures, etc. )

-kwag


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

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