Re: 答复: How to reduce avdec_h264 latency

paolo perotinus paoloperot at yahoo.it
Tue Jul 11 10:49:42 UTC 2017


I just solved the problem (thanks to Tim-Philipp Muller) by setting is-live=1 on the receiver. The latency was added  in gstavviddec.c (check the line with: "gst_query_parse_latency (query, &is_live, NULL, NULL);" ).However I think that this option (is-live) can appear too generic and misleading, and should be removed/changed.What do you think about? 

    Il Martedì 11 Luglio 2017 12:40, "Lijia (George Lee, Euler)" <george.lee at huawei.com> ha scritto:
 

 #yiv1324626242 #yiv1324626242 -- _filtered #yiv1324626242 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv1324626242 {font-family:宋体;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1324626242 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv1324626242 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv1324626242 {panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv1324626242 {panose-1:2 11 5 3 2 2 4 2 2 4;} _filtered #yiv1324626242 {panose-1:2 11 5 3 2 2 4 2 2 4;}#yiv1324626242 #yiv1324626242 p.yiv1324626242MsoNormal, #yiv1324626242 li.yiv1324626242MsoNormal, #yiv1324626242 div.yiv1324626242MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:宋体;}#yiv1324626242 a:link, #yiv1324626242 span.yiv1324626242MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv1324626242 a:visited, #yiv1324626242 span.yiv1324626242MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv1324626242 span.yiv1324626242EmailStyle17 {color:#1F497D;}#yiv1324626242 .yiv1324626242MsoChpDefault {font-size:10.0pt;} _filtered #yiv1324626242 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv1324626242 div.yiv1324626242WordSection1 {}#yiv1324626242 Pls take a bit of time to delve into system –level thread scheduling in attempt to find clue to long latency in plugin implementation. As per experience excluding bitstream encoding option, in many situations we often can find negative impact brought by threading scheduling over Linux. Even though bitstream has been encoded very well for low-latency use-case such as removal of B-frame/sub-frame processing (parallel pipeline), implicit threading scheduling defect is hard to find.     Best Regards,   George Lee    发件人: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]代表 paolo perotinus
发送时间: 2017年7月11日 17:45
收件人: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
主题: Re: How to reduce avdec_h264 latency       Il Martedì 11 Luglio 2017 1:06, Olivier Crête <olivier.crete at collabora.com> ha scritto:    > Hi,

> The only way to do that is to create a stream with no B-frames, for example using the H. 264 baseline profile.

> Olivier     Hi Olivier,    The stream is already coded with no B-frames (zerolatency tune in ffmpeg) but I still have that latency in avdec_h264...   _______________________________________________
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/20170711/e78e1ae8/attachment-0001.html>


More information about the gstreamer-devel mailing list