gstreamer/gst/videomixer
Youness Alaoui 13328bc129 videomixer2: Fix race condition where a src setcaps is ignored
If both pads receive data at the same time, they will both get their
sink_setcaps called which will call the src_setcaps, but there is
a race condition where the second one might not be called.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=683842
2012-10-19 12:10:31 +02:00
..
blend.c videomixer2: Adding nv12 and nv21 support 2012-09-12 10:46:22 +02:00
blend.h videomixer2: Adding nv12 and nv21 support 2012-09-12 10:46:22 +02:00
blendorc-dist.c gst: update disted orc files 2012-08-08 15:10:37 +01:00
blendorc-dist.h
blendorc.orc
Makefile.am
README
videomixer.vcproj
videomixer2.c videomixer2: Fix race condition where a src setcaps is ignored 2012-10-19 12:10:31 +02:00
videomixer2.h videomixer2: Fix race condition where a src setcaps is ignored 2012-10-19 12:10:31 +02:00
videomixer2pad.h

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