"Fossies" - the Fresh Open Source Software Archive

Member "gst-plugins-good-1.20.3/gst/videobox/README" (15 Jun 2022, 921 Bytes) of package /linux/misc/gst-plugins-good-1.20.3.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Videobox
    2 --------
    3 
    4 This plugin crops or enlarges the image. It takes 4 values as input, a
    5 top, bottom, left and right offset. Positive values will crop that much
    6 pixels from the respective border of the image, negative values will add
    7 that much pixels. When pixels are added, you can specify their color. 
    8 Some predefined colors are usable with an enum property.
    9 
   10 The plugin is alpha channel aware and will try to negotiate with a format
   11 that supports alpha channels first. When alpha channel is active two
   12 other properties, alpha and border_alpha can be used to set the alpha
   13 values of the inner picture and the border respectively. an alpha value of
   14 0.0 means total transparency, 1.0 is opaque.
   15 
   16 The videobox plugin has many uses such as doing a mosaic of pictures, 
   17 letterboxing video, cutting out pieces of video, picture in picture, etc..
   18 
   19 TODO
   20 
   21 - add enum to specify common aspect ratios/sizes and add borders/crop