Opened 5 years ago
Closed 4 years ago
Last modified 4 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)
Changed 5 years ago by
Attachment: | libass.patch added |
---|
Changed 5 years ago by
Attachment: | libass.20190119a.patch added |
---|
comment:1 Changed 5 years ago by
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.
Changed 5 years ago by
Attachment: | fontconfig-20190126a.patch added |
---|
comment:2 Changed 5 years ago by
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 Changed 5 years ago by
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 Changed 4 years ago by
Resolution: | → Fixed |
---|---|
Status: | new → closed |
comment:5 Changed 4 years ago by
Milestone: | needs_triage → 31.0 |
---|---|
Version: | Unspecified → Master Head |
Initial build patch for libass support