[FFmpeg-user] ffplay, display subtitles

Ted Park kumowoon1025 at gmail.com
Fri Aug 16 04:42:13 EEST 2019

>> On Tue, Aug 13, 2019 at 3:44 PM Marton Balint <cus at passwd.hu> wrote:
>> FFplay has currently no support for non-bitmap subtitles. I have a patch
>> on github which adds ASS support if you are interested.
>> https://github.com/cus/ffmpeg/tree/ffplayass
> On Aug 13, 2019, at 5:59 PM, Michael Castellon <castellonmichael at gmail.com> wrote:
> Hello Marton,
> Thanks you for information.
> Bitmap subtitles is ok for me.
> I compile with libraries ass
> $./configure --enable-libass
> Now, for subtitles srt, I found  this command,
> ffplay -vf subtitles=input.srt input.mp4
> and this works.
> but how to view the stream of subtitle from mkv files
> for example
> Stream #0:3(spa)
> I tested.
> ffplay -sst 3 input.mkv
> but not works.
> error: Stream specifier 3 does not match any subtitle stream

Oh, right. I just assumed subtitles meant text-based for some reason… Bitmap subtitles won’t work. Closed captions and teletype doesn’t work either. (Afaik)

What does it say the subtitle codec is? You should post the output of your command.

If it is text based, ffplay -vf subtitles=input.mkv input.mkv should work. I don’t think the -sst option ever worked in ffplay.

More information about the ffmpeg-user mailing list