mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Merge pull request #631 from EdiTurn/master
Add an option to transcode HEVC RExt
This commit is contained in:
commit
50c91eba71
3 changed files with 20 additions and 0 deletions
|
@ -480,6 +480,21 @@ class PlayUtils(object):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if settings('transcode_h265_rext.bool'):
|
||||||
|
profile['CodecProfiles'].append(
|
||||||
|
{
|
||||||
|
'Type': 'Video',
|
||||||
|
'codec': 'h265,hevc',
|
||||||
|
'Conditions': [
|
||||||
|
{
|
||||||
|
'Condition': "EqualsAny",
|
||||||
|
'Property': "VideoProfile",
|
||||||
|
'Value': "main|main 10"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
if self.info['ForceTranscode']:
|
if self.info['ForceTranscode']:
|
||||||
profile['DirectPlayProfiles'] = []
|
profile['DirectPlayProfiles'] = []
|
||||||
|
|
||||||
|
|
|
@ -988,3 +988,7 @@ msgstr "Select the libraries to remove"
|
||||||
msgctxt "#33201"
|
msgctxt "#33201"
|
||||||
msgid "Max artwork resolution"
|
msgid "Max artwork resolution"
|
||||||
msgstr "Max artwork resolution"
|
msgstr "Max artwork resolution"
|
||||||
|
|
||||||
|
msgctxt "#33202"
|
||||||
|
msgid "Transcode H265/HEVC RExt"
|
||||||
|
msgstr "Transcode H265/HEVC RExt"
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
<setting label="33115" type="lsep" />
|
<setting label="33115" type="lsep" />
|
||||||
<setting label="30537" id="transcodeHi10P" type="bool" default="false" visible="true" />
|
<setting label="30537" id="transcodeHi10P" type="bool" default="false" visible="true" />
|
||||||
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="true" />
|
<setting label="30522" id="transcode_h265" type="bool" default="false" visible="true" />
|
||||||
|
<setting label="33202" id="transcode_h265_rext" type="bool" default="false" visible="eq(-1,false)" />
|
||||||
<setting label="30523" id="transcode_mpeg2" type="bool" default="false" visible="true" />
|
<setting label="30523" id="transcode_mpeg2" type="bool" default="false" visible="true" />
|
||||||
<setting label="30524" id="transcode_vc1" type="bool" default="false" visible="true" />
|
<setting label="30524" id="transcode_vc1" type="bool" default="false" visible="true" />
|
||||||
<setting label="30525" id="transcode_vp9" type="bool" default="false" visible="true" />
|
<setting label="30525" id="transcode_vp9" type="bool" default="false" visible="true" />
|
||||||
|
|
Loading…
Reference in a new issue