Mailing List Archive

Ticket #13377: Enable libass subtitle support in android
#13377: Enable libass subtitle support in android
--------------------------------------+--------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
Enable libass subtitle support in android

This requires some extra libraries and build script updates.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Changes (by mspieth):

* Attachment "libass.patch" added.

Initial build patch for libass support

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Changes (by mspieth):

* Attachment "libass.20190119a.patch" added.


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------

Comment (by mspieth):

I will commit this latest patch after merging to master and after a clean
rebuild works.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Changes (by mspieth):

* Attachment "fontconfig-20190126a.patch" added.


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------

Comment (by mspieth):

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

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13377: Enable libass subtitle support in android [ In reply to ]
#13377: Enable libass subtitle support in android
----------------------------------+------------------------------
Reporter: mspieth | Owner: Mark Spieth
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: Ports - Android | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------

Comment (by mspieth):

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.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13377#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center