digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   SansGrip Filters: Using GripFit with 1.78:1 sources? (http://www.digitalfaq.com/archives/avisynth/2626-sansgrip-filters-gripfit.html)

Virtual7 02-15-2003 12:33 PM

Using GripFit with 1.78:1 sources?
 
Hello,

I've just encoded The Matrix (anamorphic 2.35:1) using KVCDx3 template and the following script:

LoadPlugin("D:\kvcd\Programs\Video\mpeg2dec.dll")
LoadPlugin("D:\kvcd\Programs\Video\GripFit_preview .dll")
LoadPlugin("D:\kvcd\Programs\Video\legalclip.dll")
LoadPlugin("D:\kvcd\Programs\Video\sampler.dll")
LoadPlugin("D:\kvcd\Programs\Video\dustv5.dll")
LoadPlugin("D:\kvcd\Programs\Video\temporalcleaner old.dll")
Mpeg2Source("D:\kvcd\Movies\Matrix\Rip\Matrix.d2v" )
LegalClip()
GripCrop( width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()
# Sampler(length=24)

The movie fits on 1 CD and the video quality is great! Now I'm trying to encode Band of Brothers which is anamorphic 1.78:1. I took the same script with the additionnal line (because DVD2AVI tells FILM ~85%):

FieldDeinterlace()

The result is a vertically stretched image in TMPG. So I changed the line:

GripCrop( width=528, height=480, overscan=2 )
for
GripCrop(source_anamorphic=false, width=528, height=480, overscan=2 )

Now the image is OK in TMPG but appears FULL SCREEN on TV (and not 1.78:1!). I really want to preserve the aspect ratio.

What is the solution? Is GripFit only working on anamorphic 2.35:1 sources (and not 1.78:1)?

Thanks a lot,

Virtual7

kwag 02-15-2003 03:44 PM

Hi Virtual7,

Try setting GripCrop(source_anamorphic=true, dest_anamorphic=false, width=528, height=480, overscan=2 ) and set TMPEG's input source aspect to either "Center" or "Full screen".

Edit: Why are you using FieldDeinterlace() :?:. If your source is FILM, you encode 23.976 and there's no need to deinterlace.

-kwag

Virtual7 02-15-2003 07:07 PM

Thanks Kwag,

the new GripCrop settings have solved the problem! I guess the default values only work for 2.35:1 sources.

As for FieldDeinterlace() parameter, I used the following trick from DVD2AVI forum:

"...use force film if the movie is >=95% FILM (preview with F5 and look at video type in the stat window). If less than 95% FILM but still mostly FILM, turn off Force Film and use decomb filter in your Avisynth script."

My movie is showing FILM at around 85% in DVD2AVI so I didn't check Force Film and then used FieldDeinterlace() in AVS script. Sounds good?

Virtual7

kwag 02-15-2003 08:46 PM

Quote:

Originally Posted by Virtual7

My movie is showing FILM at around 85% in DVD2AVI so I didn't check Force Film and then used FieldDeinterlace() in AVS script. Sounds good?

Virtual7

If that's the case, deselect "Force FILM" and use:

Telecide()
Decimate()


in your .avs script right after your source line: Like this:

Code:

LoadPlugin("D:\kvcd\Programs\Video\mpeg2dec.dll")
LoadPlugin("D:\kvcd\Programs\Video\GripFit_preview.dll")
LoadPlugin("D:\kvcd\Programs\Video\legalclip.dll")
LoadPlugin("D:\kvcd\Programs\Video\sampler.dll")
LoadPlugin("D:\kvcd\Programs\Video\dustv5.dll")
LoadPlugin("D:\kvcd\Programs\Video\temporalcleanerold.dll")
LoadPlugin("D:\kvcd\Programs\Video\decomb.dll")
Mpeg2Source("D:\kvcd\Movies\Matrix\Rip\Matrix.d2v")
Telecide()
Decimate()
LegalClip()
GripCrop(source_anamorphic=true, dest_anamorphic=false, width=528, height=480, overscan=2 )
GripSize()
SpaceDust()
TemporalCleaner()
GripBorders()
LegalClip()
# Sampler(length=24)

Remember to load "decomb.dll", as the functions are part of the DLL. I added the line to your script.

-kwag


All times are GMT -5. The time now is 11:49 PM  —  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.