Opened 8 years ago
Closed 7 years ago
Last modified 6 years ago
#13377 closed Bug Report - General (Fixed)
Enable libass subtitle support in android
| Reported by: | mspieth | Owned by: | Mark Spieth |
|---|---|---|---|
| Priority: | minor | Milestone: | 31.0 |
| Component: | Ports - Android | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
Enable libass subtitle support in android
This requires some extra libraries and build script updates.
Attachments (3)
Change History (8)
by , 8 years ago
| Attachment: | libass.patch added |
|---|
by , 8 years ago
| Attachment: | libass.20190119a.patch added |
|---|
comment:1 by , 8 years ago
I will commit this latest patch after merging to master and after a clean rebuild works. Took me a while to get all the lib deps correct but subtitles now work.
by , 8 years ago
| Attachment: | fontconfig-20190126a.patch added |
|---|
comment:2 by , 8 years ago
fast way to update fontconfig patch
./makelibs.sh fontconfig ./mythbuild.sh
Havent tried this with David's temp fontconfig patch in subtitlescreen.cpp. This may need to be disabled. Not sure.
Beware, on the first subtitle, there is a 10 second pause while fontconfig initialises (guess)
But subtitles then work for the duration of the video with the correct font(s).
As always YMMV
comment:3 by , 8 years ago
Committed fontconfig update. Now will only wait the first time subtitles are displayed where it takes 10-20sec to build the fontconfig cache. After this every new use is fast.
To update without a full rebuild,
rm -rf libs64/fontconfig* ./makelibs.sh fontconfig ./mythbuild.sh
Note The workaround has not yet been removed but I suspect is innoccuous. Not tested though.
comment:4 by , 7 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | new → closed |
comment:5 by , 6 years ago
| Milestone: | needs_triage → 31.0 |
|---|---|
| Version: | Unspecified → Master Head |

Initial build patch for libass support