what is an srt file extension and how to open it

What is an SRT File Extension and How to Open it?

The SubRip tool creates subtitle files containing the timing and subtitles of a video. These files have the .srt extension, and are simple text files which can be opened in most of the text editing programs. In this Buzzle article, we shall understand what .srt files actually are, and how to open them.

Did You Know?
Of all the types of subtitle file formats, .srt is the simplest one. It is compatible with most video player software and subtitle generation applications.
SubRip, as the name suggests, extracts the timings and subtitles of video files. The resulting file has a .srt extension. These files have a text-based format, and thus, can be edited in most text editors, including Notepad and Wordpad. A SubRip or .srt file is divided into multiple parts. Each of the division has an ID, subtitles, start time and end time, and a blank line. Subtitles refer to the text that should be displayed along with the video. The start and end time indicate the exact time at which the subtitle should be displayed. A blank line is used to shift the control to the next line, from where a new subtitle starts. SubRip files contain a filter too which helps in text extraction and preserving its inline format. This filter also manages the line-breaks between the text. A .srt file is a subtitle type of file format. The following are two examples of files with a .srt extension.
Structure I - Without Formatting
1 00:02:17,420 --> 00:02:20,355 Olaf: Some people are worth melting for. [begins to melt, grabs his face to stay up] 2 00:02:20,476 --> 00:02:22,501 Olaf: Just... maybe not right this second.
Structure II - With Formatting
1 00:00:10,500 --> 00:00:13,000 X1:63 X2:223 Y1:43 Y2:58 Olaf: Some people are worth melting for. [begins to melt, grabs his face to stay up] 2 00:00:15,000 --> 00:00:18,000 X1:53 X2:303 Y1:438 Y2:453 <font color="red">Olaf: Just... maybe not right this second.</font>
In both the above .srt structures, numeric 1 and 2 indicate the ID. The next block contains the start and end time, followed by the subtitle text. Structure I contains simple text with no formatting. However, the text of structure II contains HTML formatting (italic, font color). Consider the start and end time block from structure I. 00:02:17,420 --> 00:02:20,355 The block duration is the difference between these two values, which is equal to 00:00:02,935. In order to run the .srt file along with its video/movie, make sure that both the video file and the .srt file have the same name, and are placed at the same location on your computer.
How to Open SRT File Format
Windows Media Player Requirements: If you wish to play the video file with its subtitles in Windows Media Player, make sure you download the DirectVobSub codec from the Internet. Install the specific DirectVobSub version, which is apt for the Windows version on your computer.
  1. On installation of DirectVobSub, run Windows Media Player.
  2. Make sure both the video and .srt files have the same name and are placed in the same directory.
  3. Run Windows Media Player and drag the video file into it.
  4. Click on Play ➜ Captions & Subtitles ➜ On If Available.
  5. Play the video/movie clip.
Tip: This method can be followed for Windows Vista, Windows 7, Windows 8, and all other versions of Windows.
VLC Player Requirements: If you wish to play the video file with its subtitles in VLC player, make sure VLC player is installed on your computer.
  1. Run VLC player. In the menu, click on Media ➜ Open File.
  2. In the window that opens up, select the video file to be played.
  3. On selecting the video/movie file, click on Open.
  4. In the menu, click on Video ➜ Subtitles Track ➜ Open File.
  5. In the window that opens up, select the .srt file for that video file.
  6. On selecting the .srt file, click on OK.
  7. Play the video/movie clip.
Opening/Editing .SRT File in Notepad
  1. Right click on the .srt file ➜ click on Properties.
  2. Select the General tab in the 'titles properties' window.
  3. Click on Change button.
  4. In the 'Open With' window that appears, select Notepad as the Recommended program ➜ check the box 'Always use the selected program to open this kind of file' ➜ click on OK.
  5. Double-clicking the .srt file will now open it in notepad. It can be edited if desired.
Tip: The .srt file can be opened in Word too in place of Notepad. For opening the subtitle file in Microsoft Word, simply select Word as option in Step (iv).
For opening the .srt file on Linux Ubuntu, an application VideoLAN VLC Media Player could be used. Whereas, the programs for opening it on Mac OS X are VideoLAN VLC Media Player, SubCleaner, or any text editor. Since an .srt file works with almost any type of player, simply download the player of your choice and link the .srt file to its respective video file. Remember that a .srt file merely contains text, no video data.

Похожие статьи