Opened 9 years ago

Last modified 9 years ago

#1798 new defect

Special SRT formatting not parsed correctly

Reported by: bugreporter@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: ubitux
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Special SRT formatting like {\a6} is not being parsed correctly (as of SVN-r32345). For example,

{\a6}TN: Blah, blah, blah.

appears as is, instead of appearing at the top of the screen (without the "{\a6}"). My last MPlayer compile from 2010 May (sorry, I failed to take not of the SVN version) doesn't display this problem

Change History (1)

comment:1 Changed 9 years ago by ubitux

  • Cc ubitux@… added

SRT is SubRip?. You shouldn't have ASS tags (http://docs.aegisub.org/manual/ASS_Tags) in it. If you want that kind of markup, just use the appropriate ASS/SSA format: http://www.matroska.org/technical/specs/subtitles/ssa.html

If you want markup in SubRip? files, you have a few HTML tags, but nothing relative to the alignment stuff.

At the moment, mplayer explicitly backquote the '{' and '}' to avoid them being parsed when sent to the libass. Not all players do that, but this is the right thing to do.

Note: See TracTickets for help on using tickets.