<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>Hi, I think you need to check whick element cause the delay.</DIV>
<DIV>You can copy "gst_base_sink_wait_clock " function, and calculate the absolute time in each element.</DIV>
<DIV>Then check the jitter.</DIV>
<DIV>if (jitter &lt; 0)</DIV>
<DIV>{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_print("need wait\n");</DIV>
<DIV>}</DIV>
<DIV>else</DIV>
<DIV>{</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_print("drop buffer\n);</DIV>
<DIV>}.</DIV>
<DIV>&nbsp;</DIV>
<DIV>At 2012-01-05 16:41:43,"huzefa&nbsp;siyamwala"&nbsp;&lt;huzefa.siyamwala@gmail.com&gt; wrote:</DIV>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<BR>I am performing live streaming via gstreamer tcpserversink and tcpclientsrc.<BR>Now as server side pipeline i have prepared plugin which is muxing raw h264 data in container format and streams it over network.<BR>At client side, it get demux and its decoded by ffdec_h264 which is than linked to autovideosink.<BR>Now when pipeline is getting played, autovideo sink discards all frames other than key frames with warning that buffer is too late.<BR>I have debug by dumping data to filesink rather than directly playing and it works fine.So there is no timestamp problem.<BR>So am I missing some flag due to which my buffer gets delayed reaching autovideosink or may be ffdec_h264 is making mine frame getting delayed due to some flag not set.<BR>Can please anyone help me out.<BR></BLOCKQUOTE></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>