Format of subtitle files: 1. Srt format, the full name is "SubRip Text" format; 2. Webvtt format, using elements in html5 to mark additional text track resources; 3. STL format, using three columns The structure is a simple subtitle format; 4. Sbv format, YouTube subtitle format; 5. Ass format, Advanced Sub Station is used to implement more complex functions than traditional subtitle formats such as srt; 6. Dfxp format; 7 , Ttml format.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
Srt format
SubRip Text is its full name. Its production specifications are simple, one sentence code and one subtitle, making Making modifications is quite simple.
Webvtt format
WebVTT (Web Video Text Tracks) uses the element in HTML5 to mark additional text track resources. It is a plain text file ending in .vtt.
Now some online Mooc courses (coursera, etc.) provide subtitles in vtt format. After downloading, some players (Xunlei Video, Baofeng Video) cannot load it, and vtt needs to be converted to srt format.
STL format
STL (Spruce) subtitles is a simple subtitle format, similar to CSV. Adopt a three-column structure
Start time, end time, subtitle text
Time code adopts: hour:minute:second:hundredth of a secondhh:mm:ss:ff
Sbv format
Youtube’s subtitle format, it can automatically generate subtitle files through youtube, the file suffix is .sbv
Ass format
Advanced Sub Station is used to implement more complex functions than traditional subtitle formats such as srt. SSA is also the name of a software designed to create and edit subtitles in SSA format.
The script contains up to five parts: [Script Info], [v4 Styles], [Events], [Fonts], [Graphics]
Dfxp format
Netflix only supports DFXP subtitle format
Ttml format
TTML's full name is Timed Text Markup Language, which is a timed text markup language based on XML. It is intended for use across subtitle and subtitle delivery applications worldwide, simplifying interoperability and maintaining consistency and compatibility with other subtitle file formats.
TTML provides a time-based configuration file to describe the appearance, location, style, animation and other related configurations of text, graphics, images and other content related to digital media. On January 8, 2016, it won the Technology and Engineering Emmy Award from the National Academy of Television Arts and Sciences for its work based on text subtitle standards to improve the accessibility of more digital media content.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What format is the subtitle file in?. For more information, please follow other related articles on the PHP Chinese website!