GstAnalytics.BatchMeta

Fields

Name

Type

Access

Description

meta

Gst.Meta

r/w

parent

n_streams

int

r/w

Number of streams

streams

[GstAnalytics.BatchStream]

r/w

GstAnalytics.BatchStream for this batch

Methods

None

Details

class GstAnalytics.BatchMeta

This meta represents a batch of buffers from one or more streams together with the relevant events to be able to interpret the buffers and to be able to reconstruct the original streams.

When used for multiple streams and batching them temporarily, caps of type multistream/x-analytics-batch(meta:GstAnalyticsBatchMeta) should be used, with the original caps of each stream in an array-typed streams field. The original caps of each stream might be extended by additional fields and the order of the streams in the array corresponds to the order of the streams array of the meta. In this case, empty buffers would be used without any Gst.Memory and

When used for a single stream, the original caps might be used together with the meta:GstAnalyticsBatchMeta caps feature and potentially extended by additional fields to describe the kind of batching and its configuration, e.g. that each batch is made of 25% overlapping 320x320 slices of the original video frame.

The timestamp, duration and other metadata of each batch can be retrieved from the parent buffer of this meta.

New in version 1.28.