OggSRT: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(add note about not customizing the srt format)
(cat)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
We adhere to existing SRT specifications without modification, for player compatibility.
We adhere to existing SRT specifications without modification, for player compatibility.


The following describes the SRT format:
* We base this on: http://en.wikipedia.org/wiki/Subrip#Sample_file
http://forum.doom9.org/showthread.php?p=470941#post470941
* Accordingly, it would make sense to be lenient regarding the index number and the display position.


According to: http://en.wikipedia.org/wiki/Subrip#Sample_file
With considerations of web interoperability, we do NOT require support for the additional markup tags
it would make sense to be lenient regarding the index number and the
such as <b> and <font>
display position.
described at: http://forum.doom9.org/showthread.php?p=470941#post470941


== Encapsulation ==
== Encapsulation ==
Line 25: Line 25:
* Silvia suggests to drop the index number upon mapping into Ogg -this will make it tolerant towards packet loss.
* Silvia suggests to drop the index number upon mapping into Ogg -this will make it tolerant towards packet loss.
* The time span and the text will thus be the data inside the page.
* The time span and the text will thus be the data inside the page.
[[Category:Ogg Mappings]]

Latest revision as of 05:42, 8 December 2008


This is an unimplented discussion draft about encapsulating srt subtitles in OggText.

Discussion is on the accessibility@xiph.org list.

SRT specification

We adhere to existing SRT specifications without modification, for player compatibility.

With considerations of web interoperability, we do NOT require support for the additional markup tags such as <b> and <font> described at: http://forum.doom9.org/showthread.php?p=470941#post470941

Encapsulation

For details of Ogg BOS headers and granulepos etc, see OggText

It should be simple:

  • It doesn't need an extra header.
  • Each time span is mapped into a single packet.
  • Silvia suggests to drop the index number upon mapping into Ogg -this will make it tolerant towards packet loss.
  • The time span and the text will thus be the data inside the page.