====== ffmpeg - Subtitles - Preparing an SRT Subtitle file ====== An SRT file (SubRip Subtitle file) is a text file that contains subtitle information for videos, including the text of the dialogue and the timing for when each subtitle should appear and disappear on the screen. Every SRT file consists of these four components: * The counter/index for the subtitle. * The start and end time of the subtitle in "hours:minutes:milliseconds" format. * The subtitle text. * A blank line to indicate the end of the subtitle. ---- ===== Create a SRT subtitle file ===== Use any text editor to add texts to the subtitle file. 1 00:00:0,000 --> 00:00:2,000 This is the first sentence 2 00:00:2,000 --> 00:00:4,000 This is the second sentence 3 00:00:4,000 --> 00:00:7,000 This is the third sentence 4 00:00:7,000 --> 00:00:10,000 This is the forth sentence **NOTE:** The filename can be anything, but usually ends with **.srt**.