GstAnalytics.BatchMeta¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
meta |
r/w |
parent |
|
n_streams |
r/w |
Number of streams |
|
streams |
r/w |
|
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-typedstreamsfield. 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 anyGst.MemoryandWhen used for a single stream, the original caps might be used together with the
meta:GstAnalyticsBatchMetacaps 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.