Skip to content

Instantly share code, notes, and snippets.

@matibzurovski
Created November 3, 2023 13:48
Show Gist options
  • Save matibzurovski/d690d5c14acbaa399e7f0829f9d6888e to your computer and use it in GitHub Desktop.
Save matibzurovski/d690d5c14acbaa399e7f0829f9d6888e to your computer and use it in GitHub Desktop.
Example srt file
1
00:00:00,000 --> 00:00:02,500
Welcome to the Example Subtitle File!
2
00:00:03,000 --> 00:00:06,000
This is a demonstration of SRT subtitles.
3
00:00:07,000 --> 00:00:10,500
You can use SRT files to add subtitles to your videos.
4
00:00:12,000 --> 00:00:15,000
Each subtitle entry consists of a number, a timecode,
and the subtitle text.
5
00:00:16,000 --> 00:00:20,000
The timecode format is hours:minutes:seconds,milliseconds.
6
00:00:21,000 --> 00:00:25,000
You can adjust the timing to match your video.
7
00:00:26,000 --> 00:00:30,000
Make sure the subtitle text is clear and readable.
8
00:00:31,000 --> 00:00:35,000
And that's how you create an SRT subtitle file!
9
00:00:36,000 --> 00:00:40,000
Enjoy adding subtitles to your videos!
@komesha69
Copy link

Helpful Thanks Bro

@Sevncheng
Copy link

Good job!

@WalinCodeDump
Copy link

Thanks! The tutorial on Indeed was double-spaced and I didn't know why my attempt at replicating it wasn't working. Deleted the unnecessary newlines and everything's working fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment