gstreamer/gst/videomixer
Wim Taymans d0ab18f823 gst/videomixer/videomixer.c: Be a nicer negotiation citizen and provide a getcaps function on the srcpad. This also f...
Original commit message from CVS:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init), (gst_videomixer_pad_get_property),
(gst_videomixer_pad_set_property),
(gst_videomixer_pad_sinkconnect), (gst_videomixer_pad_init),
(gst_video_mixer_background_get_type), (gst_videomixer_get_type),
(gst_videomixer_class_init), (gst_videomixer_init),
(gst_videomixer_getcaps), (gst_videomixer_request_new_pad),
(gst_videomixer_blend_ayuv_i420), (pad_zorder_compare),
(gst_videomixer_sort_pads), (gst_videomixer_fill_checker),
(gst_videomixer_fill_color), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_loop), (plugin_init):
Be a nicer negotiation citizen and provide a getcaps function on
the srcpad. This also fixes a crash when resizing.
2004-07-27 10:33:59 +00:00
..
Makefile.am A plugin to add an alpha channel to I420 video. Can optionally do chroma keying. 2004-05-28 18:01:34 +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
videomixer.c gst/videomixer/videomixer.c: Be a nicer negotiation citizen and provide a getcaps function on the srcpad. This also f... 2004-07-27 10:33:59 +00:00
videomixer.vcproj rename GStreamer-0.8.lib to libgstreamer.lib 2004-07-27 09:57:33 +00:00

Video Mixer
-----------

A generice video mixer, it blends the ayuv buffers from all pads onto 
a new buffer. The new buffer has by default a checkerboard pattern but
its color can be changed with a property.
The mixer can mix streams with different framerates and video sizes. It
uses the duration value of the buffer to schedule the rendering of the
buffers. For streams with a different resoltion than the final output
resolution one can specify the position of the top left corner where this
image should be placed with the pad properties xpos and ypos.
The overall alpha value of a stream can also be specified with a pad
property.
By default, the streams are blended in the order that the pads were 
requested from the element. This can be overridden by changing the 
zorder pad property of the stream, a stream with lower zorder gets
drawn first.


TODO
----

- really implement zorder
- take I420 yuv as well
- output AYUV if possible.
- implement different blend modes, some code is already done
- use filter caps on srcpad to decide on the final output size