Post Sun Jan 15, 2017 11:16 am

ASS Subtitles in MKV container not rendered properly

I tried to play a MKV file with ASS subtitles on my C series Samsung TV, but the experience was terrible. I analyzed the logs and found out that the subtitles got extracted and the video not transcoded (because it's supported by the TV). The problem is that the subtitles got extracted as SRT, making them unusable, since the style tags got mixed with the dialogs.
  Code:
ffmpeg -threads 2 -i /media/rapperskull/Volume/TestFile.mkv -y -an -vn -map 0:2 -c:s srt -f srt pipe:

The subtitles should be extracted in the correct format, and if not supported by the TV, the video should be transcoded with subtitles burned in.