Fix transcoding quality degenerating quickly while playing with a new setting to deactivate auto quality for transcoding
This commit is contained in:
parent
c7da016c85
commit
9e930f09ca
3 changed files with 6 additions and 1 deletions
|
@ -250,6 +250,10 @@ msgctxt "#30160"
|
|||
msgid "Video Quality if Transcoding necessary"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30161"
|
||||
msgid "Auto-adjust transcoding quality (deactivate for Chromecast)"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#30165"
|
||||
msgid "Direct Play"
|
||||
msgstr ""
|
||||
|
|
|
@ -1103,7 +1103,7 @@ def transcoding_arguments(path, media, part, playmethod, args=None):
|
|||
'partIndex': part,
|
||||
# all the rest
|
||||
'audioBoost': utils.settings('audioBoost'),
|
||||
'autoAdjustQuality': 1,
|
||||
'autoAdjustQuality': 1 if utils.settings('auto_adjust_transcode_quality') == 'true' else 0,
|
||||
'protocol': 'hls', # seen in the wild: 'http', 'dash', 'http', 'hls'
|
||||
'session': v.PKC_MACHINE_IDENTIFIER, # TODO: create new unique id
|
||||
'fastSeek': 1,
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
<setting type="sep" />
|
||||
<setting id="playType" type="enum" label="30002" values="Try Direct Path|Direct Play|Direct Stream|Force Transcode" default="0" />
|
||||
<setting id="transcoderVideoQualities" type="enum" label="30160" values="420x420, 320kbps|576x320, 720kbps|720x480, 1.5Mbps|1024x768, 2Mbps|720p, 3Mbps|720p, 4Mbps|1080p, 8Mbps|1080p, 10Mbps|1080p, 12Mbps|1080p, 20Mbps|1080p, 40Mbps|4K, 35Mbps|4K, 50Mbps" default="10" /><!-- Video Quality if Transcoding necessary -->
|
||||
<setting id="auto_adjust_transcode_quality" label="30161" type="bool" default="true" /><!-- Auto-adjust transcoding quality (deactivate for Chromecast) -->
|
||||
<setting id="maxVideoQualities" type="enum" label="30143" values="320kbps|720kbps|1.5Mbps|2Mbps|3Mbps|4Mbps|8Mbps|10Mbps|12Mbps|20Mbps|40Mbps|deactivated" default="11" /><!-- Always transcode if video bitrate is above -->
|
||||
<setting id="transcodeH265" type="enum" label="30522" default="0" values="Disabled (default)|480p (and higher)|720p (and higher)|1080p (and higher)|4K" /><!-- Force transcode h265/HEVC -->
|
||||
<setting id="transcodeHi10P" type="bool" label="39063" default="false"/>
|
||||
|
|
Loading…
Reference in a new issue