rtsp-server has high latency

jlancaster jeff_lancaster at msn.com
Tue Sep 27 22:54:48 UTC 2016


I am on an embedded system with a built in camera streaming through v4l2. If
I set my stream using:

gst-launch-1.0  -v imxv4l2videosrc ! video/x-raw, framerate=30/1, width=640,
height=480 ! imxvpuenc_h264 bitrate=500 ! rtph264pay ! udpsink
host=192.168.0.100 port=5000 sync=false

I can stream it to my desktop with very low latency. This mean all my
components, especially the encoder, is running low latency using:

gst-launch-0.10  -v udpsrc port=5000 caps="application/x-rtp,
media=(string)video" ! rtph264depay ! h264parse ! ffdec_h264 !
ffmpegcolorspace ! videoscale ! ximagesink


If I use the gstreamer-1.0 rtsp-server:

./test-launch "( imxv4l2videosrc ! imxvpuenc_h264 bitrate=500 ! rtph264pay
name=pay0 pt=96 )" &

and stream to my own display:

gst-launch-1.0 -v rtspsrc location=rtsp://localhost:5000/test ! rtph264depay
! h264parse ! imxvpudec ! imxipuvideosink

My latency is 2+ seconds.

Any thoughts?





-----
Jeff Lancaster
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtsp-server-has-high-latency-tp4679825.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list