• Home
Name Date Size #Lines LOC

..--

READMED12-May-20241 KiB2823

blend.cD12-May-202435.6 KiB1,062970

blend.hD12-May-20245.2 KiB10477

meson.buildD12-May-20241.1 KiB3633

videomixer2.cD12-May-202469.3 KiB2,3011,799

videomixer2.hD12-May-20243.6 KiB13461

videomixer2pad.hD12-May-20242.4 KiB8437

videomixerorc-dist.cD12-May-202480.5 KiB2,4152,019

videomixerorc-dist.hD12-May-20243 KiB9783

videomixerorc.cD12-May-202480.5 KiB2,4152,019

videomixerorc.hD12-May-20243 KiB9783

videomixerorc.orcD12-May-20244.3 KiB222195

README

1Video Mixer
2-----------
3
4A generice video mixer, it blends the ayuv buffers from all pads onto
5a new buffer. The new buffer has by default a checkerboard pattern but
6its color can be changed with a property.
7The mixer can mix streams with different framerates and video sizes. It
8uses the duration value of the buffer to schedule the rendering of the
9buffers. For streams with a different resolution than the final output
10resolution one can specify the position of the top left corner where this
11image should be placed with the pad properties xpos and ypos.
12The overall alpha value of a stream can also be specified with a pad
13property.
14By default, the streams are blended in the order that the pads were
15requested from the element. This can be overridden by changing the
16zorder pad property of the stream, a stream with lower zorder gets
17drawn first.
18
19
20TODO
21----
22
23- really implement zorder
24- take I420 yuv as well
25- output AYUV if possible.
26- implement different blend modes, some code is already done
27- use filter caps on srcpad to decide on the final output size
28