Skip to content

Commit

Permalink
QSV decoder with encoder setting
Browse files Browse the repository at this point in the history
Added option to use Intel QuickSync decoder with encoder for rare instances where the decoder doesn't work.
  • Loading branch information
mflagler committed Mar 24, 2016
1 parent c7ce1e1 commit 5577466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readSettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def __init__(self, directory, filename, logger=None):
'video-bitrate': '',
'video-max-width': '',
'h264-max-level': '',
'use-qsv-decoder-with-encoder': 'True',
'subtitle-codec': 'mov_text',
'subtitle-language': '',
'subtitle-default-language': '',
Expand Down Expand Up @@ -336,6 +337,7 @@ def __init__(self, directory, filename, logger=None):
log.exception("Invalid h264 level, defaulting to none.")
self.h264_level = None

self.qsv_decoder = config.getboolean(section, "use-qsv-decoder-with-encoder") # Use Intel QuickSync Decoder when using QuickSync Encoder
self.pix_fmt = config.get(section, "pix-fmt").strip().lower()
if self.pix_fmt == '':
self.pix_fmt = None
Expand Down

0 comments on commit 5577466

Please sign in to comment.