[gst-devel] Achieving <400ms latency with x264enc
Suneet Shah
suneets at gmail.com
Mon Jan 3 09:35:06 CET 2011
Hello,
I'm wondering if it is possible to achieve <400ms latency with streaming
video using x264enc. I'm using gstreamer to stream video (server) to VLC
(client) on another machine within the same local network.
My pipeline is as follows (on the server machine):
ximagesrc ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace !
videoscale method=1 ! video/x-raw-yuv,width=480,height=300,framerate=5/1 !
x264enc byte-stream=true bitrate=195 tune=0x00000004 ! mpegtsmux !
rtpmp2tpay ! udpsink port=1500 host=192.168.2.197
Note that I'm using the tune=zerolatency (which sets several values,
according to http://mewiki.project357.com/wiki/X264_Encoding_Suggestions) to
achieve low latency.
My client machine is simply running VLC with rtp://:1500
With this setting-- I'm seeing about 2.5 seconds of latency from an action
taken on the server to being seen in the video stream by the client.
If you've achieved low latency with x264enc, can you share your settings?
Thanks!
Suneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110103/036d86b4/attachment.htm>
More information about the gstreamer-devel
mailing list