diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-05-31 21:33:01 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-01 21:25:12 +0200 |
commit | 6e9d79e08c9974616c2c14167a3a5485547dd0a5 (patch) | |
tree | 43759c3350fd1a62ff4d126adb7cf15d25ca223a /gst | |
parent | 7c5ff224fcb10b82d6e591677d556143569e2844 (diff) | |
download | gst-plugins-bad-6e9d79e08c9974616c2c14167a3a5485547dd0a5.tar.gz gst-plugins-bad-6e9d79e08c9974616c2c14167a3a5485547dd0a5.tar.bz2 gst-plugins-bad-6e9d79e08c9974616c2c14167a3a5485547dd0a5.zip |
shapewipe: Add documentation and integrate into the build system
Diffstat (limited to 'gst')
-rw-r--r-- | gst/shapewipe/gstshapewipe.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gst/shapewipe/gstshapewipe.c b/gst/shapewipe/gstshapewipe.c index ec33f0a7..e09d0fcc 100644 --- a/gst/shapewipe/gstshapewipe.c +++ b/gst/shapewipe/gstshapewipe.c @@ -17,6 +17,27 @@ * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-shapewipe + * + * The shapewipe element provides custom transitions on video streams + * based on a grayscale bitmap. The state of the transition can be + * controlled by the position property and an optional blended border + * can be added by the border property. + * + * Transition bitmaps can be downloaded from the + * <ulink url="http://cinelerra.org/transitions.php">Cinelerra transition</ulink> + * page. + * + * <refsect2> + * <title>Example launch line</title> + * |[ + * gst-launch -v videotestsrc ! video/x-raw-yuv,width=640,height=480 ! shapewipe position=0.5 name=shape ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink filesrc location=mask.png ! typefind ! decodebin2 ! ffmpegcolorspace ! videoscale ! queue ! shape.mask_sink videotestsrc pattern=snow ! video/x-raw-yuv,width=640,height=480 ! queue ! mixer. + * ]| This pipeline adds the transition from mask.png with position 0.5 to an SMPTE test screen and snow. + * </refsect2> + */ + + #ifdef HAVE_CONFIG_H # include "config.h" #endif |