WebVTT
Dan Tobias (Talk | contribs) (Created page with "{{FormatInfo |formattype=electronic |subcat=Video |subcat2=Subtitle formats |released=2014 |mimetypes={{mimetype|text/vtt}} }} '''WebVTT''' is a format for subtitles (e.g., to...") |
(Updated PRONOM) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|subcat2=Subtitle formats | |subcat2=Subtitle formats | ||
|released=2014 | |released=2014 | ||
+ | |pronom={{PRONOM|fmt/1454}} | ||
+ | |extensions={{ext|vtt}} | ||
|mimetypes={{mimetype|text/vtt}} | |mimetypes={{mimetype|text/vtt}} | ||
+ | |wikidata={{wikidata|Q3566973}} | ||
}} | }} | ||
'''WebVTT''' is a format for subtitles (e.g., to accompany video) which has been proposed as a W3C draft in 2014. It has some similarities to the [[SubRip text file format]], but uses a different syntax. As it is only a draft as of this writing, it may still be subject to change. | '''WebVTT''' is a format for subtitles (e.g., to accompany video) which has been proposed as a W3C draft in 2014. It has some similarities to the [[SubRip text file format]], but uses a different syntax. As it is only a draft as of this writing, it may still be subject to change. | ||
Line 10: | Line 13: | ||
== Format == | == Format == | ||
− | Files consist of a series of subtitles and/or comments, separated by blank lines. Any of the standard line-termination sequences (CR, LF, CR+LF) are allowed to mark the end of a line. A "metadata header" may precede the first subtitle or comment. A comment consists of a segment beginning with the word "NOTE". A subtitle consists of a line giving the timing of the subtitle (<code>HH:MM:SS.XXXX --> HH:MM:SS.XXXX</code> or <code>MM:SS.XXXX --> MM.SS.XXXX</code> (possibly followed by some positioning elements) followed by one or more lines of subtitles. Some embedded tags can be used within the subtitles, for instance to identify which character is speaking (<code><v Jane></code>) | + | Files consist of a series of subtitles and/or comments, separated by blank lines. Any of the standard line-termination sequences (CR, LF, CR+LF) are allowed to mark the end of a line. A "metadata header" may precede the first subtitle or comment. A comment consists of a segment beginning with the word "NOTE". A subtitle consists of a line giving the timing of the subtitle (<code>HH:MM:SS.XXXX --> HH:MM:SS.XXXX</code> or <code>MM:SS.XXXX --> MM.SS.XXXX</code> (possibly followed by some positioning elements) followed by one or more lines of subtitles. Some embedded tags can be used within the subtitles, for instance to identify which character is speaking (<code><v Jane></code>). The character encoding is [[UTF-8]]. |
== Identification == | == Identification == | ||
− | WebVTT files always begin with the characters <code>WEBVTT<code>, possibly preceded by a [[Byte Order Mark]]. | + | WebVTT files always begin with the characters <code>WEBVTT</code>, possibly preceded by a [[Byte Order Mark]].<ref>https://www.w3.org/TR/webvtt1/#file-structure</ref> |
== Links == | == Links == | ||
* [http://dev.w3.org/html5/webvtt/ WebVTT draft (W3C)] | * [http://dev.w3.org/html5/webvtt/ WebVTT draft (W3C)] | ||
+ | * [[Wikipedia:WebVTT|WebVTT (Wikipedia)]] | ||
+ | * [https://www.3playmedia.com/blog/how-to-create-a-webvtt-file/ How to Create a WebVTT file] | ||
+ | * [https://www.vtt-creator.com/ VTT Creator] | ||
+ | |||
+ | ==References== | ||
+ | <references/> |
Latest revision as of 18:33, 10 November 2021
WebVTT is a format for subtitles (e.g., to accompany video) which has been proposed as a W3C draft in 2014. It has some similarities to the SubRip text file format, but uses a different syntax. As it is only a draft as of this writing, it may still be subject to change.
Contents |
[edit] Format
Files consist of a series of subtitles and/or comments, separated by blank lines. Any of the standard line-termination sequences (CR, LF, CR+LF) are allowed to mark the end of a line. A "metadata header" may precede the first subtitle or comment. A comment consists of a segment beginning with the word "NOTE". A subtitle consists of a line giving the timing of the subtitle (HH:MM:SS.XXXX --> HH:MM:SS.XXXX
or MM:SS.XXXX --> MM.SS.XXXX
(possibly followed by some positioning elements) followed by one or more lines of subtitles. Some embedded tags can be used within the subtitles, for instance to identify which character is speaking (<v Jane>
). The character encoding is UTF-8.
[edit] Identification
WebVTT files always begin with the characters WEBVTT
, possibly preceded by a Byte Order Mark.[1]