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

Reply
 
LinkBack Thread Tools
  #41  
01-15-2003, 12:47 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 Yoda
K19- worked.
Minority Report-green screen
Bad Company-green screen
Sopranos-green screen
I can add some to the "works" list: Death To Smoochy, Signs, Shawshank Redemption. Unfortunately those are the only ones I've tested on so far .

I don't have any of those discs you mentioned, so if updating your avisynth.dll doesn't help then I guess I'll be approaching it from a theoretical direction...
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
  #42  
01-15-2003, 01:57 PM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Success! The problem was with avisynth 2.06. Upgraded to 2.07 and gripfit now works. That may solve some of my other problems as well. Thanks Sansgrip!
__________________
May the code force be with you
Reply With Quote
  #43  
01-15-2003, 02:11 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 Yoda
The problem was with avisynth 2.06.
Cool! One fewer thing to worry about .
Reply With Quote
  #44  
01-15-2003, 04:23 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
Here's preview 0.0c with another new feature (I really should make a release already ). Instead of:

Code:
AviSource("funny.avi")
GripFit(528, 480)
FluxSmooth()
GripBorders()
LegalClip()
one would now use:

Code:
AviSource("funny.avi")
GripCrop(528, 480)
# Filters can go here
GripSize() # Optional
FluxSmooth()
GripBorders() # Optional
LegalClip()
As you can see, I split "GripFit" into "GropCrop" and "GripSize". Surprisingly, GripCrop now just crops existing borders (ala RemoveBorders), and GripSize does the resizing. GripBorders adds borders, as usual.

I did this so that it's possible to insert filters between the crop (so that they run faster) and the resize (so that they can operate on the full-size image). Many people do this as a matter of routine, since it makes smoothers less aggressive than running them after the resize.

I can think of a bunch of other stuff I want to add (such as auto-detection of anamorphic source material) but that'll have to wait until after I've written the docs and got 0.1 out of the door.

Let me know if you have problems .
Reply With Quote
  #45  
01-15-2003, 11:23 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 SansGrip
As you can see, I split "GripFit" into "GropCrop" and "GripSize". Surprisingly, GripCrop now just crops existing borders (ala RemoveBorders), and GripSize does the resizing. GripBorders adds borders, as usual.
That's GREAT SansGrip!
But I’m just wondering… as a cosmetic issue and to make it a bit clearer
isn’t it good to have the resize values in the GripSize function?
Reply With Quote
  #46  
01-16-2003, 09:18 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 muaddib
But I’m just wondering… as a cosmetic issue and to make it a bit clearer isn’t it good to have the resize values in the GripSize function?
It would be clearer, I agree. Unfortunately all the work is done in GripCrop, and GripSize simply takes the values stored by GripCrop to use when resizing. You see, if GripCrop doesn't know what the target size is, it can't work out how much to crop the clip to maintain aspect ratio.

The only other option would be to specify the target size in both GripCrop and GripSize, but I think that would be even worse than the current way .
Reply With Quote
  #47  
01-17-2003, 10:24 AM
mfb mfb is offline
Free Member
 
Join Date: Oct 2002
Location: Austria
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Hi SansGrip,

Is it possible for GripFit to cut a little more on left/right side of the frames
to gain more height for movies in 1:2,35 or 1:2,40 format?

I don't like the small picture-bar of such movies, but i love GripFit....

regards, ***mfb***
Reply With Quote
  #48  
01-17-2003, 10:41 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 mfb
Is it possible for GripFit to cut a little more on left/right side of the frames to gain more height for movies in 1:2,35 or 1:2,40 format?
At the moment it's not possible to alter the crop behaviour, but you can force it to cut more from the sides by doing this:

Code:
Mpeg2Source("foo.d2v")
Letterbox(0, 0, 16, 16)
GripCrop(...)
The Letterbox line will make 16-pixel black borders left and right before GripCrop sees the clip. GripCrop will then crop these black borders off, effectively doing what you want. You can of course use any value you like -- 16 is just an example.
Reply With Quote
  #49  
01-17-2003, 10:51 AM
mfb mfb is offline
Free Member
 
Join Date: Oct 2002
Location: Austria
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
The Letterbox line will make 16-pixel black borders left and right before GripCrop sees the clip. GripCrop will then crop these black borders off, effectively doing what you want. You can of course use any value you like -- 16 is just an example.
Thanks - I'll give it a try and I'am hoping that you will include such a
function in further version of your great GripFit.

regards, ***mfb***
Reply With Quote
  #50  
01-17-2003, 11:30 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
That's what I was going to ask...

Is it possible to reduce the width of the clip without reducing the height too? because Blcoks-Overscan is a good thing, but it just sucks that the height is reduced too... That makes Lord Of The Rings For example almost unwatchable at TV Overscan 2... it's just too small of a picture... in fact the top and bottom borders are bigger than the actual movie...
__________________
j3llyG0053
Reply With Quote
  #51  
01-17-2003, 11:51 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
That makes Lord Of The Rings For example almost unwatchable at TV Overscan 2
Code:
GripCrop(528, 480) # default is 0 overscan blocks
Letterbox(0, 0, 16, 16)
This will give you two overscan blocks left and right, but none top and bottom.
Reply With Quote
  #52  
01-17-2003, 12:03 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
Code:
GripCrop(528, 480) # default is 0 overscan blocks
Letterbox(0, 0, 16, 16)
This will give you two overscan blocks left and right, but none top and bottom.
Wouldn't this change a little the original aspect of the movie? I know it's a little, but it won't be the original. Or am I wrong

-kwag
Reply With Quote
  #53  
01-17-2003, 12:18 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 kwag
Wouldn't this change a little the original aspect of the movie? I know it's a little, but it won't be the original. Or am I wrong
No, because the pixel aspect ratio remains the same. All it's doing is blacking out the left and right edges. It should still display correctly on the standalone.

At least I think that's the case. I'll ponder it while I walk my daughter to school .

Edit: It'll change the display aspect ratio of the active portion of the frame, but not the pixel aspect ratio, so it'll still display correctly on the standalone (and in WinDVD etc.)
Reply With Quote
  #54  
01-17-2003, 01: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
@Jellygoose

Could you give me some figures from your LOTR encode? It will help me decide how to implement what you ask for. I need to know:

- All the GripXxx lines from your script
- The size of the original, unaltered frame
- The size of the existing borders as worked out manually by you
- The size of the frame after GripCrop
- The size of the frame after GripSize

That should give me something to work with .
Reply With Quote
  #55  
01-18-2003, 02:04 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

Is 0.0c the latest version? Are there docs?

Thanks
Reply With Quote
  #56  
01-18-2003, 03:25 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 rendalunit
Is 0.0c the latest version?
Yep.

Quote:
Are there docs?
Not yet -- I'm still bug-fixing and adding the features I want in the first release, 0.1. Once the feature-set has stabilized I'll finish the docs and make a release .
Reply With Quote
  #57  
01-18-2003, 03:34 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
Just to clarify what I was saying, releasing 0.1 is pretty high on my to-do list. At the moment I'm still testing to make sure that it's matching the result from FitCD pretty closely (working backwards from the rounded resize to the cropping-to-maintain-aspect-ratio part is proving trickier than I first thought). I also need to add a way to override its border-detection for difficult movies (e.g. those with subtitles in the border), and try to figure out how to do overscan borders on one plane only (i.e. left and right or top and bottom but not both) while maintaining aspect ratio, or if this is even necessary given the latest fixes I've done.

Also somewhere near the top of my to-do list is recompiling my Avisynth 2.5 filters for the latest build, and finishing drywalling the dining room (my wife wants me to nudge that last one a little higher on my list) .
Reply With Quote
  #58  
01-18-2003, 03:59 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
finishing drywalling the dining room (my wife wants me to nudge that last one a little higher on my list)
ooh fun! I just finished drywalling a giant doghouse I built
Reply With Quote
  #59  
01-18-2003, 04:40 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 rendalunit
I just finished drywalling a giant doghouse I built
Did you insulate?

This is the first time I've done drywalling, and it's going quite well I think... I'm mudding at the moment and getting more on myself than on the wall, but it's slowly taking shape .
Reply With Quote
  #60  
01-18-2003, 04:54 PM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by SansGrip
Did you insulate?
yep, insulated with R-11 and wired it too The biggest mistake I used to make when taping is that I'd tape over large gaps (>1/4") and large bubbles would form behind the tape- solve that by filling the gaps with mud- let it dry, then tape!
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 06:42 AM  —  vBulletin © Jelsoft Enterprises Ltd