appsrc: minimum latency bigger than maximum latency
Tim Müller
tim at centricular.com
Wed Nov 27 09:58:52 UTC 2019
On Tue, 2019-11-26 at 13:09 +0100, Milian Wolff wrote:
Hi Milian,
> 0:00:01.316311614 1043 0x7300fe60 ERROR GST_PADS
> gstpad.c:
> 3352:gst_pad_query_latency_default:<mixer:src> minimum latency bigger
> than
> maximum latency
> 0:00:01.316615832 1043 0x7300fe60 WARN aggregator
> gstaggregator.c:1783:gst_aggregator_query_latency_unlocked:<mixer>
> warning:
> Impossible to configure latency: max 0:00:00.000000000 < min
> 0:00:00.040000000. Add queues or other buffering elements.
>
> How do I solve this?
This usually means there is not enough buffering in one part of the
pipeline to cater for the worst case latency config that might happen
in another part of the pipeline. To solve this, add a "queue max-size-
bytes=0 max-size-buffers=0" in the other branch.
Problem here is perhaps that you put appsrc into live mode but didn't
configure latency settings on appsrc? In any case, a queue might help
here. It will provide buffering. It won't introduce latency/delay
itself.
Cheers
Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list