summaryrefslogtreecommitdiff
path: root/voctocore/lib/avpreviewoutput.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/avpreviewoutput.py')
-rw-r--r--voctocore/lib/avpreviewoutput.py8
1 files changed, 4 insertions, 4 deletions
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',