# qtibatch The qtibatch plugin uses frame aggregation techniques to group several audio/video frames into one buffer for preprocessing. Batching can be done on a single stream (in which case the batch size is 1) or in many parallel streams. - The loaded model in the ML inferencing plugin downstream determines the batch size. - [GstCaps](https://gstreamer.freedesktop.org/documentation/gstreamer/gstcaps.html) shared the batch size with upstream. - When creating the pipeline, the input sources must be lower or equal to the batch size. Inputs above the batch size are ignored. - The plugin places the buffers from each source as separate [GstMemory](https://gstreamer.freedesktop.org/documentation/gstreamer/gstmemory.html#GstMemory) blocks along with their corresponding batch index. For example, source 0 at batch index 0 and source 1 at batch index 1. Qualcomm Open source GST BIN video/x-rawwidth=1920, height=1080, format=NV12 video/x-rawwidth=1920 height=1080format=NV12 video/x-rawwidth=1920, height=1080, format=NV12 video/x-rawwidth=1920, height=1080, format=NV12 video/x-rawwidth=1920, height=1080, format=NV12 qtibatch qtimlvconverter Source 0 Source 1 Source N-1 Source N GstBuffer + GstMemory: Image + GstVideoMeta: 1920x1080 NV12 GstBuffer + GstMemory 0: Image from Source 0+ GstMemory 1: Image from Source 1......+ GstMemory N-1: Image from Source N-1+ GstMemory N: Image from Source N + GstVideoMeta: 1920x1080 NV12 Note: All inputs must have same caps **Figure : Gstbuffer workflow with qtibatch** ## Inheritance chain [GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → GstBatch ## Pad configuration | Pad Name | Capabilities | | --- | --- | |
SINK template: 'sink\_%u'
| video/x-raw (ANY) | |
SINK template: 'sink\_%u'
| audio/x-raw (ANY) | |
SRC template: 'src'
| video/x-raw (ANY) | |
SRC template: 'src'
| audio/x-raw (ANY) | | | | ## Element configuration Table : Element properties for qtibatch | Property | Description | | --- | --- | | name | The name of the object.
| | parent | The parent of the object.
| Last Published: Mar 26, 2026 [Previous Topic qtimlaconverter](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/qtimlaconverter.md) [Next Topic qtimlsnpe](https://docs.qualcomm.com/bundle/publicresource/80-80021-50/topics/qtimlsnpe.md) Source: [https://docs.qualcomm.com/doc/80-80021-50/topic/qtibatch.html](https://docs.qualcomm.com/doc/80-80021-50/topic/qtibatch.html)