Letterbox

Letterbox (clip, int top, int bottom, [int left], [int right], int "color")

Letterbox simply blackens out the top top and the bottom bottom, and optionally left and right side of each frame. This has a couple of uses: one, it can eliminate stray video noise from the existing black bands in an image that's already letterboxed; two, it can eliminate the garbage lines that often appear at the bottom of the frame in captures from VHS tape.

The functionality of Letterboxcan be duplicated with a combination of Cropand AddBorders, but Letterboxis faster and easier.

Generally, it's better to crop this stuff off using Cropor CropBottomthan to hide it with Letterbox. However, in some cases, particularly if you're compressing to MPEG, it's better to use Letterboxbecause it lets you keep a standard frame size like 352x288 or 320x240. Some MPEG players get confused when the source video has a strange frame size.

The color parameter is optional, default=0 <black>, and is specified as an RGB value regardless of whether the clip format is RGB or YUV based. See here for more information on specifying colors.

Another use could also be to clear out overscan areas in VCD or SVCD encodings.

$Date: 2008/06/06 11:37:04 $