gstreamer/gst/videobox
Tim-Philipp Müller f41376624b gst/videobox/gstvideobox.c: Minor clean-ups: const-ify static array, remove trailing comma from use GST_DEBUG_FUNCPTR.
Original commit message from CVS:
* gst/videobox/gstvideobox.c: (gst_video_box_class_init):
Minor clean-ups: const-ify static array, remove trailing comma from
last enum (gcc-2.9x trips over that), use GST_DEBUG_FUNCPTR.
2006-11-19 16:30:19 +00:00
..
gstvideobox.c gst/videobox/gstvideobox.c: Minor clean-ups: const-ify static array, remove trailing comma from use GST_DEBUG_FUNCPTR. 2006-11-19 16:30:19 +00:00
Makefile.am gst/videobox/Makefile.am: Use liboil. 2005-10-26 17:23:06 +00:00
README A plugin to add an alpha channel to I420 video. Can optionally do chroma keying. 2004-05-28 18:01:34 +00:00
videobox.vcproj more working plugins 2004-07-27 21:41:30 +00:00

Videobox
--------

This plugin crops or enlarges the image. It takes 4 values as input, a
top, bottom, left and right offset. Positive values will crop that much
pixels from the respective border of the image, negative values will add
that much pixels. When pixels are added, you can specify their color. 
Some predefined colors are usable with an enum property.

The plugin is alpha channel aware and will try to negotiate with a format
that supports alpha channels first. When alpha channel is active two
other properties, alpha and border_alpha can be used to set the alpha
values of the inner picture and the border respectively. an alpha value of
0.0 means total transparency, 1.0 is opaque.

The videobox plugin has many uses such as doing a mosaic of pictures, 
letterboxing video, cutting out pieces of video, picture in picture, etc..

TODO

- add enum to specify common aspect ratios/sizes and add borders/crop