1.57.1 / November 14, 2018
|Operating system||Microsoft Windows|
|Developed by||Brain, Zuggy|
|Type of format||subtitles (human-readable text file)|
|Container for||subtitles and their order and timings|
SubRip is a free software program for Microsoft Windows which extracts subtitles and their timings from various video formats to a text file. It is released under the GNU GPL. Its subtitle format's file extension is
.srt and is widely supported. Each
.srt file is a human-readable file format where the subtitles are stored sequentially along with the timing information. Most subtitles distributed on the Internet are in this format.
Using optical character recognition, SubRip can extract from live video, video files and DVDs, then record the extracted subtitles and timings as a Subrip format text file. It can optionally save the recognized subtitles as bitmaps for later subtraction (erasure) from the source video.
In practice, SubRip is configured with the correct codec for the video source, then trained by the user on the specific text area, fonts, styles, colors and video processing requirements 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
SubRip uses AviSynth to extract video frames from source video, and can rip subtitles from all video files supported by that program.
SubRip file format
The SubRip file format is described on the Matroska multimedia container format website as "perhaps the most basic of all subtitle formats." SubRip (SubRip Text) files are named with the extension
.srt, and contain formatted lines of plain text in groups separated by a blank line. Subtitles are numbered sequentially, starting at 1. The timecode format used is hours:minutes:seconds,milliseconds with time units fixed to two zero-padded digits and fractions fixed to three zero-padded digits (00:00:00,000). The fractional separator used is the comma, since the program was written in France.
- A numeric counter identifying each sequential subtitle
- The time that the subtitle should appear on the screen, followed by
-->and the time it should disappear
- Subtitle text itself on one or more lines
- A blank line containing no text, indicating the end of this subtitle
1 00:02:16,612 --> 00:02:19,376 Senator, we're making our final approach into Coruscant. 2 00:02:19,482 --> 00:02:21,609 Very good, Lieutenant. 3 00:03:13,336 --> 00:03:15,167 We made it. 4 00:03:18,608 --> 00:03:20,371 I guess I was wrong. 5 00:03:20,476 --> 00:03:22,671 There was no danger at all.
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:
- Bold –
- Italic –
- Underline –
- Font color –
<font color="color name or #code">…</font>(as in HTML)
- Line position –
X1:… X2:… Y1:… Y2:…after the timestamp would denote the text coordinate
Nested tags are allowed; some implementations prefer whole-line formatting only.
.srt file format is supported by most software video players. For Windows software video players that do not support subtitle playback directly, the VSFilter DirectX filter displays SubRip and other subtitle formats.
The SubRip format is supported directly by many subtitle creation and editing tools,
and some hardware home media players.
In August 2008, YouTube added subtitle support to its Flash video player under the "Closed Captioning" option - content producers can upload subtitles in SubRip format.
A format originally called WebSRT (Web Subtitle Resource Tracks) was specified in 2010 by the Web Hypertext Application Technology Working Group for the proposed HTML5
<track> element. It shared the
.srt file extension and was based on parts of the SubRip format, but was not fully compatible with it.
The prospective format was later renamed WebVTT (Web Video Text Track).
Google's Chrome and Microsoft's Internet Explorer 10 browsers were the first to support
<track> 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. 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. YouTube began supporting WebVTT in April, 2013.
SubRip's default output encoding is configured as Windows-1252. However, output options are also given for many Windows code pages as well Unicode encodings, such as UTF-8 and UTF-16, with or without Byte Order Mark (BOM). Therefore, there is no de facto character encoding standard for
.srt files, which means that any SubRip file parser must attempt to use Charset detection. Unicode Byte Order Mark (BOM) are typically used to aid detection.
- Closed captioning
- Timed text
- Comparison of video player software, subtitle ability
- List of free television software
- SubStation Alpha
- Universal Subtitle Format
- DirectVobSub is able to extract subtitles from a DVD without first extracting the files from it.
- Zuggy, DVD, November 6, 2006.
- SubRip Download on SourceForge
- Powers, Shelley (8 August 2011). HTML5 Media: Integrating Audio and Video with the Web. "O'Reilly Media, Inc.". pp. 82–83. ISBN 978-1-4493-1531-3.
- Rodriguez-Alsina, Aitor; Talavera, Guillermo; Orero, Pilar; Carrabina, Jordi (2012-06-26). "Subtitle Synchronization across Multiple Screens and Devices". Sensors. 12 (7): 8710–8731. doi:10.3390/s120708710. ISSN 1424-8220. PMC 3444071. PMID 23012513.
Most subtitles distributed on the Internet are described in text files that follow the SubRip (.SRT) format
- Stanislav, Petr; Švec, Jan; Šmídl, Luboš (2012), Sojka, Petr; Horák, Aleš; Kopeček, Ivan; Pala, Karel (eds.), "Unsupervised Synchronization of Hidden Subtitles with Audio Track Using Keyword Spotting Algorithm", Text, Speech and Dialogue, Springer Berlin Heidelberg, 7499, pp. 422–430, doi:10.1007/978-3-642-32790-2_51, ISBN 978-3-642-32789-6,
which is the most common subtitle format in the movie fans community
- Thaureaux 2007, pp. 131–134
- Zuggy, News, entry dated May 28, 2005.
- Thaureaux 2007, p. 132
- Thaureaux 2007, p. 136
- Zuggy, Guide.
- Thaureaux 2007, p. 137
- "SRT Subtitles". matroska.org. CoreCodec Inc. Retrieved 2020-10-24.
- SubRip (.SRT) subtitles support in players – ale5000.altervista.org
- "Extended SRT spec (especially coordinate format) question [Archive] - Doom9's Forum". forum.doom9.org. Retrieved 2021-03-10.
- 陈波, 杨涛 (2006). 实用工具软件玩家攻略. 清华大学出版社. pp. 75–76. ISBN 978-7-302-11994-4. Retrieved 2010-09-11.
- Martin, Chris (Dec 29, 2009). "15 best subtitle tools". aboutonlinetips.com; Binary Head. All apps listed support SubRip(SRT), but the article is specific about 7 of 15.
- Staff (September 2003). "A DivX Player for the Living Room" (Neuston Maestro DVX-1201). Review. hardwaremag.com; Singapore HWM.
- tokig (July 13, 2003). "Review of KiSS DP-500 – Playback". nordichardware.com; Nordic Hardware.
- Argosy Media Player HV335T HDD(HD1080p) Product page Archived 2010-02-08 at the Wayback Machine argosy.com; Argosy, 2009.
- Cericola, Rachel (2009-12-08). Western Digital WD TV Live HD Media Player Review. bigpicturebigsound.com; Big Picture Big Sound.
- Suerte Felipe, Carlo (February 16, 2009). Get stylish with Samsung DVD-F1080. Manila Bulletin Publications. Retrieved 2010-08-19.
- Chisholm and May: p. 82.
- "New Captions Feature For Videos". Official YouTube Blog. August 28, 2008.
- Understanding WebSRT format
- WebSRT, from the WHATWG HTML draft specification, retrieved 2010-10-14
- Kennedy, Antony; de Leon, Inayaili (2011). Pro CSS for High Traffic Websites. Apress. ISBN 978-1-4302-3288-9.
- Pfeiffer, Silvia (June 27, 2011). "Recent developments around WebVTT".
- "Firefox 31 Release Notes".
- "Implement the track element".
- "Caption File - YouTube Help".
- Thaureaux, Thierry (2007). DivX - Copiez vos vidéos sur CD (Nouvelle édition) (in French). Herblain, FR: Editions ENI. pp. 133–136. ISBN 978-2-7460-3812-7.
- Zuggy, T.V. "SubRip home". zuggy.wz.cz. Retrieved 2010-08-19.
- Zuggy, T.V (December 8, 2005). "SubRip 1.20/1.50b – DVD subtitles ripper". zuggy.wz.cz. Retrieved 2010-01-10. (Software release page.)
- Zuggy, T.V (August 1, 2007). "News page". zuggy.wz.cz. Retrieved 2009-07-02.
- Zuggy, T.V (June 17, 2005). "Guide: Ripping subtitles from video files using SubRip". zuggy.wz.cz. Retrieved 2009-07-02.
- Xiao, Han; Wang, Xiaojie (March 27, 2009). "Constructing Parallel Corpus from Movie Subtitles". In Li, Wenjie; Mollá-Aliod, Diego (eds.). Proc. Int. Conf. on Computer Processing of Oriental Languages. Hong Kong: Springer. pp. 329–336. doi:10.1007/978-3-642-00831-3_32. Retrieved 2009-07-02.
- Chisholm, Wendy; May, Matt (2008). Universal design for Web applications. O'Reilly Media. p. 82. ISBN 978-0-596-51873-8. Retrieved 2010-06-28.
subrip subtitles youtube.
- Bruegmann, Ulrich (2006). Divx R.t.f.m. – Divx 6 (in German). Lulu.com. ISBN 978-1-84728-676-5.
- Related media at Wikimedia Commons:
- Official website
- ".SRT SubRip file format specification". Doom9. Retrieved April 7, 2004.
Derived from the SubRip source code
- WebVTT Standard
- Mozilla's developer page concerning WebVTT implementation
- SubRip (.SRT) subtitle features and support in players – comparison of .srt feature handling in a range of common players
- VTTandSRT, small French free software to convert a .SRT subtitles file into a .VTT subtitles file (and conversely).
- SubSyncer - free online tool used to edit .SRT subtitles.