Subtitle files are the special files that are embedded in a video file to enhance the understandability of its audio.
The subtitle file is designed such as to display some text on a desired time. The code of subtitle file has mainly two important and necessary parts namely - time and text. The common extensions are *.cdg, *.idx, *.srt, *.sub, *.utf, *.ass, *.ssa, *.aqt, *.jss, *.psb, *.rt, *.smi, *.txt, *.smil, *.stl, *.usf, *.dks, *.pjs, *.mpl2, *.mks, *.vtt
In this post you will learn how to design a subtitle file (with *.srt extension) of your own.
To begin with just follow me.
As I've stated earlier that subtitle file has two parts - time and text, the time precedes the text with a carriage return (enter key) in between. The time is specified in hh:mm:ss format and then the text is typed. To separate two different time interval use “-->”.
For instance, type the code give below in notepad and save it as *.srt with save as type: All files.
1
00:00:3 --> 00:00:30
<u><font color="green" face="Algerian">My name is Suryansh</font></u>
2
00:00:30 --> 00:00:40
<u><font color="red">and I</font></u>
3
00:00:41 --> 00:01:00
<b>Succeeded in making first custom subtitle file</b>
NOTE: - (i) Numberings the lists is optional.
(ii) Extra Carriage return (enter key) is necessary in between two blocks.
(iii)The HTML tags used are as per your choice and are optional.
You can play video with this subtitle directly from the VLC media player or you can add it permanently to any video from video converters (E.g. Xilisoft Video Converter, Any Video Converter, etc.
The video converters will not recognize the HTML tags so do not use them.
Hope you liked this cool trick. Please share it with your friends and come back here again.
Hope you liked this cool trick. Please share it with your friends and come back here again.
COMMENTS