<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1499726396762_5340">Hello,</div><div id="yui_3_16_0_ym19_1_1499726396762_5341"><br id="yui_3_16_0_ym19_1_1499726396762_5342"></div><div id="yui_3_16_0_ym19_1_1499726396762_5343">I can play a HTTP-mpegts-H264 stream, with 640x480@25fps and zerolatency settings, with this command, which I translated into C code:</div><div id="yui_3_16_0_ym19_1_1499726396762_5344"><br id="yui_3_16_0_ym19_1_1499726396762_5345"></div><div id="yui_3_16_0_ym19_1_1499726396762_5346">"gst-launch-1.0 -v souphttpsrc location=http://127.0.0.1:8080/stream.ts ! tsdemux name=demuxer demuxer. ! h264parse ! avdec_h264 ! autovideosink"</div><div id="yui_3_16_0_ym19_1_1499726396762_5347"><br id="yui_3_16_0_ym19_1_1499726396762_5348"></div><div id="yui_3_16_0_ym19_1_1499726396762_5349" dir="ltr">Then I measured that the avdec_h264 decoder adds a latency of ~70ms, which corresponds to the interval between two GstBuffers with the same timestamp: the first one taken from the h264parse's src, and the second one taken from the avdec_h264's src. It corresponds to about two frames of the stream, so it seems to me that the avdec_h264 does some buffering.</div><div id="yui_3_16_0_ym19_1_1499726396762_5350"><br id="yui_3_16_0_ym19_1_1499726396762_5351"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499726396762_5352">Is there a way to reduce this latency and/or reduce/avoid buffering in the decoder?</div></div></body></html>