appsrc: minimum latency bigger than maximum latency

Tim Müller tim at centricular.com
Wed Nov 27 14:46:24 UTC 2019


On Wed, 2019-11-27 at 13:39 +0100, Milian Wolff wrote:

Hi,

> Thanks a lot for that explanation. If one then has a source which
> produces image data (to be used as video frame overlays) in a
> somewhat unpredictable manner but roughly at ~25Hz, without any
> internal buffering, would the min-latency then be 40ms? Or should one
> still introduce a videorate or queue afterwards to get a well-behaved 
> source?

That sounds fine, yes, especially if the other branch advertises 40ms
as well anyway. You shouldn't need a videorate if you're feeding into
glvideomixer/compositor, it will only look at the timestamps, and a
videorate will introduce one frame latency (with default settings). You
may still need the queue to make the warning go away.
glvideomixer/compositor should output a "well-behaved" fixed-
framerate/constant-frame-duration stream.

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list