videomixer
videomixer — Mix multiple video streams
|
|
Description
Videomixer2 can accept AYUV, ARGB and BGRA video streams. For each of the requested
sink pads it will compare the incoming geometry and framerate to define the
output parameters. Indeed output video frames will have the geometry of the
biggest incoming video stream and the framerate of the fastest incoming one.
All sink pads must be either AYUV, ARGB or BGRA, but a mixture of them is not
supported. The src pad will have the same colorspace as the sinks.
No colorspace conversion is done.
Individual parameters for each input stream can be configured on the
GstVideoMixer2Pad.
Sample pipelines
A pipeline to demonstrate videomixer used together with videobox.
This should show a 320x240 pixels video test source with some transparency
showing the background checker pattern. Another video test source with just
the snow pattern of 100x100 pixels is overlayed on top of the first one on
the left vertically centered with a small transparency showing the first
video test source behind and the checker pattern under it. Note that the
framerate of the output video is 10 frames per second.
A pipeline to demostrate bgra mixing. (This does not demonstrate alpha blending).
A pipeline to test I420
A pipeline to demonstrate synchronized mixing (the second stream starts after 3 seconds)