Log in

View Full Version : I need sth like the fill filter but the other way round!


Dark-Sider9
6th July 2003, 17:45
Hi,

I got some MPEG2-Raws. Since I recorderd them via DVB, their format is 4:3 but it's letterboxed because the movie originally was cinemascope.

The movie is an older one an the Black letterbox borders are more like dark-grey.

First I tried to corp them away. But when resizing the vid it's anamorph - doh!

Then I looked at the fill filter. I could use now one fill filter for each border but this is lame (since I have to do a lot of those old movies...).

Isn't there any filter like the cropping function but instead of deleting the pixels, overwriting them with a color of your choice, e.g. black?

bye
Darky

Leuf
6th July 2003, 20:08
Look more closely at the resize filter, there is an option to expand the frame and letterbox. Though it sounds like you need to adjust the levels of your video.

Dark-Sider9
6th July 2003, 20:26
I already looked at this filter.

Just a dumb example: my vid is 400x300. After Croppting it is 400x200.
When I resize it to 640x480 it is anamorph. When turning on the letterbox feature in the resizere there is no effect - except my new vid should be 800x600 with a black border ;-)

Only soulution I found myself: to set the resizer to 400x200 (what actually doesn't resize the movie and perhaps there's some quality loss...) and adding a letterbox of 400x300 and resizing it afterwards again to 640x480. But this is IMHO worse than adding 4 fill filters...

Isn't there any faster way?

bye
Darky

Guest
7th July 2003, 04:51
Originally posted by Dark-Sider9
When turning on the letterbox feature in the resizere there is no effect - except my new vid should be 800x600 with a black border ;-) You're doing something wrong then. Turn on letterboxing. Leave the pixel size at 640x480. Set the canvas size to 800x600. Choose your color. Where are you going wrong?

Dark-Sider9
7th July 2003, 08:47
But when I'm resizing a 400x200 movie to 640x480 it's anamorph. The 800x600 Letterbox around the movie doesn't fix the aspect ratio - does it? ;-)

bye
Darky

Guest
7th July 2003, 13:41
I don't know what you mean by anamorph, but it doesn't matter, because anything you can do with 4 fills, you can also do with the letterboxing.

Dark-Sider9
7th July 2003, 15:48
Anamorph (i thought this word exists in the english vocabularry .. ;-)) means, not keeping the Aspect ratio...

400x200 has an Aspec ratio of 2:1 - 800x600 has 4:3. So faces will look strange etc.

The built in resizer in vdub extends (or shrinks) the width and height without keeping aspect ratios. To get a propper result I had to set the resizer to: 800x400 and adding a letterbox of 800x600.

But I do not want to calculate propper aspect ratios every singel encode...

You say everything I can do with fill, I can do with the letterbox thing... then just tell me how.

bye
Darky

Guest
8th July 2003, 05:16
You started the thread by saying that you had a video at 400x300 and after cropping the letterboxing, you get 400x200. You wanted to instead of cropping, make the letterbox areas black. I don't see where the 640x480 resizing comes in.

To do what you asked, make a null transform filter and crop off the borders. Then readd them back with a resize filter set for size 400x200 and letterbox canvas area 400x300. This will not produce any quality loss. This achieves what you asked for.

Dark-Sider9
8th July 2003, 09:20
Yes, there you are right. But this way I would have to adjust the cropping area and the resizer each time.

If there was somehow an inverted fill filter, I only had to adjust one filter. I really have to do a lot of vids...

bye
Darky