Skip to content

tiovxdelay

Emmanuel Madrigal edited this page Mar 1, 2022 · 1 revision

TIOVX Delay

tiovxdelay is used to delay the buffers in a pipeline, while always outputting a buffer for every input buffer.

Hierarchy

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstTIOVXDelay

Properties

delay-size

The length of the delay in number of buffers

Flags : Read / Write

Unsigned Integer Default value : 0

Usage

The delay element will hold delay-size buffers in its internal queue, the first received buffer will be replicated buffer-size times and sent downstream as the delay-size buffers delay is reached. After the output will correspond to the delayed buffer.

gst-launch-1.0 videotestsrc is-live=true pattern=ball ! "video/x-raw, framerate=1/1" ! tiovxdelay delay-size=5 ! kmssink

Note: Since the tiovxdelay element will hold N buffers internally, it might cause a deadlock since it doesn't release the buffers kept in the queue.

Clone this wiki locally