[downloader/ism] Support muxing TTML subtitles
This commit is contained in:
parent
15828bcf25
commit
66a1b8643a
2 changed files with 10 additions and 3 deletions
|
|
@ -2816,7 +2816,7 @@ class InfoExtractor(object):
|
|||
for track in stream.findall('QualityLevel'):
|
||||
fourcc = track.get('FourCC', 'AACL' if track.get('AudioTag') == '255' else None)
|
||||
# TODO: add support for WVC1 and WMAP
|
||||
if fourcc not in ('H264', 'AVC1', 'AACL'):
|
||||
if fourcc not in ('H264', 'AVC1', 'AACL', 'TTML'):
|
||||
self.report_warning('%s is not a supported codec' % fourcc)
|
||||
continue
|
||||
tbr = int(track.attrib['Bitrate']) // 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue