Merge pull request #1122 from croneter/fix-transcoding
Fix PKC not burning in (and thus not showing) subtitles when transcoding
This commit is contained in:
commit
a1d32447ba
2 changed files with 7 additions and 2 deletions
|
@ -1088,7 +1088,7 @@ def transcoding_arguments(path, media, part, playmethod, args=None):
|
|||
# none, embedded, sidecar
|
||||
# Essentially indicating what you want to do with subtitles and state
|
||||
# you aren’t want it to burn them into the video (requires transcoding)
|
||||
'subtitles': 'none',
|
||||
# 'subtitles': 'none',
|
||||
# 'subtitleSize': utils.settings('subtitleSize')
|
||||
'copyts': 1
|
||||
}
|
||||
|
|
|
@ -484,8 +484,13 @@ STREAMING_HEADERS = {
|
|||
'container=mpegts&'
|
||||
'videoCodec=h264,hevc,mpeg4,mpeg2video&'
|
||||
'audioCodec=aac,flac,vorbis,opus,ac3,eac3,mp3,mp2,pcm&'
|
||||
'subtitleCodec=ass,pgs,vobsub&'
|
||||
'replace=true)'
|
||||
# '+add-transcode-target('
|
||||
# 'type=subtitleProfile&'
|
||||
# 'context=all&'
|
||||
# 'container=ass&'
|
||||
# 'codec=ass&'
|
||||
# 'replace=true)'
|
||||
'+add-direct-play-profile('
|
||||
'type=videoProfile&'
|
||||
'container=*&'
|
||||
|
|
Loading…
Reference in a new issue