Flyleaf icon indicating copy to clipboard operation
Flyleaf copied to clipboard

Decoder (Subtitles): Bitmap Support

Open umlx5h opened this issue 1 year ago • 1 comments

Thank you for your wonderful library!

I am trying to create a player that can display two subtitles in different languages simultaneously for learning purposes.

It doesn't seem to support subtitles in bitmap format (SUP) instead of text format (SRT), do you have plans to support this?

Almost all the subtitles that come with m2ts (Blu-ray) are in bitmap format, but they are not displayed in the sample player, even though it can be selected from Embeded lists.

mpv seems to be supported.

I don't want to use OCR to convert to SRT because it is not accurate enough for non-English.

umlx5h avatar May 04 '24 15:05 umlx5h

Hi @umlx5h, indeed that has not been implemented yet. It wouldn't be difficult to be included with the current d3d11 renderer but the problem it would be to control the position/size and also to clear them properly from the frame. I think I would leave this for v4.

SuRGeoNix avatar May 05 '24 07:05 SuRGeoNix