How to stop pipeline to get hanged ?
Tim Müller
tim at centricular.com
Tue Feb 9 12:08:08 UTC 2016
On Sun, 2016-02-07 at 21:46 -0800, ssshukla26 wrote:
Hi,
> my display pipe on a machine is as follows,
>
> *gst-launch-1.0 -e udpsrc port=5000 !
> application/x-rtp,encoding-name=H264,payload=96,clock-rate=90000 !
> rtph264depay ! h264parse ! decodebin ! autovideosink*
>
> What issues am facing is that after some hours of displaying the
> incoming
> stream its getting stuck/slow showing me video like slow motion. Am
> not able
> to find any root cause to this. If I restart the pipe than its work
> properly again. Can anyone suggest what to do to stop this display
> pipeline getting stuck !
You need to add an rtpjitterbuffer element between udpsrc and
rtph264depay to make sure clock drift between sender and receiver get
handled correctly. You can adjust the latency via the rtpjitterbuffer's
latency property (it will handle the drift also with low latency of
course, what latency is suitable mostly depends on your transport).
Cheers
-Tim
--
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel
mailing list