Quantcast Sansgrip Filters: a Way to use Bicubic Parameters with Gripfit - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
02-17-2004, 01:04 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

For those who want to use Bicubic precise with the 'automatic' resize of gripfit, there is a 'simple' way to do it:
Put gripcrop at the beginnig, with the desired resolution, and then, use the
GripFit_resize_width and GripFit_resize_height variables as size for the resizer, that is:

Code:
GripCrop(352, 576, overscan=2)
BicubicResize(GripFit_resize_width, GripFit_resize_height, 0, 0.6)
...
This way, you can play with resizer parameters, using the automatic resize.
You can use this 2 variables for whatever you want, but don't modify them, as the gripborders line uses them (if you use gripborders).

Salu2
Fabrice
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  
03-16-2004, 04:43 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
great fabrice!

i don't knew this post with this great solution!

no more looses in the left/right cutting scenes, working perfect

thanks for that!
Reply With Quote
  #3  
03-16-2004, 04:48 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jorel
no more looses in the left/right cutting scenes, working perfect

That is strange that this trick solved your cutting problems. That means that Gripsize do not use internally the variables defined by Gripcop and/or uses them badly.

In other words : that means that there is a bug in the filter !
Reply With Quote
  #4  
03-16-2004, 03:05 PM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

I saw in the gripfit source that it was using this variables (I wanted to add the bicubic precise). Having a quick look at the source, I don't see some 'big' problems.
Anyway, I think that it's better using direct filter rather than a filter who call other filters!

This problem is very strange, but if it has been solved this way!

Salu2
Fabrice
Reply With Quote
  #5  
05-13-2005, 04:23 AM
maurus maurus is offline
Free Member
 
Join Date: Oct 2003
Location: Madrid
Posts: 387
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by fabrice
Hi,

For those who want to use Bicubic precise with the 'automatic' resize of gripfit, there is a 'simple' way to do it:
Put gripcrop at the beginnig, with the desired resolution, and then, use the
GripFit_resize_width and GripFit_resize_height variables as size for the resizer, that is:

Code:

GripCrop(352, 576, overscan=2)
BicubicResize(GripFit_resize_width, GripFit_resize_height, 0, 0.6)
...

This way, you can play with resizer parameters, using the automatic resize.
You can use this 2 variables for whatever you want, but don't modify them, as the gripborders line uses them (if you use gripborders).

Salu2
Fabrice
Can you put a example?

GripCrop(704, 576, overscan=2, source_anamorphic=true)
BicubicResize(GripFit_resize_width, GripFit_resize_height, 0, 0.6)
GripBorders()


It's correct this?

Where are GripFit_resize_width and GripFit_resize_height initialized at 704, 576?

-Maurus
Reply With Quote
  #6  
05-13-2005, 05:52 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Maurus
It's correct this?
Yes it is.

Quote:
Where are GripFit_resize_width and GripFit_resize_height initialized at 704, 576?
Can't tell. It depends on the A/R of your source. All you can tell is that resize_width + width of the border added by gripcrop = 704. and the same for the height.

Note : I think you did not understand that this is Gripcrop that computes the values of GripFit_resize_width and GripFit_resize_height. You do not have to find them yourself !
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: Gripfit parameters and arbitrary cropping - how to? racerocks Avisynth Scripting 3 07-04-2003 09:19 PM
SansGrip Filters: About GripFit... muaddib Avisynth Scripting 6 02-25-2003 09:15 PM
SansGrip Filters: GripFit SansGrip Avisynth Scripting 98 02-14-2003 11:48 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:56 AM  —  vBulletin © Jelsoft Enterprises Ltd