PDA

View Full Version : More on cropping, I'm afraid


blutach
18th July 2008, 08:00
Greets avisynth masters :)

I have a vid (PAL VOB) with very bad head noise top and bottom.

Now Crop (0,8,0,-8) works nicely, except it makes the VOB 720 x 560. This plays OK in my standalones but I expect it stretches the video vertically by a few percent (16/560) and I'm a bit finicky about things coming out right.

Is there a better filter to use? What I'm really looking to do is put a few px of hard matte top and bottom without altering the AR within the VOB. Perhaps Crop followed by AddBorders (0,8,0,8)?

Or am I barking up the wrong tree and my crop is just fine?

TIA.

Regards

check
18th July 2008, 08:34
Is there a better filter to use? What I'm really looking to do is put a few px of hard matte top and bottom without altering the AR within the VOB. Perhaps Crop followed by AddBorders (0,8,0,8)?

Or am I barking up the wrong tree and my crop is just fine?

TIA.

Regards[/color]
If your SAP resizes the 720x560 to 720x576, you'll need to addborders() (or overcrop to maintain AR). If it doesn't resize (which I'd expect is more likely), you don't need to change anything.

kumi
18th July 2008, 09:44
Try Letterbox() instead of Crop() + AddBorders()

blutach
18th July 2008, 10:45
Aaah, I see kumi. Thanks for that.

The doco says letterbox is faster than crop + addborders so I'll try that. Plus, I guess it doesn't need to be mod anything. So perhaps letterbox (2,2) might work?

Regards

Alex_ander
18th July 2008, 11:10
You don't need border addition with Letterbox(), it doesn't crop, just covers with black (or selected color) keeping original resolution:
Letterbox(8,8)# if black is OK

blutach
18th July 2008, 11:46
Appreciate that. I'll report back with the results :)

Regards

blutach
19th July 2008, 02:39
Just reporting back. Letterbox was perfect for my needs. Thanks everyone.

Regards