Difference between revisions of "SubViewer"

From VideoLAN Wiki
Jump to navigation Jump to search
m (add source)
m (note 2.0)
Line 6: Line 6:
 
:[SOURCE] Arbitrary text<br>
 
:[SOURCE] Arbitrary text<br>
 
:[FILEPATH] Arbitrary text<br>
 
:[FILEPATH] Arbitrary text<br>
:[DELAY]    (time in seconds here to delay all subtitles<br>
+
:[DELAY]    (time in frames to delay all subtitles<br>
 
:[COMMENT]  Arbitrary text<br>
 
:[COMMENT]  Arbitrary text<br>
 
:[END INFORMATION]<br>
 
:[END INFORMATION]<br>
Line 17: Line 17:
 
:00:02:00.30,00:03:00.40<br>
 
:00:02:00.30,00:03:00.40<br>
 
:No, never mind, I was hallucinating.<br>
 
:No, never mind, I was hallucinating.<br>
 +
 +
 +
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<br>
 +
:Oh, no.[br]The eggs are hatching!<br>
  
  
 
==References==
 
==References==
 
[http://divxstation.com/article.asp?aId=27 Divxstation] article by Stachken
 
[http://divxstation.com/article.asp?aId=27 Divxstation] article by Stachken

Revision as of 11:47, 8 April 2007

The SubViewer (.SUB) format is as follows:

[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