Quantcast Sansgrip Filters: When to use Which Filter? - digitalFAQ.com Forums [Archives]
  #1  
12-27-2002, 12:56 AM
narc60 narc60 is offline
Free Member
 
Join Date: May 2002
Location: ---
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Sansgrip and Kwag

I have done a couple of DVD and Digital8 conversions to CD-R and have been satisfied with the results. I have been using only the KVCD templates to do this. I have downloaded Sansgrip's filters but have no idea where to use which and in which order to apply them. Is there any guie somewhere to help me out on this? Maybe someone can put out a guide for all us 'confused' newbies. Thanks and keep up the good works guys.
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  
12-27-2002, 01:04 AM
m0rdant m0rdant is offline
Free Member
 
Join Date: May 2002
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Download the filters and put them all in the same directory (I use the mpeg2dec directory because I have fitCD set to point to it already).

Then load you d2v into fitCD. FitCD gives you your basic script that you can then edit by adding the lines for the filters you want to use. I've pasted a script I'm using right now as an example.

Next use the generated avs file as your video source in TMPGenc.

Hope it helps.


LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\MPEG2DEC.dll")
LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\decomb.dll")
LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\Fluxsmooth.dll")
LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\Blockbuster.dll")
LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\legalclip.dll")
LoadPlugin("C:\Program Files\VCD Tools\AviSynth2\MPEG2DEC\sampler.dll")
mpeg2source("C:\Rip\*.d2v")
Bob()
BilinearResize(672,448,0,0,720,480)
LegalClip()
Fluxsmooth()
#BlockBuster(method="noise", variance=1, seed=1 )
LegalClip()
AddBorders(16,16,16,16)
sampler()
Reply With Quote
  #3  
12-27-2002, 01:05 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 narc60,

Your best answer right now is to browse this forum. "SansGrip's filters". I know it's a lot to read, but every answer is in here. Here's a basic script that you can use as a template. Just change the source, resize, and Addborders lines for your movie. Use FitCD for that:

LoadPlugin("C:\encoding\MPEG2DEC.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")
mpeg2source("K:\K19\VIDEO_TS\k19.d2v")
LegalClip()
BilinearResize(672,336,0,0,720,480)
FluxSmooth()
Blockbuster( method="noise", detail_min=1, detail_max=10, variance=.5, seed=1 )
AddBorders(16,72,16,72)
LegalClip()
#sampler()


-kwag
Reply With Quote
  #4  
12-27-2002, 01:06 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
Cross post
Reply With Quote
  #5  
12-27-2002, 01:07 AM
m0rdant m0rdant is offline
Free Member
 
Join Date: May 2002
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Nice one!
Reply With Quote
  #6  
12-28-2002, 07:26 PM
LadyMiles LadyMiles is offline
Free Member
 
Join Date: Sep 2002
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
I see you have dropped sharpen. Why ?
Reply With Quote
  #7  
12-28-2002, 07:33 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 LadyMiles
I see you have dropped sharpen. Why ?
Makes artifacts more visible. And at higher resolutions, it's not really needed. I guess it all depends if your resolution and if your material is not too sharp. Then you could apply some sharpen filtering .

-kwag
Reply With Quote
  #8  
01-06-2003, 11:27 AM
Holomatrix Holomatrix is offline
Free Member
 
Join Date: Aug 2002
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
why do you put the add noise at the end?
Reply With Quote
  #9  
01-06-2003, 01:11 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 Holomatrix
why do you put the add noise at the end?
It goes after the Fluxsmooth. Fluxsmooth cleans your source and Blockbuster "noise" sends noise on the very low luma levels (almost black). That is what kills visible DCT blocks.

-kwag
Reply With Quote
  #10  
01-06-2003, 08:46 PM
syk2c11 syk2c11 is offline
Free Member
 
Join Date: Jun 2002
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there,
I respectively tried "dither"=0.4 and 0.7 (with Notch Beta-1 matrix, 704x480 in CQmode, Flux+LegalClip), both worked well, Gibbs effect have been substantially reduced.

Having mentioned by kwag that "Blockbuster 'noise' sends noise on the very low luma levels (almost black). That is what kills visible DCT blocks." I agree the scene with complete black is awesome. However, I found that wall with colour other than black and actor's face have "flashing" (flashing very slowly) tiny blocks, whenever there is a still surface (e.g. a person sitting on a sofa talking, the sofa area right next to that person have "flashing tiny blocks). Any idea please!
Reply With Quote
  #11  
01-06-2003, 09:16 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by syk2c11
However, I found that wall with colour other than black and actor's face have "flashing" (flashing very slowly) tiny blocks
If you're seeing the same thing I'm seeing, they're flashing once per second. This is because the GOP length is 24. It's a problem I've noticed with CQ mode rather than Blockbuster itself.

At least, I think it is .
Reply With Quote
  #12  
01-06-2003, 09:28 PM
syk2c11 syk2c11 is offline
Free Member
 
Join Date: Jun 2002
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Hi SansGrip,
So, is it a trade off then if we want to use CQ mode instead of CQ_VBR? Will Gibbs effect come back if I switch back to CQ_VBR (in 704x480 with Notch Beta-1 matrix, just Flux+LegalClip)?
Reply With Quote
  #13  
01-06-2003, 09:30 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by syk2c11
So, is it a trade off then if we want to use CQ mode instead of CQ_VBR?
I think so. CQ mode is slightly blockier with less Gibbs, CQ_VBR mode is less blocky with more Gibbs. That's the nature of MPEG .

Quote:
Will Gibbs effect come back if I switch back to CQ_VBR (in 704x480 with Notch Beta-1 matrix, just Flux+LegalClip)?
The only way to know for sure is to try it .
Reply With Quote
  #14  
01-06-2003, 10:21 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 SansGrip
If you're seeing the same thing I'm seeing, they're flashing once per second. This is because the GOP length is 24. It's a problem I've noticed with CQ mode rather than Blockbuster itself.

At least, I think it is .
Yes, I've seen it too, but only in the computer. It doesn't show on my TV with standalone DVD players. It's when a new I frame is inserted in the GOP. And because the GOP is exactly 24 frames, that's why it shows every second. It's only seen on static parts. On regular motion, you can't see it.

-kwag
Reply With Quote
  #15  
01-06-2003, 10:32 PM
syk2c11 syk2c11 is offline
Free Member
 
Join Date: Jun 2002
Posts: 290
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag,
Yes it is only on the static part. I DO see it on my TV (Sony 29" flat Trinitron), I did NOT check the box of "detect scene change" in Tmpeg.
Reply With Quote
  #16  
01-07-2003, 07:43 AM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by syk2c11
I DO see it on my TV (Sony 29" flat Trinitron)
I see it on my Samsung 32".
Reply With Quote
  #17  
01-07-2003, 08:00 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@All,

SansGrip wrote:
Quote:
I think so. CQ mode is slightly blockier with less Gibbs, CQ_VBR mode is less blocky with more Gibbs. That's the nature of MPEG .
At a higher settings for CQ_VBR, Gibbs is about equal to CQ and less
noticable in both.

-black prince
Reply With Quote
  #18  
01-08-2003, 12:20 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by syk2c11
Hi Kwag,
Yes it is only on the static part. I DO see it on my TV (Sony 29" flat Trinitron), I did NOT check the box of "detect scene change" in Tmpeg.
I have the same feelings as you... I see it in static parts also on TV.
Reply With Quote
  #19  
01-08-2003, 12:23 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
Is this with the BETA-1 notch matrix, or with the original KVCD matrix
Reply With Quote
  #20  
01-08-2003, 12:29 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Is this with the BETA-1 notch matrix, or with the original KVCD matrix
I haven’t tried the new matrix yet.
My experience is with the original KVCD matrix.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SansGrip Filters: SansGrip Is Back Thread! Jellygoose Avisynth Scripting 8 02-28-2003 04:57 AM
SansGrip Filters: Small explanation needed about filters AgNa Avisynth Scripting 2 02-07-2003 12:25 PM
SansGrip Filters: New filter in the works... SansGrip Avisynth Scripting 4 01-24-2003 08:59 PM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM
SansGrip Filters: Improve picture quality using "AddNoise" Filter black prince Avisynth Scripting 136 01-01-2003 08:41 PM

Thread Tools



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