Misplaced Pages

SubRip: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 08:48, 11 May 2013 edit79.113.108.140 (talk) SubRip text file format← Previous edit Revision as of 08:48, 11 May 2013 edit undoClueBot NG (talk | contribs)Bots, Pending changes reviewers, Rollbackers6,439,126 editsm Reverting possible vandalism by 79.113.108.140 to version by 71.203.216.20. False positive? Report it. Thanks, ClueBot NG. (1635327) (Bot)Next edit →
Line 26: Line 26:
SubRip uses ] to extract video frames from source video, and can rip subtitles from all video files supported by that program.<ref name="Zguide"/> SubRip uses ] to extract video frames from source video, and can rip subtitles from all video files supported by that program.<ref name="Zguide"/>


==SubRip text file format==
INTR-O ZI
{{Infobox file format
TOTUL LASAM
| name = SubRip (format)
NU LUAM NIMIC
| screenshot =
DE AICI CAND PLECAM
| extension = .srt
NE INTREBAM
| mime = application/x-subrip
OARE CE ESTE VIATA?
}}
SI BUNE SI RELE
IN URMA LASAM
AMINTIRILE
E TOT CE AVEM
NE INTREBAM
OARE CE ESTE VIATA?
REF 1: /: VIATA ESTE MULT MAI MULT
VIATA NU ESTE PAMANT
VIATA ESTE VENITA DE SUS
VIATA ESTE IN ISUS:/


===Specifications===
REFREN:
The SubRip file format is "perhaps the most basic of all subtitle formats."<ref name="Matroska">{{cite web|url=http://www.matroska.org/technical/specs/subtitles/srt.html |title=SRT Subtitles |publisher=CoreCodec Inc. |work=matroska.org |date= |accessdate=2010-08-19}}</ref> SubRip (SubRip Text) files are named with the ] <code>.srt</code>, and contain formatted plain text. The time format used is '''hours:minutes:seconds,milliseconds'''. The ] used is the comma, since the program was written in ]. The line break used is often the ] pair. Subtitles are numbered sequentially, starting at 1.
NU ALEGI
:'''Subtitle number'''
CAND SA TE NASTI
:'''Start time --> End time'''
NU ALEGI CAT VREI SA TRAIESTI
:'''Text of subtitle (one or more lines)'''
NU ALEGI CAND AI SA MORI
:'''Blank line<ref name="Matroska"/><ref>Xiao and Wang: p. 330.</ref>'''
DAR POTI SA ALEGI
<!-- moved unsourced styling tags to Talk -->
DE CINE S-ASCULTI.
/:ALEGE-L PE ISUS:/


Six, Seven, seven I can't... I can't. Oh man. Jee wiz Timmy. It looks like we have some pretty stiff competition this year.
2. ATATA DURERE

SI NECAZ
===Compatibility===
OAMENII SE FRAMANTA
The SubRip <code>.srt</code> file format is supported by most software video players listed in '']''. For ] software video players that do not support subtitle playback directly, the ] ] filter displays SubRip and other subtitle formats.<ref>{{cite book | title=实用工具软件玩家攻略 |author= 陈波, 杨涛 |publisher=清华大学出版社 |year=2006
LA ORICE PAS
|isbn=978-7-302-11994-4 |pages=75–76 |url=http://books.google.com/?id=FjF2XragdYYC&pg=PA75#v=onepage&q |accessdate=2010-09-11}}</ref><!-- claim is also supported in VSFilter article. -->
NE INTREBAM
The SubRip format is supported directly by many subtitle creation/editing tools,<ref>Martin, Chris (Dec 29, 2009). . ''aboutonlinetips.com''; Binary Head. All apps listed support SubRip(SRT), but the article is specific about 7 of 15.</ref>
OARE CE ESTE VIATA?
and some hardware home media players.<ref>Staff (September 2003). . Review. ''hardwaremag.com''; Singapore HWM.</ref><ref>tokig (July 13, 2003). . ''nordichardware.com''; Nordic Hardware.</ref><ref> ''argosy.com''; Argosy, 2009.</ref><!--needs independent review--><ref>Cericola, Rachel (2009-12-08). Review. ''bigpicturebigsound.com''; Big Picture Big Sound.</ref><ref>Suerte Felipe, Carlo (February 16, 2009). . ] Publications. Retrieved 2010-08-19.</ref>
ALERGAM INTRUNA
In August 2008, YouTube added subtitle support to its ] video player under the "Closed Captioning" option - content producers can upload subtitles in SubRip format.<ref>Chisholm and May: p. 82.</ref>
CU CAPUL PLECAT

UITAM SA PRIVIM
====WebSRT==== <!-- see Talk #1 -->
LA CERUL INALT
A format called WebSRT (Web Subtitle Resource Tracks) was as of October 2010 being specified by the ] for the proposed ] <code>&lt;track&gt;</code> element. It shared the <code>.srt</code> extension and was "broadly <!-- see Talk #2--> based on" (parts of) <!-- see Talk #3 --> the SubRip format, but was not fully compatible with SubRip.<ref></ref><ref>, from the WHATWG HTML draft specification, retrieved 2010-10-14</ref><!-- sources for whole paragraph -->
NE INTREBAM
The prospective format was later renamed WebVTT.<ref>{{cite book
DOAR PAMANT ESTE VIATA?
|url=http://books.google.com/books?id=9A6w3ZBDtysC&pg=PA168#v=onepage&f=false
|title=Pro CSS for High Traffic Websites
REF 1:
|first=Antony |last=Kennedy |first2=Inayaili |last2=de Leon
/:VIATA ESTE MULT MAI MULT
|publisher=]
VIATA NU ESTE PAMANT
|year=2011
VIATA ESTE VENITA DE SUS
|isbn= 978-1-4302-3288-9}}</ref><ref>{{cite web
VIATA ESTE IN ISUS:/
|url=http://blog.gingertech.net/2011/06/27/recent-developments-around-webvtt/
|title=Recent developments around WebVTT
|date=June 27, 2011
|first=Silvia
|last=Pfeiffer
}}</ref> The main differences are:
* WebVTT's first line starts with WEBVTT
* All characters are ]
* ] is used instead of the FONT tag


== Unicode support == == Unicode support ==

Revision as of 08:48, 11 May 2013

Subrip
Developer(s)Brain, Zuggy
Stable release1.50b4 / November 7, 2006 (2006-11-07)
Preview release1.50b5 / April 30, 2011 (2011-04-30)
Written inDelphi
Operating systemMicrosoft Windows
Available inEnglish
TypeSubtitle editor
LicenseGPL
Websitezuggy.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.

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. 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 .srt file.

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

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." SubRip (SubRip Text) 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

Six, Seven, seven I can't... I can't. Oh man. Jee wiz Timmy. It looks like we have some pretty stiff competition this year.

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. The SubRip format is supported directly by many subtitle creation/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.

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. The prospective format was later renamed WebVTT. The main differences are:

  • WebVTT's first line starts with WEBVTT
  • All characters are UTF-8
  • CSS is used instead of the FONT tag

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 if the media player uses a Unicode font. Due to font licensing restrictions most embedded systems only support ISO-8859 fonts.

SubRip .srt file encoding tools

Software tools to encode .srt subtitle files into video containers (avi, mkv, mp4, ...):

See also

Notes

  1. ^ 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. ^ Zuggy, Guide.
  9. Thaureaux 2007, p. 137
  10. ^ "SRT Subtitles". matroska.org. CoreCodec Inc. Retrieved 2010-08-19.
  11. Xiao and Wang: p. 330.
  12. 陈波, 杨涛 (2006). 实用工具软件玩家攻略. 清华大学出版社. pp. 75–76. ISBN 978-7-302-11994-4. 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-1-4302-3288-9.
  23. Pfeiffer, Silvia (June 27, 2011). "Recent developments around WebVTT".

References

External links

Categories: