gstreamer/gst/videomixer
Mathieu Duponchelle d67a671bfb videomixer: use gst_util_uint64_scale*_round.
There could be a case where:
      1) you do a new set_caps after buffers have been processed.
      2) ts_offset gets set to a different value, eg 0.033333333
      3) your pads get EOS, but the check dor that doesn't work
         because you use ts_offset + a truncated value < segment.stop
      4) so in the next collected, you end up comparing for example:
      0.9999999999 > 1., which is false and means you don't send EOS.

Also adds scale_round in two other places where it potentially could
have caused problems.
2013-07-21 19:21:57 -04:00
..
blend.c Fix FSF address 2012-11-04 00:07:18 +00:00
blend.h Fix FSF address 2012-11-04 00:07:18 +00:00
blendorc-dist.c Release 1.1.1 2013-06-05 18:31:40 +02:00
blendorc-dist.h Release 1.1.1 2013-06-05 18:31:40 +02:00
blendorc.orc videomixer: prefix orc functions with video_mixer_orc_ 2012-07-24 09:17:09 +02:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:54:11 +02: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.vcproj more working plugins 2004-07-27 21:41:30 +00:00
videomixer2.c videomixer: use gst_util_uint64_scale*_round. 2013-07-21 19:21:57 -04:00
videomixer2.h videomixer: Send caps event from the streaming thread 2013-05-19 09:28:04 -04:00
videomixer2pad.h Fix FSF address 2012-11-04 00:07:18 +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