Quantcast Sansgrip Filters: Gripfit - Page 5 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #81  
01-24-2003, 09:24 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 heyitsme
Hey everbody it has been like a month since iwas on this website. Geez January was a nice month for this site all these new developments. Could anyon be nice enough to show me couple scripts showing this gripfit and the applications of the new and best combination of filters. Thanks

branden
Hi Branden,

Here's what I used last night to put "Star Wars" on one CD:

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 ##
The result are excelent, considering it's a 136 minute film, and I put it on one CD

-kwag
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
  #82  
01-24-2003, 09:31 AM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag, what was the picture like after using SpaceDust()?

What was the difference in encoding time vs FaeryDust()?

And lastly, the overscan (someday i hope to get my head around this), what is the resolution come down to of visible picture and does GripSize()/GripBorders() then fill in the black border to put the size back out to 528x480 so that TmpgEnc gets the correct size?

Cheers,
Reply With Quote
  #83  
01-24-2003, 10:58 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 rhino
Kwag, what was the picture like after using SpaceDust()?

What was the difference in encoding time vs FaeryDust()?
Hi rhino,

The speed increase from spacedust is greater than using faerydust. I would use spacedust if the source is fairly clean. Episode one seems pretty clean, so I used spacedust. The difference in size doing samples with both filters was only 100KB. So that's why I say that this source is pretty clean. Here's a sample: http://www.kvcd.net/phantom-test.mpg

Yes, I know, this movie should have been encoded in two CDs. But I wanted to see what it would look like on one CD. The result is not as good as some of the ~2 hour movies previously encoded, but considering the length of this film, I say it's amazing to get that on one CD

-kwag
Reply With Quote
  #84  
01-24-2003, 11:42 AM
Smoochie3 Smoochie3 is offline
Free Member
 
Join Date: Jun 2002
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
You don't need to use Letterbox with GripFit. It's just a hack I came up with in response to a question about overscan.
Oh, i understand that, i too was inerested in being able to apply the tv overscan to the sides only, and not the top and bottom. That's why i'm trying to figure out the correct order of the filters. At first i understood it to be:

Gripcrop()
Letterbox()
Filter()
Filter()
Filter()
Gripsize()

But now there is Gripborders(), and i don't know where that goes. Is it used WITH Letterbox(), or INSTEAD of Letterbox(), and where in the script should i put it?

Thanks For the Help!
Reply With Quote
  #85  
01-24-2003, 10:56 PM
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 Smoochie3
Gripcrop()
Letterbox()
Filter()
Filter()
Filter()
Gripsize()
I know it's a mater of taste if you want to put the filters after or before the resize, but I would do it this way:

Gripcrop()
Gripsize()
Filter()
Filter()
Filter()
Gripborders()
Letterbox()

Note that you have to set NO overscan in Gripfit to do it that way, so Gripsize will not resize to a smaller value and you will get a perfect full screen 4:3 display with the same frame height of the source to feed TMPGEnc. Well not exactly the same height, because if your source has already some left and right borders, Gripcrop will cut it out, and doing it the height could be altered to maintain the aspect ratio. If I understand, next version of gripfit will deal with all this letting you choose what overscan "method" you will use.

note: use 16 lines of letterbox to get the same border size of overscan=2.


Quote:
Originally Posted by Smoochie3
But now there is Gripborders(), and i don't know where that goes. Is it used WITH Letterbox(), or INSTEAD of Letterbox(), and where in the script should i put it?
You will just have to remove the letterbox.
Reply With Quote
  #86  
01-24-2003, 11:03 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Hay Kwag,

just wanted to say that I D/L'ed your sample clip "phantom-test.mpeg" and
played it through my TV-OUT card and it looked good ...FWIW

Unfortunately, I have the AD-1500 player, and as such, I can't really enjoy
those samples that you DO share w/ us -- even if they ARE just test samples.
But, my TV-OUT on my ati rage fury pro seems to do fine for quick and
rough judging.

Question, have you got Deuce Bigalow ??
It's a great movie (VERY funny) and it's quality is (IMO) spectacular when
played in WinDVD 3.0 (course my 13" tv too) but, I just couldn't get over
the quality on my PC for THAT particular movie.
Have you done any samples for that movie (left in your stockpile) ??
If so, I'd sure love to see how you got them cooking so far w/ your templates.

I'm knee too deep in a multitude of projects and things, so I can't do it at
this time (probably not for a while anyways) Just curious, thats all.

Well, have a good evening/night.
-vhelp
Reply With Quote
  #87  
01-24-2003, 11:07 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 vhelp
Hay Kwag,

just wanted to say that I D/L'ed your sample clip "phantom-test.mpeg" and
played it through my TV-OUT card and it looked good ...FWIW
Take a look at this one http://www.kvcd.net/forum/viewtopic.php?t=2533
Quote:

Question, have you got Deuce Bigalow ??
No, I don't have that one.

-kwag
Reply With Quote
  #88  
01-24-2003, 11:16 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

Tanx for your QUICK reply !! I love it. ..oh, and just what I was thinking,
your samples thread/page.

If I ever do any KVCD encodes, I'll post at my Samples site. Currently,
I still have my old divX clips there. But, sooner or later, I'll be replacing
them w/ others. Like I said, I'm knee deep in many projects and things.

..gotta love this hobby !!

Later.
-vhelp
Reply With Quote
  #89  
01-24-2003, 11:46 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

Just finished D/L'ng you other sample, "attack.mpeg" that too, came out
in good quality via my TV-OUT card.
Mind you, I didn't stretch it because its not the right proportions, ie,
512x384 would be about right for my 13" tv when doubled. Anyways.. it
was good, thanks again. The template to that DVD project was a nice
toutch too. Keep up the good work here, and keep your site continuously
interesting

Well, let me get back to my idea I was working on. It's good to step away
from your inendated projects sometimes
-vhelp
Reply With Quote
  #90  
01-25-2003, 12:13 AM
Smoochie3 Smoochie3 is offline
Free Member
 
Join Date: Jun 2002
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
@muaddib

Correct me if i'm wrong, but if i used the filters in this order:

Gripcrop()
Letterbox()
Filter()
Filter()
Filter()
Gripsize()

Then I will get the highest quality with slower encode times. Is this correct? This is what i have read.

Now the order you suggest:

Gripcrop()
Gripsize()
Filter()
Filter()
Filter()
Gripborders()
Letterbox()

Would give good quality (not as good as filtering before the resize) and faster encode times. Is this correct?
Reply With Quote
  #91  
01-25-2003, 06:13 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
As I understood it, all the resizing is done in GripCrop, so it really doesn't matter... You gotta put it before the GripCrop Line to apply filters before resizing... Right SansGrip?
__________________
j3llyG0053
Reply With Quote
  #92  
01-25-2003, 09:33 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 Jellygoose
As I understood it, all the resizing is done in GripCrop, so it really doesn't matter...
Nope, the resizing is done in GripSize. The calculations are all done in GripCrop .
Reply With Quote
  #93  
01-25-2003, 10:18 PM
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 Smoochie3
@muaddib

Correct me if i'm wrong, but if i used the filters in this order:

Gripcrop()
Letterbox()
Filter()
Filter()
Filter()
Gripsize()

Then I will get the highest quality with slower encode times. Is this correct? This is what i have read.

Now the order you suggest:

Gripcrop()
Gripsize()
Filter()
Filter()
Filter()
Gripborders()
Letterbox()

Would give good quality (not as good as filtering before the resize) and faster encode times. Is this correct?
That's a "never end" debate...
Some could say yes, some would say it depends.
If you ask me... I would say (as before) it's a matter of taste.
Try it and see if it's worthy the increasing encode time...
But if you want to put the filters before the resize, do it this way:

Gripcrop()
Filter()
Filter()
Filter()
Gripsize()
Gripboders()
Letterbox()

This way you will not apply the filters in the borders, keeping it pure black.
I like to use fullscreen arrange method in TMPG, that's why the gripborders is there. If you don't use gripboders, you'll have to use the center arrange method.
Reply With Quote
  #94  
01-25-2003, 10:23 PM
emilius256 emilius256 is offline
Free Member
 
Join Date: May 2002
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Hello,
Gripfit is great, now is possible to to resize without many calculation or using some external tool.
I've tried on an anamorphic movie and the resize was perfect but on a 4:3 movie the video was stretched vertical.
With overscan 1 the output resolution from gripfit is 336 X 272, with fitcd the output resolution is 336 X 256.
Maybe i made a mistake or gripfit does not proper resize calculation for PAL 4:3 movies.
This is my script:

LoadPlugin("F:\Video\DVD2SVCD\MPEG2Dec\mpeg2dec.dl l")
LoadPlugin("F:\Video\GORDIA~1\Filter\fluxsmooth.dl l")
LoadPlugin("F:\Video\DVD2SVCD\MPEG2Dec\Legalclip.d ll")
LoadPlugin("F:\Video\DVD2SVCD\MPEG2Dec\Sampler.dll ")
LoadPlugin("F:\Video\DVD2SVCD\MPEG2Dec\gripfit_pre view.dll")
LoadPlugin("F:\Video\DVD2SVCD\MPEG2Dec\dustv5.dll" )
mpeg2source("dvd2avi.D2V")
LegalClip()
GripCrop(source_anamorphic = false,352,288,overscan=1)
GripSize()
FaeryDUst()
FluxSMooth()
GripBorders()
LegalClip()
ConvertToRGB24()
Sampler(length=24)

the original resolution is 720 X 576.
Thanks for any answer.
@SansGrip great job, your filters are amazing.
Reply With Quote
  #95  
01-25-2003, 11:47 PM
Smoochie3 Smoochie3 is offline
Free Member
 
Join Date: Jun 2002
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
I don't know if it makes any difference, but you could try switching
Code:
GripCrop(source_anamorphic = false,352,288,overscan=1)
to
Code:
GripCrop(352, 288, source_anamorphic=false, overscan=1)
Reply With Quote
  #96  
01-26-2003, 08:50 AM
emilius256 emilius256 is offline
Free Member
 
Join Date: May 2002
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you for answer, already tried but nothing changed.

If i try with 2 pixel overscan the resize match with the one calculated by FItcd (320 X 256).
Reply With Quote
  #97  
01-26-2003, 09:16 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 emilius256
With overscan 1 the output resolution from gripfit is 336 X 272, with fitcd the output resolution is 336 X 256.
Thanks, I'll check into this.
Reply With Quote
  #98  
02-14-2003, 11:43 PM
Snollygoster Snollygoster is offline
Invalid Email / Banned / Spammer
 
Join Date: Feb 2003
Location: Granite City
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Snollygoster Send a message via MSN to Snollygoster Send a message via Yahoo to Snollygoster
Is there anyway that you can create an AviSynth 2.50 version? You would be my hero if you do so...

Thank you and congratulations about this.
Reply With Quote
  #99  
02-14-2003, 11:48 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 Snollygoster,

GripCrop is one of my main reasons I haven't changed to AviSynth 2.5
We'll have to wait until SansGrip finishes the program, as it's still considered a "Preview" version. But I'm really using it in production without a hitch

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SansGrip Filters: Which plug-in has GripFit()? sking1001 Avisynth Scripting 6 09-14-2004 10:02 AM
SansGrip Filters: How do I use Gripcrop/gripfit? telemike Avisynth Scripting 3 09-12-2003 03:44 AM
SansGrip Filters: About GripFit... muaddib Avisynth Scripting 6 02-25-2003 09:15 PM
SansGrip Filters: Using GripFit with 1.78:1 sources? Virtual7 Avisynth Scripting 3 02-15-2003 08:46 PM
SansGrip Filters: Trying to find the GripFIt, GripCrop and GripSize filters Bud Avisynth Scripting 4 01-19-2003 06:40 PM




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