Ticket #767 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Some captions parsing issues (v4)

Reported by: jeroen Owned by: jeroen
Priority: Milestone: Plugins
Component: Keywords:
Cc: Forum thread:

Description (last modified by jeroen) (diff)

There's a few small issues with parsing V4 captions:

  • Carrier returns in TT files show up as double breaks in the display.
  • In fullscreen, the captions are placed over the controlbar
  • SRT files with additional breaks are parsed incorrectly.
  • If there's no caption, the back area still shows.
  • Last, the CC dock could use a slightly cooler graphic ;)

Change History

comment:1 Changed 3 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
  • Fixed carrier return issue by adding a regex to filter them.
  • Fixed captions-over-controlbar in two ways:
    • First, the captions are not mouse enabled anymore.
    • Second, the captions are placed above the controlbar if controlbar=over or fullscreen=true
  • CC dock icon is replaced with a slighty more squarish graphic.

The SRT issue cannot be fixed, since the parser needs double linebreaks to detect a new caption. I guess that's the downside of using a textformat. It can be worked around by a single space on the extra lines though. Here's a short example:

3
00:00:13,500 --> 00:00:15,000
Are you?

4
00:00:17,000 --> 00:00:20,000
Violet, please!
- I am not your babe!
  
  
  

5
00:00:24,000 --> 00:00:29,000
You stupid cow,
look what you gone and done now, ay.

comment:2 Changed 3 years ago by jeroen

(copy-paste the SRT block to see the space that's on the 3rd / 4th line of caption 4).

Note: See TracTickets for help on using tickets.