1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 20:25:37 +08:00

[ffmpeg] try to convert tt subtitles usng dfxp2srt

This commit is contained in:
remitamine 2016-04-01 19:47:20 +01:00
parent df634be2ed
commit 0750b2491f

View File

@ -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')