Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder (Subtitles): Bitmap Support #460

Open
umlx5h opened this issue May 4, 2024 · 1 comment
Open

Decoder (Subtitles): Bitmap Support #460

umlx5h opened this issue May 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@umlx5h
Copy link

umlx5h commented May 4, 2024

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.

@SuRGeoNix
Copy link
Owner

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 SuRGeoNix added the enhancement New feature or request label May 5, 2024
@SuRGeoNix SuRGeoNix changed the title Support SUP subtitles (bitmap subtitles) Decoder (Subtitles): Bitmap Support May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants