[gst-cvs] gst-plugins-good: videmixer: add a example showing how to use the child properties
Stefan Kost
ensonic at kemper.freedesktop.org
Mon Sep 6 00:42:35 PDT 2010
Module: gst-plugins-good
Branch: master
Commit: 1c47115b8e37be8c19f563a7968b9e14edf3f2d2
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=1c47115b8e37be8c19f563a7968b9e14edf3f2d2
Author: Stefan Kost <ensonic at users.sf.net>
Date: Mon Aug 16 17:23:58 2010 +0300
videmixer: add a example showing how to use the child properties
Show how to position and set the alpho of the videos on gst-launch.
---
gst/videomixer/videomixer.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c
index b87efac..1271d63 100644
--- a/gst/videomixer/videomixer.c
+++ b/gst/videomixer/videomixer.c
@@ -28,7 +28,6 @@
* All sink pads must be either AYUV, ARGB or BGRA, but a mixture of them is not
* supported. The src pad will have the same colorspace as the sinks.
* No colorspace conversion is done.
- *
*
* Individual parameters for each input stream can be configured on the
* #GstVideoMixerPad.
@@ -65,6 +64,9 @@
* videotestsrc ! \
* video/x-raw-yuv,format=\(fourcc\)I420, framerate=\(fraction\)5/1, width=320, height=240 ! mix.
* ]| A pipeline to test I420
+ * |[
+ * gst-launch videotestsrc pattern="snow" ! video/x-raw-yuv, framerate=\(fraction\)10/1, width=200, height=150 ! videomixer name=mix sink_1::xpos=20 sink_1::ypos=20 sink_1::alpha=0.5 ! ffmpegcolorspace ! xvimagesink videotestsrc ! video/x-raw-yuv, framerate=\(fraction\)10/1, width=640, height=360 ! mix.
+ * ]| Set position and alpha on the mixer using #GstVideoMixerPad properties.
* </refsect2>
*/
More information about the Gstreamer-commits
mailing list