Quantcast Sansgrip Filters: Gripfit - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
01-11-2003, 11:30 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
@SansGrip,

I tested GripFit for 352x340, KVCD-LBR,CQ_VBR with no problems:
Here's my script:

mpeg2source("D:\Temp\movie.d2v")
LegalClip()
GripFit( width=352, height=240, overscan=1)
opening=Trim(0,3093)
opening=opening.TemporalSoften(3,8,30)
movie=Trim(3094,145515)
movie=movie.Blockbuster(method="noise", variance=.5, seed=1).FluxSmooth()
credits=Trim(145516,0)
credits=credits.Greyscale().TemporalSoften(3,8,30)
last=opening+movie+credits
LegalClip()
#Sampler(length=24)


Tmpgenc, of course is handling borders. It will take time
to find all the problems, since you took great care to handle the
most common situations pretty well. This is a useful filter for the
automated encoder "acp". Anamorphic and non-anamorphic are
the only problems that need to be determined by FitCD and I'm
sure you'll find a way to detect this from the .d2v file. Nice work

-black prince
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
  #22  
01-12-2003, 08:54 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 black prince
Anamorphic and non-anamorphic are
the only problems that need to be determined by FitCD
You don't need FitCD for that. Just run GripFit with something like

GripFit(528, 480, overscan=1)

and, if the output looks vertically stretched in TMPGEnc, use

GripFit(528, 480, overscan=1, source_anamorphic=false)



Quote:
I'm sure you'll find a way to detect this from the .d2v file. Nice work
I did think of something, but it would require a modification to mpeg2dec...
Reply With Quote
  #23  
01-14-2003, 10:28 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
Ok, here's a new preview version with some bug fixes and a new feature:

Code:
Mpeg2Source("foo.d2v")
GripFit(528, 480, overscan=1)
FluxSmooth()
GripBorders()
LegalClip()
You get the idea. GripBorders() will add black around the frame to fill it out to whatever size you specified to GripFit. In other words, if GripFit produced a frame that was 512x352, GripBorders() would be equivalent to:

Code:
AddBorders(8, 64, 8, 64)
This isn't necessary if you're using the "center" arrange method in TMPGEnc, but makes the package complete and will be helpful to someone using, say, CCE.

I think I'm going to concentrate on docs now, though I might take a look at the mpeg2dec source code and see how hard it would be to add anamorphic source detection...
Reply With Quote
  #24  
01-14-2003, 10:44 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

This isn't necessary if you're using the "center" arrange method in TMPGEnc, but makes the package complete and will be helpful to someone using, say, CCE.
Not only that, but it forces the correct output resolution when you now load the .avs, so you don't have to go back and change the output resolution
That's great SansGrip

Thanks,
-kwag
Reply With Quote
  #25  
01-14-2003, 10:55 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
Not only that, but it forces the correct output resolution when you now load the .avs, so you don't have to go back and change the output resolution
Hey, I didn't think of that! Bonus .
Reply With Quote
  #26  
01-14-2003, 11:46 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
Quote:
Originally Posted by kwag
Not only that, but it forces the correct output resolution when you now load the .avs, so you don't have to go back and change the output resolution
Hey, I didn't think of that! Bonus .
Yeah! In my opinion it's a great bonus!
Now I can start using it with a BIGGER smile! :yippie:
Reply With Quote
  #27  
01-15-2003, 12:00 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
Perhaps coming soon to a filter near you:

Code:
Mpeg2Source("nifty.d2v")
GripCrop(528, 480, overscan=1)
# Filters run on original-size-but-with-existing-borders-removed clip here
GripSize()
# Filters run on new-size-with-no-added-borders clip here
GripBorders()
# Filters run on new-size-with-added-borders clip here
That should offer enough flexibility for everyone...
Reply With Quote
  #28  
01-15-2003, 12:07 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 SansGrip
Perhaps coming soon to a filter near you:

Code:
Mpeg2Source("nifty.d2v")
GripCrop(528, 480, overscan=1)
# Filters run on original-size-but-with-existing-borders-removed clip here
GripSize()
# Filters run on new-size-with-no-added-borders clip here
GripBorders()
# Filters run on new-size-with-added-borders clip here
That should offer enough flexibility for everyone...
This is getting better and better...
Reply With Quote
  #29  
01-15-2003, 12:19 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 muaddib

This is getting better and better...
By the hour
Reply With Quote
  #30  
01-15-2003, 09:28 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Sansgrip,
Got an error from avisynth. "caught an access violation at 0x77fcbdef attempting to read from 0xffffff23".
Here's my avs script.
LoadPlugin("D:\Downloads\FitCD\MPEG2DEC.dll")
LoadPlugin("D:\Downloads\gripfit\GripFit_preview.d ll")
LoadPlugin("d:\downloads\sampler\sampler.dll")
LoadPlugin("D:\Downloads\fluxsmooth\fluxsmooth.dll ")
LoadPlugin("D:\Downloads\blockbuster\blockbuster.d ll")
LoadPlugin("D:\Downloads\legalclip\legalclip.dll")
mpeg2source("c:\minority_report\video_ts\minority. d2v")
LegalClip()
gripfit(720, 480,overscan=1)
Blockbuster( method="dither", detail_min=1, detail_max=10, variance=.4 )
gripborders()
LegalClip()
sampler()

Any ideas?

-Yoda

Edit:I just tried 528x480 and now I get a green display in my Tmpgenc. Pushed start just to see and it only encoded the green display.
__________________
May the code force be with you
Reply With Quote
  #31  
01-15-2003, 09:44 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 Yoda
Got an error from avisynth. "caught an access violation at 0x77fcbdef attempting to read from 0xffffff23".
Does it work if you comment out GripFit? Does it still crash with:

GripFit(720, 480, overscan=1, dest_anamorphic=false)

?

Are you using the latest preview version (0.0b)?
Reply With Quote
  #32  
01-15-2003, 09:53 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Sansgrip,
It's definitely gripfit. I commented out and left gripborders() and got an invalid params error. I commented out gripborders and it works fine. At any thing below 720x480 it get a green screen and no other display.

-Yoda
__________________
May the code force be with you
Reply With Quote
  #33  
01-15-2003, 09:58 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 Yoda
I commented out gripborders and it works fine.
Ah, both 720x480 and 528x480 work fine with GripBorders commented out?
Reply With Quote
  #34  
01-15-2003, 10:05 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
No. I'm getting a green display on all settings now. The first time I used Gripfit avisynth gave me that error from previous. Now all I get is a green display. Could the problem be avisynth?


-Yoda
Edit:I'm using avisynth from 10/29/2002
__________________
May the code force be with you
Reply With Quote
  #35  
01-15-2003, 10:15 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 Yoda
No. I'm getting a green display on all settings now.
With and without GripBorders?

Could you load the d2v directly into TMPGEnc and use its clipping dialog to figure out the size of the existing black borders? I can't duplicate this problem with my d2v sources.
Reply With Quote
  #36  
01-15-2003, 10:21 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
With and without GripBorders?

Could you load the d2v directly into TMPGEnc and use its clipping dialog to figure out the size of the existing black borders? I can't duplicate this problem with my d2v sources.
_________________
Regards,
SansGrip
I have gripborders commented out. The borders are top=84, bottom=86, left and right are 8. Are you using avisynth from 10/29/2002?

-Yoda
__________________
May the code force be with you
Reply With Quote
  #37  
01-15-2003, 10:26 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry. top=58 bottom=65, left and right=0. I used the avs on my previous post.

-Yoda
__________________
May the code force be with you
Reply With Quote
  #38  
01-15-2003, 10:36 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
@Sansgrip
I tried your gripfilter on another source and it works fine. Why is it not working on Minority Report?

Tell me something to look for with the differences between the two sources.

-Yoda
__________________
May the code force be with you
Reply With Quote
  #39  
01-15-2003, 11:16 AM
Yoda Yoda is offline
Free Member
 
Join Date: Apr 2002
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
@Sansgrip
Okay, I tried gripfit with several sources.
K19- worked.
Minority Report-green screen
Bad Company-green screen
Sopranos-green screen

-Yoda
__________________
May the code force be with you
Reply With Quote
  #40  
01-15-2003, 12:44 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
Are you using avisynth from 10/29/2002?
I believe that's 2.06. I'm using 2.07. You never know, that might be the cause...
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

Thread Tools



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