diff options
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/avpreviewoutput.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/voctocore/lib/avpreviewoutput.py b/voctocore/lib/avpreviewoutput.py index b2e8b4a..b43b5c7 100644 --- a/voctocore/lib/avpreviewoutput.py +++ b/voctocore/lib/avpreviewoutput.py @@ -27,9 +27,9 @@ class AVPreviewOutput(TCPMultiConnection): try: encoder = Config.get('previews', 'vaapi') encoders = { - 'h264': 'vaapih264enc', - 'jpeg': 'vaapijpegenc', - 'mpeg2': 'vaapimpeg2enc', + 'h264': 'vaapih264enc rate-control=cqp init-qp=23 cabac=false max-bframes=0 keyframe-period=60', + 'jpeg': 'vaapijpegenc quality=90 keyframe-period=0', + 'mpeg2': 'vaapimpeg2enc keyframe-period=60', } venc = encoders[encoder] except Exception as e: |