From 94551da6597c42657191c48a46f31ca2b8bacdc9 Mon Sep 17 00:00:00 2001 From: Rob Smith Date: Tue, 9 Oct 2018 16:55:07 +0100 Subject: [PATCH] Updated WebVMT Editor's Draft Added map & media to data model --- proposals/geotagging/webvmt/index.html | 76 +++++++++++++++++++++++--- 1 file changed, 67 insertions(+), 9 deletions(-) diff --git a/proposals/geotagging/webvmt/index.html b/proposals/geotagging/webvmt/index.html index 948773cb..aa3080ce 100644 --- a/proposals/geotagging/webvmt/index.html +++ b/proposals/geotagging/webvmt/index.html @@ -657,7 +657,7 @@

Hello YouTube

Data Model

- The data model of WebVMT consists of three key elements: the video viewport, cues, and the map viewport. The video viewport is the rendering area for video output. Cues are containers consisting of a set of metadata lines. The map viewport is the rendering area for metadata output, for example graphical annotations overlaid on an online map. + The data model of WebVMT consists of four key elements: the linked media file, the video viewport, cues, and the map viewport. The linked media file contains audio or video data with which cues are synchronised. The video viewport is the rendering area for video output. Cues are containers consisting of a set of metadata lines. The map viewport is the rendering area for metadata output, for example graphical annotations overlaid on an online map.

Overview

@@ -682,20 +682,78 @@

WebVMT Cues

A WebVMT cue is a text track cue with an optional end time and that additionally consists of the following:

-

-

- A cue text -
+
+
+ A cue text +
The raw text of the cue which is interpreted as time-aligned metadata, and rules for its interpretation.
-

+

WebVMT Map

A WebVMT map is the map viewport and provides a rendering area for WebVMT cues.

+

+ A WebVMT map consists of: +

+
+
+ A center latitude +
+
+ The latitude of the location at the center of the map. +
+
+ A center longitude +
+
+ The longitude of the location at the center of the map. +
+
+ A zoom radius +
+
+ The radius of the minimum visible area from the center of the map. +
+
+
+
+

WebVMT Media

+

+ A WebVMT media is the audio or video with which WebVMT cues are synchronised. +

+

+ A WebVMT media consists of: +

+
+
+ A url +
+
+ The url of the linked media file. +
+
+ A MIME type +
+
+ The MIME type of the linked media file. +
+
+ A start time +
+
+ The time and date at which the linked media file begins. +
+
+ A path +
+
+ The path identifier which represents the location of the camera capturing the linked media file. +
+
@@ -1041,7 +1099,7 @@

WebVMT Media Settings

WebVMT Map Settings

- The WebVMT map settings list consists of zero or more of the following components, in any order, separated from each other by one or more U+0020 SPACE characters, U+0009 CHARACTER TABULATION (tab) characters, or WebVMT line terminators, except that the string must not contain two consecutive WebVMT line terminators. Each component must not be included more than once per WebVMT map settings list string. + The WebVMT map settings list consists of the following components, in any order, separated from each other by one or more U+0020 SPACE characters, U+0009 CHARACTER TABULATION (tab) characters, or WebVMT line terminators, except that the string must not contain two consecutive WebVMT line terminators. Each component must be included once per WebVMT map settings list string.

  • @@ -1056,7 +1114,7 @@

    WebVMT Map Settings

    - The WebVMT map center setting gives the location of the center of the map. + The WebVMT map center setting gives the location of the center of the map at the start of the linked media file.

    A WebVMT map zoom setting consists of the following components, in the order given: @@ -1084,7 +1142,7 @@

    WebVMT Map Settings

    - When interpreted as a number, the WebVMT map zoom setting represents the minimum radius in metres from the central location visible in the WebVMT map. + When interpreted as a number, the WebVMT map zoom setting represents the minimum radius in metres from the central location visible in the WebVMT map at the start of the linked media file.

    A WebVMT location setting consists of the following components, in any order, separated from each other by a U+002C COMMA character (,). Each component must be included once per WebVMT location setting string.