Top |
VideoAggregator 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.
VideoAggregator will do colorspace conversion.
Zorder for each input stream can be configured on the GstVideoAggregatorPad.
struct GstVideoAggregator { GstAggregator aggregator; /* Output caps */ GstVideoInfo info; };
GstAggregator |
||
GstVideoInfo |
The GstVideoInfo representing the currently set srcpad caps. |
struct GstVideoAggregatorClass { gboolean disable_frame_conversion; gboolean (*update_info) (GstVideoAggregator * videoaggregator, GstVideoInfo * info); GstFlowReturn (*aggregate_frames) (GstVideoAggregator * videoaggregator, GstBuffer * outbuffer); GstFlowReturn (*get_output_buffer) (GstVideoAggregator * videoaggregator, GstBuffer ** outbuffer); gboolean (*negotiated_caps) (GstVideoAggregator * videoaggregator, GstCaps * caps); };
gboolean |
Optional. Allows subclasses to disable the frame colorspace conversion feature |
|
Optional. Lets subclasses update the src GstVideoInfo representing the src pad caps before usage. |
||
Lets subclasses aggregate frames that are ready. Subclasses
should iterate the GstElement.sinkpads and use the already
mapped GstVideoFrame from GstVideoAggregatorPad.aggregated_frame
or directly use the GstBuffer from GstVideoAggregatorPad.buffer
if it needs to map the buffer in a special way. The result of the
aggregation should land in |
||
Optional.
Lets subclasses provide a GstBuffer to be used as |
||
Optional. Notifies subclasses what caps format has been negotiated |