Gst-nvstreamdemux

The Gst-nvstreamdemux plugin demuxes batched frames into individual buffers. It creates a separate Gst Buffer for each frame in the batch. It does not copy the video frames. Each Gst Buffer contains a pointer to the corresponding frame in the batch.
The plugin pushes the unbatched Gst Buffer objects downstream on the pad corresponding to each frame’s source. The plugin gets this information through the NvDsBatchMeta attached by Gst-nvstreammux. The original buffer timestamps (PTS) of individual frames are also attached back to the Gst Buffer.
Since there is no frame copy, the input Gst Buffer is not returned upstream immediately. When all of the non-batched Gst Buffer objects demuxed from an input batched Gst Buffer are returned to the demuxer by the downstream component, the input batched Gst Buffer is returned upstream.
The demuxer does not scale the buffer back to the source’s original resolution even if Gst-nvstreammux has scaled the buffers.
A screenshot of a cell phone Description automatically generated

Inputs and Outputs

Inputs
Gst Buffer (batched)
NvDsBatchMeta
Other meta
Control parameters
None
Output
Gst Buffer (non-batched, single source)
Meta related to each Gst Buffer source