Live streaming

hcpwll hcpwll at 163.com
Thu Jan 5 06:46:14 PST 2012


Hi, I think you need to check whick element cause the delay.
You can copy "gst_base_sink_wait_clock " function, and calculate the absolute time in each element.
Then check the jitter.
if (jitter < 0)
{
       g_print("need wait\n");
}
else
{
       g_print("drop buffer\n);
}.
 
At 2012-01-05 16:41:43,"huzefa siyamwala" <huzefa.siyamwala at gmail.com> wrote:
Hi all,
I am performing live streaming via gstreamer tcpserversink and tcpclientsrc.
Now as server side pipeline i have prepared plugin which is muxing raw h264 data in container format and streams it over network.
At client side, it get demux and its decoded by ffdec_h264 which is than linked to autovideosink.
Now when pipeline is getting played, autovideo sink discards all frames other than key frames with warning that buffer is too late.
I have debug by dumping data to filesink rather than directly playing and it works fine.So there is no timestamp problem.
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.
Can please anyone help me out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120105/5e974dbd/attachment.html>


More information about the gstreamer-devel mailing list