gstreamer/gst/videomixer
Sebastian Dröge ce1d4d9f21 videomixer: Use the best width/height/etc if downstream can handle that
Before it was always using whatever downstream preferred, while
the code and documentation claimed something different.

https://bugzilla.gnome.org/show_bug.cgi?id=727180
2014-08-14 16:36:44 +03:00
..
blend.c videomixer: Simplify NV12/21 blending code macros 2013-11-29 19:57:46 +01:00
blend.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstcms.c videomixer: Update videoconvert code from -base 2014-06-28 16:56:18 +02:00
gstcms.h videomixer: Update videoconvert code from -base 2014-06-28 16:56:18 +02:00
Makefile.am videomixer: link to libm for maths stuff 2013-09-17 22:02:04 +01: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
videoconvert.c videomixer: Update videoconvert code from -base 2014-06-28 16:56:18 +02:00
videoconvert.h videomixer: Update videoconvert code from -base 2014-06-28 16:56:18 +02:00
videomixer.vcproj more working plugins 2004-07-27 21:41:30 +00:00
videomixer2.c videomixer: Use the best width/height/etc if downstream can handle that 2014-08-14 16:36:44 +03:00
videomixer2.h videomixer: Port to new collectpads API 2014-03-16 17:44:40 +01:00
videomixer2pad.h videomixer: Add colorspace conversion 2013-09-10 10:37:23 +02:00
videomixerorc-dist.c videomixer: Update dist generated ORC files 2014-06-28 16:56:18 +02:00
videomixerorc-dist.h videomixer: Update dist generated ORC files 2014-06-28 16:56:18 +02:00
videomixerorc.orc videomixer: Update videoconvert code from -base 2014-06-28 16:56:18 +02: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