Excessive latency

David Jaggard davywj at gmail.com
Thu Feb 25 16:40:43 UTC 2016


I'm just calling gst_pipeline_set_latency on the pipeline before changing
the state to playing. It seems to propagate to all the elements as if I
query the latency on the sink any time afterwards it uses the set value.

I've tried it with 10ms and my pipeline still works and appears to have
very low latency. However, I left the rtpbin buffer size at 50ms so I don't
know why gstreamer doesn't complain when I set the pipeline latency lower
than this. Perhaps it forces the rtpbin buffer down too.

Regarding measuring latency; I'm just watching two instances of VLC, one
with the original source and one with the gstreamer output. At 10ms I can't
notice a visual difference although I can hear the delay in the audio
creating an echo. At 50ms the visual difference is discernible.
 I need to find or create a source that just displays the frame count and
take a screen grab.

On 25 February 2016 at 15:49, Mark Howell <mark-sub1 at hypgnosys.org> wrote:

> On 02/25/2016 03:01 AM, David Jaggard wrote:
>
>> Hi Mark,
>>
>> Thanks for the patch. I'm running on Windows and haven't had time to look
>> in to compiling GStreamer on windows yet otherwise I'd hack TSDemux.
>>
>> I have had good results reducing the latency of rtpbin to 50ms and then
>> forcing the pipeline latency to 50ms.
>>
>
> Dumb question: how are you setting the pipeline latency?
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160225/8bdb7701/attachment.html>


More information about the gstreamer-devel mailing list