From d9678760203b9869c4b3673b33f7e8c5d55f7897 Mon Sep 17 00:00:00 2001 From: Jonathan Sieber Date: Wed, 10 May 2017 14:17:07 +0200 Subject: gst_video1: Fix latency issues (#247) Tune x264enc for low latency... --- modules/gst_video1/encode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gst_video1/encode.c b/modules/gst_video1/encode.c index 045efad..b563d07 100644 --- a/modules/gst_video1/encode.c +++ b/modules/gst_video1/encode.c @@ -225,6 +225,7 @@ static int pipeline_init(struct videnc_state *st, const struct vidsz *size) "do-timestamp=TRUE max-bytes=1000000 ! " "videoparse width=%d height=%d format=i420 framerate=%d/1 ! " "x264enc byte-stream=TRUE rc-lookahead=0 " + "tune=zerolatency speed-preset=ultrafast " "sync-lookahead=0 bitrate=%d ! " "appsink name=sink emit-signals=TRUE drop=TRUE", size->w, size->h, -- cgit v1.2.3