Misplaced Pages

SubRip

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.

This is an old revision of this page, as edited by 188.237.101.70 (talk) at 13:42, 3 May 2013 (Compatibility). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 13:42, 3 May 2013 by 188.237.101.70 (talk) (Compatibility)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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

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.

1. Iesi din casa bai nu astepta ziua aceia Ca sa vina moartea sa te ia. Stiu ca teai obinuit sa nu faci nimic De aia fiecare clipa o traiesti plictisit Mai dati o shansa trageti o palma pe fata Si cred ca nu e tarziu sa incepi o noua viata De ce nu te ai adapta la viata rea Si continui sa traiesti din imaginatia ta ........................................................................................

ref: E usor, fara griji, sa traiesti ca un vagabont fara nimic Nu ai bani si nici masina si te intrebi de ce fetele te resping ........................................................................................ 2. Ai scapat ceva? crezi ca e tarziu deja ? Te simti un retardat Si crezi ca misiunea ti sa terminat Hai nu fi stupid, trezestete un pik Si vezi ca lumea e la fel ca tine Adunati fortele propuneti dorintele Crede in ambitie si lumea te va asculta Nu mai fi asa timid, ca viata cum tiam spus e rea. ........................................................................................... ref: E usor, fara griji, sa traiesti ca un vagabont fara nimic Nu ai bani si nici masina si te intrebi de ce fetele te resping ........................................................................................... 3. Nu vreau sa fiu ca tine, pentru ca sunt ca tine Si nu merita sa ashtept ziua de maine Incerc sa gresesc, sa ma umilesc Ca merita fiecare momen trait firesc Nasoala e viata privita dintro parte Cred ca o sa fac si asta intro alta etapa Acum e timpul meu e si timpul tau Merita sa risti cai bine cai rau...

ref: E usor, fara griji, sa traiesti ca un vagabont fara nimic Nu ai bani si nici masina si te intrebi de ce fetele te resping

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.

References

External links

Categories: