mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
[ffmpeg] try to convert tt subtitles usng dfxp2srt
This commit is contained in:
parent
df634be2ed
commit
0750b2491f
@ -536,7 +536,7 @@ class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
|
|||||||
sub_filenames.append(old_file)
|
sub_filenames.append(old_file)
|
||||||
new_file = subtitles_filename(filename, lang, new_ext)
|
new_file = subtitles_filename(filename, lang, new_ext)
|
||||||
|
|
||||||
if ext == 'dfxp' or ext == 'ttml':
|
if ext == 'dfxp' or ext == 'ttml' or ext == 'tt':
|
||||||
self._downloader.report_warning(
|
self._downloader.report_warning(
|
||||||
'You have requested to convert dfxp (TTML) subtitles into another format, '
|
'You have requested to convert dfxp (TTML) subtitles into another format, '
|
||||||
'which results in style information loss')
|
'which results in style information loss')
|
||||||
|
Loading…
Reference in New Issue
Block a user