View Single Post
Old 27th October 2002, 23:55   #6  |  Link
Swan
It's more fun to compute
 
Swan's Avatar
 
Join Date: Apr 2002
Location: Scandinavia
Posts: 536
Now I understand that I can't escape learning how to calculate crop values and resize values "by hand".
I use GordianKnot for that.

On the clip I uploaded (original was 720 x 576), I set the following parameters in GordianKnot:

Crop:
top 44
bottom 43
left 10
right 10

Output resolution:
576 x 368

In the avs script, this became:
crop(10,44,700,489)
BicubicResize(576,368,0,0.5)

Looking in the Avisynth manual on www.avisynth.org I read the following:

Crop(clip clip, int left, int top, int width, int height)
Crop(clip clip, int left, int top, int -right, int -bottom)

How does that become:
crop(10,44,700,489)

I also ran into more trouble. Another video I encoded was hybrid, meaning it had both full screen 4:3 video and letterboxed content. This is becoming a large problem for me. I always use either telecide or Fielddeinterlace and because of the positioning of the logos, I think it's more aesthetically pleasing to keep them than crop them. But the "ants" are ruining the videos. :-(

Thanks for the script suggestion, Xenoproctologist. It looked very weird when I tested it (doubled logos), but I assume you just wanted to show me the filter to use?
Can you please explain in plain words what the script does?
You crop the border first, right?
Then stack something... I'm lost, as you can see.

/Swan
Swan is offline   Reply With Quote