[gst-devel] Delay in playing IP camera's RTSP stream
Wim Taymans
wim.taymans at gmail.com
Mon Mar 2 18:32:13 CET 2009
On Thu, 2009-02-26 at 06:23 -0800, gstPrafull wrote:
> Hi,
> I have OAbuild (windows) Gstreamer version 0.10.22
> I am playing RTSP stream from IP camera (AXIS camera) using following
> pipleine in Gstreamer
>
> gst-launch-0.10.exe uridecodebin uri=rtsp://192.168.1.95/mpeg4/media.amp !
> ffmpegcolorspace !directdrawsink
>
> Though it plays video real-time, rendering has some delays as compared to
> actual stream. This might be due to some buffering which happen initially
> which gets refreshed subsequently and I could get to see non-stop real time
> video.
> How can we reduce this buffering duration sso as to reduce the delay.
You'll have to use rtspsrc directly like:
gst-launch rtspsrc location=rtsp://... ! decodebin2 ! ...
rtspsrc has a latency property which is conveniently set to 3 seconds by
default but can likely be reduced to 200ms.
Wim
>
> Thanks,
> Prafull
More information about the gstreamer-devel
mailing list