Difference between revisions of "SubViewer"

From VideoLAN Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
The SubViewer (*.SUB) format is as follows:
+
'''SubViewer''' is a file format for storing [[subtitles]]. It may have the [[file extension]] .sub.
  
 +
==Specification==
 +
A sample SubViewer document may look like;
 
:[INFORMATION] <-- beginning of optional info section, closing tag required<br>
 
:[INFORMATION] <-- beginning of optional info section, closing tag required<br>
 
:[TITLE] Title of film.<br>
 
:[TITLE] Title of film.<br>
Line 27: Line 29:
 
==References==
 
==References==
 
[http://divxstation.com/article.asp?aId=27 Divxstation] article by Stachken
 
[http://divxstation.com/article.asp?aId=27 Divxstation] article by Stachken
 +
 +
[[Category:Subtitles]]

Revision as of 17:34, 24 April 2007

SubViewer is a file format for storing subtitles. It may have the file extension .sub.

Specification

A sample SubViewer document may look like;

[INFORMATION] <-- beginning of optional info section, closing tag required
[TITLE] Title of film.
[AUTHOR] Author of film.
[SOURCE] Arbitrary text
[FILEPATH] Arbitrary text
[DELAY] (time in frames to delay all subtitles
[COMMENT] Arbitrary text
[END INFORMATION]
[SUBTITLE] <-- beginning of subtitle section, no closing tag required.
[COLF]&HFFFFFF,[SIZE]12,[FONT]Times New Roman
00:01:00.10,00:02:00.20
Oh, no.
The eggs are hatching!
<blank line>
00:02:00.30,00:03:00.40
No, never mind, I was hallucinating.


Note: SubViewer 2.0 format, the whole subtitle is written on one line, with line breaks indicated by [br], as follows:

00:01:00.10,00:02:00.20
Oh, no.[br]The eggs are hatching!


References

Divxstation article by Stachken