Skip to content

High memory usage when loading external subtitles in LEGACY mode #34

@Mountains-0

Description

@Mountains-0

When I use the LEGACY mode to load external ASS subtitles, I found that the AssSubtitleParser.parse method renders all subtitles into bitmaps at once. This causes high memory usage and eventually leads to an OOM error, even with a regular 1080P video.
Here is the link to the subtitle file: https://github.com/Mountains-0/test_subtitle/blob/main/Interstellar.ass

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions