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