Software:SubRip
Developer(s) | Brain,[1] T.V. Zuggy,[2][3] mrSHADOW,[2] Yakov,[2] ai4spam,[2] Bloody,[2] Roy Damman,[4][5] |
---|---|
Initial release | 3 March 2000[2] |
Stable release | 1.57.1
/ November 14, 2018[4] |
Written in | Delphi |
Operating system | Microsoft Windows |
Available in | English |
Type | Subtitle editor |
License | GPL[3] |
Website | zuggy |
Filename extension | .srt |
---|---|
Internet media type | application/x-subrip[8] |
Magic number | 31 0D 0A 30 30 3A (ASCII: "1↵00:" ) |
Developed by | Brain, Zuggy |
Type of format | Timed text |
Container for | subtitles and their order and timings |
Extended to | WebVTT |
Open format? | Yes |
Website | www |
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.[9] 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.[10][11]
Software
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.[12] It can optionally save the recognized subtitles as bitmaps for later subtraction (erasure) from the source video.[13][14]
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,[15] colors and video processing requirements[16] 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 .srt
file.[17]
SubRip uses AviSynth to extract video frames from source video, and can rip subtitles from all video files supported by that program.
Format
The SubRip file format is described on the Matroska multimedia container format website as "perhaps the most basic of all subtitle formats."[18] 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[18]
Example for Star Wars: Episode II – Attack of the Clones:
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.
Markup
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:[19]
- Bold –
<b>…</b>
- Italic –
<i>…</i>
- Underline –
<u>…</u>
- Font color –
<font color="color name or #code">…</font>
(as in HTML)
Nested tags are allowed; some implementations prefer whole-line formatting only.
Also unofficially, text coordinates can be specified at the end of the timestamp line as X1:… X2:… Y1:… Y2:…
.[20]
Compatibility
The SubRip .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.[21]
The SubRip format is supported directly by many subtitle creation and editing tools,[22]
as well as some hardware home media players.[23][24][25][26][27]
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.[28][29]
Text encoding
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 official character encoding standard for .srt
files, which means that any SubRip file parser must attempt to use Charset detection. Unicode BOMs are typically used to aid detection.
YouTube only supports UTF-8.[30] The default encoding for subtitle files in FFmpeg is UTF-8.[31]
SubViewer
In 1999, Brain created SubRip, and a friend, David Dolinski, created SubViewer, who offered it for download on his personal website.[32][33][34][35][36][37]
SubViewer was included in the DivX media player. On August 28, 2008, YouTube included support for SubViewer and SubRip, allowing existing videos to be retroactively subtitled.[33]
WebVTT
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.[38][39]
The prospective format was later renamed WebVTT (Web Video Text Track).[40][41]
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.[42] YouTube began supporting WebVTT in April, 2013.[43]
See also
- Closed captioning
- Timed text
- Comparison of video player software § Subtitle ability
- Avidemux
- List of free television software
- MicroDVD
- SubStation Alpha
- Universal Subtitle Format
- DirectVobSub – able to extract subtitles from a DVD without first extracting the files from it
Notes
- ↑ "SubRip & SubMagic". http://membres.lycos.fr/subrip/.
- ↑ Jump up to: 2.0 2.1 2.2 2.3 2.4 2.5 "SubRip 1.56.1 History". 2015-10-13. https://www.free-codecs.com/readmes/subrip_News.txt.
- ↑ Jump up to: 3.0 3.1 Zuggy, DVD, November 6, 2006.
- ↑ Jump up to: 4.0 4.1 Damman, Roy (2018-11-14). "Browse /subrip/SubRip 1.57.1". SourceForge.net. https://sourceforge.net/projects/subrip/files/subrip/SubRip%201.57.1/.
- ↑ "zuggy.wz.cz News". https://zuggy.wz.cz/. "Roy Damman released SubRip 1.57.1."
- ↑ "HTTPS není dostupné - Webzdarma.cz | Webzdarma.cz". https://zuggy.wz.cz/.
- ↑ "ZuggyWu:d". http://zuggy.wz.cz/.
- ↑ Android 10 value. Not IANA-approved and in fact invalid due to "x-" no longer being unregulated.
- ↑ 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. https://books.google.com/books?id=GIm3iMzcHekC&pg=PA83.
- ↑ Rodriguez-Alsina, Aitor; Talavera, Guillermo; Orero, Pilar; Carrabina, Jordi (2012-06-26). "Subtitle Synchronization across Multiple Screens and Devices" (in en). Sensors 12 (7): 8710–8731. doi:10.3390/s120708710. ISSN 1424-8220. PMID 23012513. Bibcode: 2012Senso..12.8710R. "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 et al., 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
- ↑ Jump up to: 18.0 18.1 "SRT Subtitles". matroska.org. CoreCodec Inc.. https://www.matroska.org/technical/subtitles.html#srt-subtitles.
- ↑ SubRip (.SRT) subtitles support in players – ale5000.altervista.org
- ↑ "Extended SRT spec (especially coordinate format) question [Archive - Doom9's Forum"]. http://forum.doom9.org/archive/index.php/t-86664.html.
- ↑ 陈波; 杨涛 (2006) (in zh). 实用工具软件玩家攻略. 清华大学出版社. pp. 75–76. ISBN 9787302119944. https://books.google.com/books?id=FjF2XragdYYC&pg=PA75. Retrieved 2010-09-11.
- ↑ Martin, Chris (2009-12-29), 15 Best Subtitle Editors for Movies or Videos, http://www.aboutonlinetips.com/best-subtitle-editor-tools/ All apps listed support SubRip (SRT), but the article is specific about 7 of 15.
- ↑ TechToyer (September 2003), "A DivX Player for the Living Room (Neuston Maestro DVX-1201)", HardwareMAG (Singapore: SPH Magazines Pte Ltd.): 67, ISSN 0219-5607, https://books.google.com/books?id=XeoDAAAAMBAJ&pg=PT67
- ↑ Tokig (2003-07-13), Review of KiSS DP-500 – Playback, http://www.nordichardware.com/test-lab/42-multimedia/11055-kiss-dp-500.html?start=3#content, retrieved 2010-07-21
- ↑ Argosy Media Player HV335T HDD (HD1080p) product page, 2009, http://www.argosy.com.tw/product-detial.php?prod_id=154
- ↑ Cericola, Rachel (2009-12-08), Western Digital WD TV Live HD Media Player review, http://www.bigpicturebigsound.com/Western-Digital-WD-TV-Live-HD-Media-Player.shtml
- ↑ Suerte Felipe, Carlo (2009-02-16), Get stylish with Samsung DVD-F1080, Manila Bulletin Publications, http://www.mb.com.ph/node/196529, retrieved 2010-08-19
- ↑ Chisholm, Wendy; May, Matt (2008-12-09). Universal Design for Web Applications: Web Applications that Reach Everyone (1st ed.). O'Reilly Media. p. 82. ISBN 9780596518738.
- ↑ "New Captions Feature for Videos". Official YouTube Blog. 2008-08-28. https://youtube.googleblog.com/2008/08/new-captions-feature-for-videos.html.
- ↑ "Supported subtitle and closed caption files - YouTube Help". support.google.com. https://support.google.com/youtube/answer/2734698?hl=en#zippy=%2Cbasic-file-formats.
- ↑ "FFmpeg Filters Documentation". ffmpeg.org. http://ffmpeg.org/ffmpeg-filters.html#subtitles-1. "Set subtitles input character encoding. subtitles filter only. Only useful if not UTF-8."
- ↑ "SubViewer". http://www.dado.be/subviewer.Asp.
- ↑ Jump up to: 33.0 33.1 "New Captions Feature for Videos" (in en-us). https://www.youtube.com/blog?entry=mi8D3ntPgFQ.
- ↑ "SubRip". https://wiki.videolan.org/SubRip/.
- ↑ "SubViewer". https://wiki.videolan.org/SubViewer/.
- ↑ "Subtitle Formats". http://divxstation.com/article.asp?aId=27.
- ↑ "SubViewer 4.0.6". https://www.free-codecs.com/download/subviewer.htm.
- ↑ 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. https://books.google.com/books?id=9A6w3ZBDtysC&pg=PA168.
- ↑ Pfeiffer, Silvia (June 27, 2011). "Recent developments around WebVTT". http://blog.gingertech.net/2011/06/27/recent-developments-around-webvtt/.
- ↑ "Firefox 31 Release Notes". https://www.mozilla.org/en-US/mobile/31.0/releasenotes/.
- ↑ "Caption File - YouTube Help". https://support.google.com/youtube/bin/answer.py?answer=2734698&topic=3014331&ctx=topic.
References
- Thaureaux, Thierry (2007) (in fr). DivX - Copiez vos vidéos sur CD (Nouvelle édition). Herblain, FR: Editions ENI. pp. 133–136. ISBN 978-2-7460-3812-7. https://books.google.com/books?id=f2kmYyTs0lgC&q=divx%20subrip&pg=PT126.
- Zuggy, T.V. "SubRip home". zuggy.wz.cz. http://zuggy.wz.cz.
- Zuggy, T.V (December 8, 2005). "SubRip 1.20/1.50b – DVD subtitles ripper". zuggy.wz.cz. http://zuggy.wz.cz/dvd.php. (Software release page.)
- Zuggy, T.V (August 1, 2007). "News page". zuggy.wz.cz. http://zuggy.wz.cz/news.php.
- Zuggy, T.V (June 17, 2005). "Guide: Ripping subtitles from video files using SubRip". zuggy.wz.cz. http://zuggy.wz.cz/redir.php?co=101.
- Xiao, Han; Wang, Xiaojie (March 27, 2009). "Constructing Parallel Corpus from Movie Subtitles". Proc. Int. Conf. on Computer Processing of Oriental Languages. Hong Kong: Springer. pp. 329–336. doi:10.1007/978-3-642-00831-3_32. https://books.google.com/books?id=EqlV6gBmii8C&q=subrip%20subtitles&pg=PA330. 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. https://archive.org/details/isbn_9780596518738. Retrieved 2010-06-28. "subrip subtitles youtube."
- "Extraire les sous-titres d'un DVD vidéo" (in French). DivX Magazine. Hors Série (Image Publication Luxembourg) 3: 17-19. 2006. https://download.abandonware.org/magazines/DIVX%20Magazine/divxmagazine_numerohs03.zip.
- Horlings, Jeroen (July 2005). "Onmisbare divx-utilities" (in Dutch). PCM. Gratis bijlage: 51.
External links
- Related media at Wikimedia Commons:
- Commons:Timed Text
- Commons:Universal Subtitles
- ".SRT SubRip file format specification". Doom9. http://forum.doom9.org/showthread.php?p=470941#post470941. "Derived from the SubRip source code"
Original source: https://en.wikipedia.org/wiki/SubRip.
Read more |