PDA

View Full Version : Bug? Letterbox doesn't cause width change.


Various
23rd February 2008, 03:45
Hello,

I have a video clip that is 640x480. I did this:

a = AviSource("video.avi")
b = LetterBox(a, 0,0, 40,40)
return b

When I open this avs file in VirtualDub, I can see
the letterbox effect i.e. black bars on left & right.
However when I go to File->file-information,
it says the width is still 640.

Is that a bug?

Thanks.

45tripp
23rd February 2008, 04:00
no
that's how it's meant to work.

if you intend on padding to 720x480, use
addborders(40,0,40,0)

Ranguvar
23rd February 2008, 04:02
Letterbox blacks out parts of the video ;)

Try this:
a = AviSource("video.avi")
b = AddBorders(a, 40, 0, 40, 0, $000000)
return b