PTS Offset to Add Artificial Delay Not Working

Abrar Shahriar abrar.shahriar at
Tue May 17 07:49:12 UTC 2022

I tried adding Queue plugins both before and after, still no success. Do I need to set some params of the Queue elements?


アブラル・ザヒン・シャハリアル  (Abrar Zahin Shahriar)

〒108−0014 東京都港区芝5丁目9−12 3階

From: Michiel Konstapel <michiel at>
Sent: Monday, May 16, 2022 6:11 PM
To: Discussion of the development of and with GStreamer <gstreamer-devel at>
Cc: Abrar Shahriar <abrar.shahriar at>
Subject: Re: PTS Offset to Add Artificial Delay Not Working

You may need to ensure that you have at least 5 seconds of queue capacity, because the buffers will have to be held somewhere before they can be processed at the later PTS. I don't know if this needs to be before the probed pad, or before the downstream element that cares about the PTS (sink, muxer, mixer, encoder, ..?)
Kind regards,

On 16-05-2022 11:05, Abrar Shahriar via gstreamer-devel wrote:

I tried to add 5 seconds (in ns) to the PTS values on the incoming buffers in a probe, but I see no delay. I tried it for both audio and video streams.

What could be the reason for it not working? I thought PTS could be used to adjust delay?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list