gstreamer/gst/videomixer
Edward Hervey d72a2fb6da videomixer: Don't return caps in get_caps() that will be rejected
This commit basically puts _get_caps() in sync with accept_caps().

If we don't have a master pad OR the master pad caps aren't negotiated
then we just return the downstream allowed caps.

If we have a master pad with negotiated caps, we return those caps
with a free range of width/height/framerate
2010-06-03 19:01:14 +02:00
..
blend.c videomixer: Add support for YUY2, YVYU, UYVY 2010-04-29 19:28:22 +02:00
blend.h videomixer: Add support for YUY2, YVYU, UYVY 2010-04-29 19:28:22 +02:00
blend_mmx.h videomixer: Add i387 floating point registers to the clobbered registers list 2010-04-19 16:57:19 +02:00
Makefile.am build: Makefile.am cleanups 2010-03-18 21:34:24 +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 videomixer: Don't return caps in get_caps() that will be rejected 2010-06-03 19:01:14 +02:00
videomixer.h videomixer: Don't mix input with different pixel aspect ratios 2010-06-01 11:21:29 +02:00
videomixer.vcproj more working plugins 2004-07-27 21:41:30 +00:00
videomixerpad.h videomixer: Don't mix input with different pixel aspect ratios 2010-06-01 11:21:29 +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