Styled SRT text tracks are not correctly rendered

Did you know that styled SRT text tracks are not correctly rendered?
Consider the following flow

  • create an SRT text track with styling (so it includes lines like
447
00:29:01,934 --> 00:29:04,235
               Yello.           
            <i> [ Man, Indistinct ]</i>

where the significant point is that italic styling.

  • glue this text track to your video (eg through handbrake). It may (or may not?) matter that the video codec is h.265.

The resultant movie plays correctly in QuickTime on a mac. Specifically, correctly means the text displays as italic and all as expected.
The same resultant movie, played through ChannelsDVR on an iPad has the video and the normally styled text as correct, but the italic styled text is displayed in like an 80 point font, so that it's massive covering half the screen. Other details (placement, styling, font face) are correct, just the font size used is incorrect and not matched to the "normally styled text" font size.

I hope this is enough for you to understand and fix the bug, if not I can send a video.

Yikes, this forum ate the styling! OK, let's try again:

447
00:29:01,934 --> 00:29:04,235
Yello.
((i)) [ Man, Indistinct ] ((/i))
where ((i)) should, of course, be angle brackets.

Could you post a screenshot of what you're seeing wrt incorrect rendering.

1 Like