Subtitles

From VideoLAN Wiki
Revision as of 20:35, 23 November 2010 by SomeBloke (talk | contribs) (added link to songsubtitles.org article)
Jump to navigation Jump to search

For more information see how to enable / use subtitles

There are a lot of different types of external subtitle files. Most contain textual data. That is the subtitle and a timestamp at which this subtitles is to be shown. Some of these allow for additional formatting, others don't.


There are also subtitles which are essentially pictures instead of text. These kind of subtitles are used in DVDs, VCDs and the external VobSub files.


There are also some fileformats to which you can add subtitles. These include:


It is not easy to stream subtitles. DVB or DVD subtitles encapsulated in a TS MPEG stream is your best bet.

Subtitles support in VLC

SubtitlesCodec

Container format

subtitle
VLC can decode this container.
The module name to use at the command line is subtitle.

The subtitles module is used to read subtitle text files.

  • sub-fps (float)
    Override the normal frames per second settings. This will only work with MicroDVD and SubRIP (SRT) subtitles. Default: 0.0 (get from file).
  • sub-delay (integer)
    Apply a delay to all subtitles (in 1/10s, eg 100 means 10s). Default 0.
  • sub-type (string)
    Force the subtiles format. Valid values are :
    • microdvd
    • subrip
    • ssa1
    • ssa2-4
    • ass
    • vplayer
    • sami
    • dvdsubtitle
    • auto (default)

Source code


See also

SongSubtitles.org and VLC