From 7d206f56eb557585986bd259e32293a81899c853 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 28 Sep 2016 21:20:13 +0200 Subject: tune h264 vaapi encoders --- voctocore/lib/avpreviewoutput.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'voctocore/lib/avpreviewoutput.py') diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py index 0208bf0..4d4f70e 100644 --- a/voctocore/lib/avpreviewoutput.py +++ b/voctocore/lib/avpreviewoutput.py @@ -29,16 +29,16 @@ class AVPreviewOutput(TCPMultiConnection): encoder = Config.get('previews', 'vaapi') if Gst.version() < (1, 8): encoders = { - 'h264': 'vaapiencode_h264 rate-control=cqp init-qp=23 ' - 'cabac=false max-bframes=0 keyframe-period=60', + 'h264': 'vaapiencode_h264 rate-control=cqp init-qp=10 ' + 'max-bframes=0 keyframe-period=60', 'jpeg': 'vaapiencode_jpeg quality=90' 'keyframe-period=0', 'mpeg2': 'vaapiencode_mpeg2 keyframe-period=60', } else: encoders = { - 'h264': 'vaapih264enc rate-control=cqp init-qp=23 ' - 'cabac=false max-bframes=0 keyframe-period=60', + 'h264': 'vaapih264enc rate-control=cqp init-qp=10 ' + 'max-bframes=0 keyframe-period=60', 'jpeg': 'vaapijpegenc quality=90' 'keyframe-period=0', 'mpeg2': 'vaapimpeg2enc keyframe-period=60', -- cgit v1.2.3