From Wikipedia, the free encyclopedia

Jump to navigation
Jump to search

Developer(s) Brain,
Stable release
1.57.1 / November 14, 2018 (2018-11-14)[2]
Written in Delphi
Operating system Microsoft Windows
Available in English
Type Subtitle editor
License GPL[1]

SubRipis a free software program forWindowswhich “rips” (extracts)subtitlesand their timings from video. It isfree software, released under theGNU
GPL.SubRipis also the name of the widely
used and broadly compatible subtitle text file format created by this software.


Usingoptical character recognition, SubRip can extract
from live video, video files and DVDs, then record the extracted subtitles and timings
as aSubrip formattext file.[3]It can optionally save the recognized subtitles
as bitmaps for later subtraction (erasure) from the source video.[4][5]

In practice, SubRip is configured with the correctcodec
for the video source, then trained by the user on the specific text area, fonts, styles,[6]colors and video processing requirements[7]
to recognize subtitles. After trial and fine tuning, SubRip can automatically extract subtitles
for the whole video source file during its playback. SubRip records the beginning and
end times and text for each subtitle in the output text.srtfile.[8]

SubRip usesAviSynthto extract video frames from source video, and can rip subtitles
from all video files supported by that program.

The SubRip file format, as reported
on theMatroskamultimediacontainer formatwebsite, is
“perhaps the most basic of all subtitle formats.”[9]SubRip (SubRip Text) files are named with,
and contain formatted lines of plain text in groups separated by a blank line. Subtitles
are numbered sequentially, starting at 1. Thetimecode
format used ishours:minutes:seconds,millisecondswith time units fixed to two zero-padded digits
and fractions fixed to three zero-padded digits (00:00:00,000). Thefractional separatorused is thecomma,
since the program was written inFrance.

  1. A numeric counter identifying each
    sequential subtitle
  2. The time that the subtitle should appear
    on the screen, followed by-->and the time it should disappear
  3. Subtitle text itself on one or more lines
  4. A blank line containing no text, indicating
    the end of this subtitle[9]


168 00:20:41,150 -->00:20:45,109
- How did he do that? - Made him an offer he couldn't refuse.


Unofficially the format has very basic
text formatting, which can be either interpreted or passed through for rendering depending
on the processing application. Formatting is derived from HTML tags for bold, italic,
underline and color:[10]

  • Bold –
    or {b} … {/b}
  • Italic –or
    {i} … {/i}
  • Underline –
    or {u} … {/u}
  • Font color –(as inHTML)

Nested tags are allowed; some implementations prefer whole-line formatting only.


The SubRip.srtfile format is supported by most software video players
listed inComparison
of video player software
such as VLC and Media Player Classic Home Cinema. For
Windowssoftware video
players that do not support subtitle playback directly, theVSFilterDirectXfilter displays
SubRip and other subtitle formats.[11]
The SubRip format is supported directly by many subtitle creation/editing tools,[12]and some hardware home media players.[13][14][15][16][17]In August 2008, YouTube added subtitle support
to itsFlashvideo player under the “Closed
Captioning” option – content producers can upload subtitles in SubRip format.[18]


A format originally called WebSRT (Web
Subtitle Resource Tracks) was as of October 2010 being specified by theWeb Hypertext Application Technology Working Groupfor the proposedHTML5element. It shared the.srtfile
extension and was “broadly based on” (parts of) the SubRip format, but was not fully compatible
with SubRip.[19][20]The prospective format was later renamed WebVTT
(Web Video Text Track).[21][22]Google’s Chrome and Microsoft’s Internet Explorer
10 browsers were the first to support
tags with WebVTT files for HTML5 videos. Mozilla Firefox implemented WebVTT in its nightly
builds (Firefox 24), and as of Firefox 31 (July 24, 2014), Mozilla enabled WebVTT on
Firefox by default.[23]
The feature had to be enabled in Firefox by going to the “about:config” page and setting
the value of “media.webvtt.enabled” to true.[24]
YouTube began supporting WebVTT in April, 2013.[25]

Text encoding[edit]

SubRip’s default output encoding is configured asWindows-1252.
However, output options are also given for manyWindows code pagesas wellUnicode
encodings, such asUTF-8andUTF-16,
with or withoutByte Order Mark (BOM).
Therefore, there’s no de facto character encoding standard for.srtfiles, which
means that any SubRip file parser must attempt to useCharset detection. UnicodeByte Order Mark (BOM)are typically used to aid detection.

A number of embedded hardware-based players only have support for ASCII or Western
European fonts due to the licensing costs associated with the commercial fonts used[citation needed].

See also[edit]


  1. ^a
    Zuggy, DVD, November
    6, 2006.
  2. ^SubRip
    Download on SourceForge
  3. ^
    Thaureaux 2007, pp. 131–134
  4. ^Zuggy, News, entry
    dated May 28, 2005.
  5. ^Thaureaux 2007, p. 132
  6. ^Thaureaux
    , p. 136
  7. ^
    Zuggy, Guide.
  8. ^Thaureaux 2007, p. 137
  9. ^

    “SRT Subtitles” CoreCodec
    Inc. Retrieved2010-08-19.

  10. ^SubRip
    (.SRT) subtitles support in players
  11. ^陈波, 杨涛 (2006).实用工具软件玩家攻略. 清华大学出版社. pp. 75–76.ISBN 978-7-302-11994-4. Retrieved2010-09-11.
  12. ^Martin, Chris (Dec 29, 2009).“15 best subtitle tools”;
    Binary Head. All apps listed support SubRip(SRT), but the article is specific about 7 of 15.
  13. ^Staff (September 2003).
    “A DivX Player for the Living Room” (Neuston
    Maestro DVX-1201)
    .; Singapore HWM.
  14. ^tokig (July 13, 2003).
    “Review of KiSS DP-500 – Playback”;
    Nordic Hardware.
  15. ^Argosy
    Media Player HV335T HDD(HD1080p) Product page
    2010-02-08 at theWayback Machine; Argosy, 2009.
  16. ^Cericola, Rachel (2009-12-08).Western
    Digital WD TV Live HD Media Player; Big Picture
    Big Sound.
  17. ^Suerte Felipe, Carlo (February 16, 2009).Get stylish with Samsung DVD-F1080.Manila BulletinPublications. Retrieved 2010-08-19.
  18. ^Chisholm and May: p.
  19. ^Understanding
    WebSRT format
  20. ^WebSRT,
    from the WHATWG HTML draft specification, retrieved 2010-10-14
  21. ^Kennedy, Antony; de Leon, Inayaili (2011).Pro
    CSS for High Traffic Websites
    ISBN 978-1-4302-3288-9.
  22. ^Pfeiffer, Silvia (June 27, 2011).“Recent developments around WebVTT”.
  23. ^“Firefox 31 Release Notes”.
  24. ^“Implement
    the track element”
  25. ^“Caption File – YouTube Help”.


External links[edit]