[gst-devel] Ideal pipe for streaming live with minimal delay

0rr3 o.soderlund at gmail.com
Thu Aug 5 16:30:18 CEST 2010


Hi all!
We're trying to receive, process and transmit a live network video stream
from an ip camera.
The idea is to receive the h264 video from the camera with rtspsrc, then
decode and encode it into mjpg and finally pass it forward to a web browser.

This all works great except that a increasing delay of the live stream ruins
everything. Therefore we have experimented with different elements, leaks
and caps to minimize the delay and now the pipe looks like this:

rtspsrc location=rtsp://****@****:554/h264/media.amp protocols=0x00000004
latency=200 ! rtph264depay ! ffdec_h264 ! queue leaky=2 max-size-buffers=10
! jpegenc idct-method=1 quality=100 ! multipartmux boundary=*** ! queue
name=exit leaky=2 max-size-buffers=10 ! fakesink

The ip camera stream is received over a mobile 3g network and therefore we
are forced to use TCP instead of UDP due to heavy packet loss.

Our question for you is if anyone knows how to optimize the pipe and its
caps to handle a live stream with minimal delay?
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Ideal-pipe-for-streaming-live-with-minimal-delay-tp2314936p2314936.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list