SubRip

Subrip
Developer(s) Brain, Zuggy[1]
Stable release 1.50b4 / November 7, 2006; 5 years ago (2006-11-07)[2]
Preview release 1.50b5 / April 30, 2011; 9 months ago (2011-04-30)[3]
Written in Delphi
Operating system Microsoft Windows
Available in English
Type Subtitle editor
License GPL[1]
Website zuggy.wz.cz

SubRip is a software program for Windows which "rips" (extracts) subtitles and their timings from video. It is free software, released under the GNU GPL. SubRip is also the name of the widely used and broadly compatible subtitle text file format created by this software.

Contents

SubRip 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.[4] It can optionally save the recognized subtitles as bitmaps for later subtraction (erasure) from the source video.[5][6]

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,[7] colors and video processing requirements[8] 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.[9]

SubRip uses AviSynth to extract video frames from source video, and can rip subtitles from all video files supported by that program.[8]

SubRip text file format

SubRip (format)
Filename extension .srt
Internet media type application/x-subrip

Specifications

The SubRip file format is "perhaps the most basic of all subtitle formats."[10] SubRip files are named with the extension .srt, and contain formatted plain text. The time format used is hours:minutes:seconds,milliseconds. The decimal separator used is the comma, since the program was written in France. The line break used is often the CR+LF pair. Subtitles are numbered sequentially, starting at 1.

Subtitle number
Start time --> End time
Text of subtitle (one or more lines)
Blank line[10][11]

SubRip .srt file example

1
00:00:20,000 --> 00:00:24,400
Altocumulus clouds occur between six thousand

2 00:00:24,600 --> 00:00:27,800 and twenty thousand feet above ground level.

Compatibility

The SubRip .srt file format is supported by most software video players listed in Comparison of video player software. For Windows software video players that do not support subtitle playback directly, the VSFilter DirectX filter displays SubRip and other subtitle formats.[12] The SubRip format is supported directly by many subtitle creation/editing tools,[13] and some hardware home media players.[14][15][16][17][18] 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.[19]

WebSRT

A format called WebSRT (Web Subtitle Resource Tracks) was as of October 2010 being specified by the Web Hypertext Application Technology Working Group for the proposed HTML5 <track> element. It shared the .srt extension and was "broadly based on" (parts of) the SubRip format, but was not fully compatible with SubRip.[20][21] The prospective format was later renamed WebVTT.[22][23]

Unicode support

The SubRip .srt file format supports any text encoding including ANSI, Unicode Little Endian, Unicode Big Endian, UTF-8. Byte order mark can be used to define encoding unambiguously. Further Unicode support is up to media player.

See also

Notes

  1. ^ a b Zuggy, DVD, November 6, 2006.
  2. ^ Zuggy, Home
  3. ^ Frogger13 (April 30, 2011). SubRip 1.50 Beta 5 (unofficial). Doom9.org.
  4. ^ Thaureaux 2007, pp. 131–134
  5. ^ Zuggy, News, entry dated May 28, 2005.
  6. ^ Thaureaux 2007, p. 132
  7. ^ Thaureaux 2007, p. 136
  8. ^ a b Zuggy, Guide.
  9. ^ Thaureaux 2007, p. 137
  10. ^ a b "SRT Subtitles". matroska.org. CoreCodec Inc.. http://www.matroska.org/technical/specs/subtitles/srt.html. Retrieved 2010-08-19. 
  11. ^ Xiao and Wang: p. 330.
  12. ^ 陈波, 杨涛 (2006). 实用工具软件玩家攻略. 清华大学出版社. pp. 75–76. ISBN 9787302119944. http://books.google.com/?id=FjF2XragdYYC&pg=PA75#v=onepage&q. Retrieved 2010-09-11. 
  13. ^ 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.
  14. ^ Staff (September 2003). "A DivX Player for the Living Room" (Neuston Maestro DVX-1201). Review. hardwaremag.com; Singapore HWM.
  15. ^ tokig (July 13, 2003). "Review of KiSS DP-500 - Playback". nordichardware.com; Nordic Hardware.
  16. ^ Argosy Media Player HV335T HDD(HD1080p) Product page argosy.com; Argosy, 2009.
  17. ^ Cericola, Rachel (2009-12-08). Western Digital WD TV Live HD Media Player Review. bigpicturebigsound.com; Big Picture Big Sound.
  18. ^ Suerte Felipe, Carlo (February 16, 2009). Get stylish with Samsung DVD-F1080. Manila Bulletin Publications. Retrieved 2010-08-19.
  19. ^ Chisholm and May: p. 82.
  20. ^ Understanding WebSRT format
  21. ^ WebSRT, from the WHATWG HTML draft specification, retrieved 2010-10-14
  22. ^ Kennedy, Antony; de Leon, Inayaili (2011). Pro CSS for High Traffic Websites. Apress. ISBN 978-1430232889. http://books.google.com/books?id=9A6w3ZBDtysC&pg=PA168#v=onepage&f=false. 
  23. ^ Pfeiffer, Silvia (June 27, 2011). "Recent developments around WebVTT". http://blog.gingertech.net/2011/06/27/recent-developments-around-webvtt/. 

References

External links