Quantcast Sansgrip Filters: Apply Filters Before Resizing - digitalFAQ.com Forums [Archives]
  #1  
01-29-2003, 06:07 AM
hachemoncourt hachemoncourt is offline
Free Member
 
Join Date: Jan 2003
Location: France
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Hi, SansGrip

In a precedent post you point out that split GripFit into GripCrop and GripSize allow us to apply filters before resizing.
Is there some filters which are recommended to apply on the source (before resizing) when it's a DVD?
__________________
hacheMoncourt
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-29-2003, 09:11 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi hachemoncourt,

Here's what I'm currently using:

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

Mpeg2Source("InputFile.d2v")
LegalClip() 
GripCrop( width=528, height=480, overscan=2 ) 
GripSize() 
SpaceDust()
TemporalCleaner()
GripBorders() 
LegalClip() 
Sampler(length=24)
Note where I'm using SpaceDust() and TemporalCleaner(), between GripSize() and GripBorders(). This way, you apply filters after resizing, then you mask with black borders to clip everything around your active film pixel area.

-kwag
Reply With Quote
  #3  
01-29-2003, 02:43 PM
hachemoncourt hachemoncourt is offline
Free Member
 
Join Date: Jan 2003
Location: France
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx kwag,

I'll try this combinaison instead of Faery + Convolution3D
But my initial question is : do we have to filter before resizing a DVD source and what kind of filter do we have to apply in this case?
__________________
hacheMoncourt
Reply With Quote
  #4  
01-29-2003, 03:08 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by hachemoncourt
But my initial question is : do we have to filter before resizing a DVD source and what kind of filter do we have to apply in this case?
Use the filters AFTER the resize. Just like in the .avs above.

-kwag
Reply With Quote
  #5  
01-29-2003, 03:59 PM
hachemoncourt hachemoncourt is offline
Free Member
 
Join Date: Jan 2003
Location: France
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Ok kwag, that 's the way I do it
__________________
hacheMoncourt
Reply With Quote
  #6  
01-31-2003, 12:37 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag:

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

Mpeg2Source("InputFile.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()
Sampler(length=24)
So this is your latest avs file for KVCDx3 templates, right? Just wondering where FluxSmooth and Blockbuster have gone in your script. Do SpaceDust and TemporalCleaner do the same thing? I'm pretty new to this game and am frankly getting a bit lost by all these confusing yet similarly named plugins! Thanks
Reply With Quote
  #7  
01-31-2003, 11:26 PM
Gaudi Gaudi is offline
Free Member
 
Join Date: Dec 2002
Location: Buenos Aires, Argentina
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gaudi
BlockBuster is a filter to add noise, and so is SpaceDust.

FluxSmooth is a temporal and spatial smoother, same as TemporalCleaner.

Only that it looks thet the two used by kwag are working better (yields smaller file sizes).


Gaudi
Reply With Quote
  #8  
01-31-2003, 11:56 PM
Smoochie3 Smoochie3 is offline
Free Member
 
Join Date: Jun 2002
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Spacedust() actually REMOVES noise, Blockbuster ADDS noise.
Reply With Quote
  #9  
02-01-2003, 12:16 AM
J-Wo J-Wo is offline
Free Member
 
Join Date: Nov 2002
Location: Toronto, Canada
Posts: 454
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Spacedust() actually REMOVES noise, Blockbuster ADDS noise.
Okay, so if I understand this right SpaceDust removes noise (same as FaeryDust), and TemporalCleaner is a temporal and spacial smoother. But why do we not now have a line for Blockbuster which I thought was used to get true-black images from dark scenes, e.g. on a fade to black?

Quote:
BlockBuster is a filter to add noise, and so is SpaceDust.

FluxSmooth is a temporal and spatial smoother, same as TemporalCleaner.

Only that it looks thet the two used by kwag are working better (yields smaller file sizes).
I tried to an encode a DVDrip of a Babylon 5 episode, 45min long. But with FaeryDust and TemporalCleaner the encode was taking almost 6 hrs! The end result _was_ beautiful though. Better quality than the source itself, which had a lot of dust and noise on the film which the filter removed. I hear Sansgrip's filters are much faster but yield less compression. Is this true?
Reply With Quote
  #10  
02-01-2003, 12:27 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by J-Wo
But why do we not now have a line for Blockbuster which I thought was used to get true-black images from dark scenes, e.g. on a fade to black?
BlockBuster is very effective at 352x240(28 and 352x480(576). Above those resolutions, it's really not needed, because the blocks are much smaller. All it does is increase your file size.

Edit: I'll take some of that back. It really depends on the movie. I've seen some movies at 528x480 that Blockbuster does indeed help on dark scenes. So you should make a couple of test strips with and without Blockbuster and see how it compares. Specially on dark areas of a movie.

-kwag
Reply With Quote
  #11  
02-02-2003, 04:20 PM
rqtball rqtball is offline
Free Member
 
Join Date: Dec 2002
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I do everything at 352*480..which filters should I use?

I tried spacedust and temporalcleaner last night on a darker movie and it came out AWFUL! all the dark scenes looked really bad..there was noise everywhere..not as clear as I expected it should have been

I make everything SVCD...

I am still learning how to use all of these.....

dark movie(horror movie)
romance movie
action movie

what are the best filters for the above situations?

Thanks
Scott
Reply With Quote
  #12  
02-02-2003, 04:37 PM
KingTuk KingTuk is offline
Free Member
 
Join Date: Nov 2002
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
The filters and scripts talked about above are what you should use...

Typical Script:

LoadPlugin("C:\encoding\mpeg2dec.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\dustv5.dll")
LoadPlugin("C:\encoding\temporalcleanerold.dll")
Mpeg2Source("InputFile.d2v")
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()


And you are going to get the best results using KVCDX3 MPEG-1 Template no matter if your source is a DVD or a DivX...

If it still looks like crap and the movie is about 2 hours raise the CQ and split it onto 2 CD's
Reply With Quote
  #13  
02-05-2003, 11:44 AM
VaioVcd VaioVcd is offline
Free Member
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Ok everybody is going to think that i'm stupid, But
I'm not really sure what NOISE means on a movie, is it actual sound or the dust around abjects. Pleas tell me
Reply With Quote
  #14  
02-05-2003, 12:05 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by VaioVcd
Ok everybody is going to think that i'm stupid, But
I'm not really sure what NOISE means on a movie, is it actual sound or the dust around abjects. Pleas tell me
Turn on your TV and set it to a channel where there's no signal. That's extreme audio and video noise

-kwag
Reply With Quote
  #15  
02-05-2003, 12:18 PM
VaioVcd VaioVcd is offline
Free Member
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Ok but what kind of noise is every body talking about video or audio or both,
Reply With Quote
  #16  
02-05-2003, 12:34 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by VaioVcd
Ok but what kind of noise is every body talking about video or audio or both,
Video
Reply With Quote
  #17  
02-07-2003, 01:44 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
How do these filters increase video quality?

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

and to these filters slow the encode?

Thanks
Reply With Quote
  #18  
02-07-2003, 01:49 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Holomatrix,

Just like that, you'll get great quality by using the 2 blocks overscan, and your encode won't be slowed down. You're encoding a film area which won't be stretched past your TV edges, as it would if you didn't use overscan blocks. If you add filters like SpaceDust, FluxSmooth, C3D, Temporalcleaner, etc., you'll achieve even higher quality.

-kwag
Reply With Quote
  #19  
02-07-2003, 02:08 PM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
I have been using this script for CVD encoding,

[AVISYNTH_LanczosResize_FluxSmooth_Blockbuster]
0=LoadPlugin(!FluxSmooth.dll)
1=LoadPlugin(!Blockbuster.dll)
2=FluxSmooth(^H_Value,^V_Value)
3=Blockbuster(method="noise", variance=.3, seed=1)
!FluxSmooth.dll=C:\Program Files\DVD2SVCD\Fluxsmooth\Fluxsmooth.dll
!Blockbuster.dll=C:\Program Files\DVD2SVCD\Blockbuster\Blockbuster.dll
^H_Value=5
^V_Value=5

what order should I add them in then?
P.S. I'm not using C3D and Faerydust because I don't see much difference and when added, they kill the encoding time too much)
Reply With Quote
  #20  
02-07-2003, 02:20 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Change: 0=LoadPlugin(!FluxSmooth.dll) for: 0=LoadPlugin(!SpaceDust.dll) and give that a shot
It's much faster that FaeryDust, and you'll get superb quality. You might want to increase your variance in BlockBuster to .7

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SansGrip Filters: Small explanation needed about filters AgNa Avisynth Scripting 2 02-07-2003 12:25 PM
SansGrip Filters: How much time do filters add to encoding? telemike Avisynth Scripting 3 01-29-2003 01:21 AM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM
SansGrip Filters: Filters/settings for animation/anime akrein62 Avisynth Scripting 2 11-24-2002 01:39 AM
SansGrip Filters: Blockbuster + Nomosmooth filters syk2c11 Avisynth Scripting 2 11-18-2002 02:29 PM

Thread Tools



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