aboutsummaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-09-28 21:20:13 +0200
committerMaZderMind <git@mazdermind.de>2016-09-28 21:20:13 +0200
commit7d206f56eb557585986bd259e32293a81899c853 (patch)
treede5bcf99890313d188ba6e31e416f2a02ddb563b /voctocore
parent828737d9e26716e6ba9b0db8481479e1d4b93f86 (diff)
tune h264 vaapi encoders
Diffstat (limited to 'voctocore')
-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',