digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   SansGrip Filters: A way to use bicubic parameters with gripfit (http://www.digitalfaq.com/archives/avisynth/8204-sansgrip-filters-bicubic.html)

fabrice 02-17-2004 01:04 AM

A way to use bicubic parameters with gripfit
 
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

jorel 03-16-2004 04:43 AM

great fabrice!
:D
i don't knew this post with this great solution!

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

thanks for that!
8) 8) 8)

Dialhot 03-16-2004 04:48 AM

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.

:arrow: In other words : that means that there is a bug in the filter !

fabrice 03-16-2004 03:05 PM

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! :roll:

Salu2
Fabrice

maurus 05-13-2005 04:23 AM

Re: A way to use bicubic parameters with gripfit
 
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

Dialhot 05-13-2005 05:52 AM

Re: A way to use bicubic parameters with gripfit
 
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 !


All times are GMT -5. The time now is 04:22 AM  —  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.