Sink render-delay not working
Tim Müller
tim at centricular.com
Tue Jul 19 10:57:52 UTC 2016
On Tue, 2016-07-19 at 02:47 -0700, Baby Octopus wrote:
Hi,
> I'm trying to use render-delay property of basesink to add extra
> delay while rendering. But this doesn't work as I expected in the
> following pipeline
>
> gst-launch-1.0 videotestsrc is-live=1 ! avenc_mpeg2video ! queue
> max-size-bytes=2000000000 max-size-time=100000000000
> max-size-buffers=4294967295 ! fakesink silent=0 render-
> delay=50000000000
> sync=1 -v
>
> Fakesink prints the buffer information right away and not after 50s
> of configured delay through render-delay. Am I missing anything?
render-delay does not delay rendering, it specifies a constant existing
delay that exists in the rendering path. If set, it makes the sink
render things *earlier* than it would otherwise, so that it is still
output 'on time' taking into account the rendering-delay :)
Try the "ts-offset" property.
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list