07:08:12 RRSAgent has joined #tt 07:08:13 logging to http://www.w3.org/2014/09/17-tt-irc 07:08:14 RRSAgent, make logs public 07:08:14 Zakim has joined #tt 07:08:16 Zakim, this will be TTML 07:08:16 ok, trackbot; I see IA_TTWG()3:00AM scheduled to start 8 minutes ago 07:08:17 Meeting: Timed Text Working Group Teleconference 07:08:18 Date: 17 September 2014 07:08:30 chair: nigel 07:08:32 scribeNick: nigel 07:09:22 Present: frans_EBU, tmichel, Cyril, pal, andreas, mdolan, glenn 07:09:26 Zakim, who is on the phone? 07:09:26 IA_TTWG()3:00AM has not yet started, nigel 07:09:28 On IRC I see RRSAgent, nigel, pal, Cyril, glenn, elindstrom, trackbot 07:09:35 zakim, this is TTML 07:09:36 ok, nigel; that matches IA_TTWG()3:00AM 07:09:42 Zakim, who is on the phone? 07:09:42 On the phone I see Geneva 07:11:03 mike has joined #tt 07:14:22 Topic: IMSC 1 issues 07:14:26 issue-339? 07:14:26 issue-339 -- Allow the use of #overflow -- open 07:14:26 http://www.w3.org/AudioVideo/TT/tracker/issues/339 07:15:13 pal: My assessment is that there's ambiguity in TTML1SE on what visible means. The value "hidden" is much clearer, and forces the author to 07:15:40 ,,, size the region so that all the text shows up when he's authoring. That provides a solid basis for the presentation engine based on that assumption. 07:15:46 s/,,,/... 07:16:17 pal: there's been a suggestion that visible needs to be permitted to ensure that text is drawn, but that doesn't take into account the common case in the US 07:16:31 ... where implementations allow user control of font size. 07:17:25 ... There's a potential impact on HRM. I haven't heard any strong technical argument for including visible in IMSC 1, why it's a good thing. 07:17:34 ... So it's my recommendation that we don't include it. 07:17:58 glenn: Irrespective of that, if the adoption of IMSC is curtailed then that's a valid reason. 07:18:31 andreas: Is it right that the reason for not allowing overflow in IMSC is based on a misreading of TTML1SE overflow definition? 07:19:11 pal: I don't think that's the entire story. First I don't think that correcting the region growth muting the HRM would solve the problems on existing implementations. 07:19:34 ... We're talking about provisions with conformance language. Even if we all agree here on the intent it would not solve the problem for implementations. 07:20:02 ... Second, tts:overflow="visible" allows the authored document to appear correct to the author and yet does not provide a good basis for the presentation engine. 07:20:27 andreas: In IMSC 1 if overflow is not allowed, how is it handled? In TTML1 the feature exists and there are assumptions about how it should be handled. 07:20:37 ... So where are the reasons not to include the attribute? 07:20:55 pal: The default value of the attribute is hidden, which avoids any confusion. 07:22:39 ... The default in CSS is visible, not hidden. Is it really the intended behaviour to prevent the presentation processor from being allowed to display text out of the region? 07:22:47 s/mdolan/mike 07:23:28 mike: In the proposals are we talking about document conformance or presentation processor conformance? 07:24:07 andreas: Shouldn't it be the same? If you set it in the document to a specific value then the processor must interpret it as specified? 07:24:36 mike: If you allow the value but some presentation processors don't support it then that creates one environment. If you forbid it in the document 07:24:41 ... then that situation is avoided. 07:24:55 Present+ courtney 07:25:08 tmichel has joined #tt 07:25:20 andreas: The main thing is to permit it in the document. If an IMSC processor does not support the feature then would the processor reject it? 07:25:35 glenn: It's a document conformance issue in that case. 07:25:53 pal: The spec says what the document must contain. 07:26:17 andreas: So if a processor sees an IMSC document with this attribute set then it can reject it. 07:26:35 glenn: BY excluding visible then you're saying that overflow content will never be visible. I wonder if that's in the interest of the author or the end user. 07:27:11 pal: That's not my read of it. There's a specific use case in the US where users can change the size of fonts. Clearly no implementation, if it permits this, would hide 07:27:22 ... the text, or simply overflow the text out of the region like in the example. 07:27:35 glenn: Any implementation that does either of those is a non-conformant processor. 07:27:50 glenn: Assuming that we care about implementations conforming to the spec... 07:28:19 pal: That choice by the user is made at rendering, and the processor can assume something about the authors intentions and can scale the region accordingly. 07:28:33 glenn: You're projecting into the spec something that is not there. 07:29:01 pal: One approach would be to capture that intent language. 07:29:19 glenn: I would object to any language in IMSC that would imply or specify that a presentation processor should alter the region size based on a user setting. 07:29:46 ... That doesn't mean we can't in the future define support for that feature, but IMSC 1 is intended to be compatible with TTML1. 07:32:14 nigel: We need to get to a resolution on this, and so far I've not formally heard an objection to Issue-339. 07:32:22 pal: I formally object to Issue-339. 07:33:17 andreas: Shows an example where overflow=visible would be helpful, without affecting the dimensions of the block container. 07:34:13 ... The behaviour when hidden is to obscure some of the text. 07:34:22 pal: Can we look at the normative wording in TTML1SE? 07:34:41 andreas: The features in TTML1SE are explained with reference to XSL-FO. 07:35:07 glenn: It was not the intended behaviour of TTML1SE to diverge from XSL-FO. The example in the spec clearly shows that. 07:35:45 ... Whoever has read that clause wrongly has ignored other wording in the spec and hasn't checked with the group or the editor. 07:36:04 ... I can see how an implementation may be based on a reading inconsistent with the intended meaning. 07:36:13 ... I've filed an issue for this, as an errata. 07:36:32 issue-345? 07:36:32 issue-345 -- tts:overflow - ambiguous language about region extent -- pending review 07:36:32 http://www.w3.org/AudioVideo/TT/tracker/issues/345 07:37:21 glenn: Computation meant of the descendant areas not of the region itself. The erratum in issue-345 is available also here: 07:37:48 Cyril: There does seem to be a discrepancy between the normative spec text and the example. 07:37:51 glenn: Agrees. 07:38:23 Cyril: It's normal not to go back to the WG for guidance. The normative text would be used first. 07:38:58 pal: We can't blame readers of the spec for the spec having the wrong words. 07:39:30 glenn: I admit that, so if the spec doesn't properly express the intent normatively, we need to fix it. 07:40:04 glenn: The question is how to we deal with the implementations taking the non-intended interpretation. 07:40:23 pal: We have to be more factual - some implementations have followed one path, others another. 07:40:34 ... I'm not convinced that Andreas's example diagram is what most implementations do. 07:40:44 glenn: It's what every CSS and XSL-FO implementations do. 07:41:00 pal: That's a way to express semantics only though. 07:41:25 glenn: The implementation described is inconsistent with that behaviour and is non-interoperable. 07:41:33 https://dvcs.w3.org/hg/ttml/raw-file/default/ttml1/spec/ttml1-errata.html#errata-8.2.15-1 07:42:01 andreas: Do you know of any implementation that implements visible with the alternative reading of the spec text? 07:42:19 pal: That's how implementors understood it. 07:42:51 andreas: But are there any implementations that use overflow visible and implement it in the non-intended way? 07:44:34 nigel: I want to understand here - is the basis of the objection the potential implementation based on a misreading of the spec, which we can address? 07:44:46 pal: I have other reasons too. 07:45:34 andreas: The authoring tools may not know the presentation renderer's font layout behaviour precisely, so if that happens, it's probable that 07:45:53 ... the region defined isn't large enough to fit the text into it. 07:46:00 pal: If you use reference fonts you can get around this. 07:46:19 pal: I would think that implementations that want to present nicely wouldn't just extend the text without the region background. 07:46:43 glenn: Yes but those images were reviewed by the group and even though they're non-normative they are the specification. 07:46:57 pal: But implementations may want to do something cleverer. 07:47:30 glenn: We're not specifying any user agent in the spec. If a UA wants to do things cleverer that's up to it. We don't have a certification process for TTML or IMSC 07:48:14 ... presentation engines. 07:48:23 glenn: I don't think the example image can just be ignored. 07:48:36 Cyril: If the spec is broken the reader needs to look primarily at the normative text. 07:49:04 glenn: Also, in the CSS spec it says that even if overflow is visible content may in fact be clipped. 07:49:15 andreas: This is why the spec text says "should" not be clipped. 07:49:43 andreas: Proposal: 1. Fix TTML1SE with an erratum as per issue-345; then how to deal with IMSC? IMSC is a subset of 07:50:04 ... TTML so you can restrict within TTML. So we have room if we include overflow to make clear what is meant and add any other text that would improve 07:50:23 ... the implementation on the decoder side. This would give clear guidance to implementors implementing IMSC. 07:51:33 mike: That sounds fine but the fundamental issue with overflow is that there are implementations today that have undefined behaviour if it is present and set to visible. 07:52:10 nigel: But there can't be an IMSC processor that has any behaviour as it's not in the spec. 07:52:55 mike: The default value from TTML1 may be taken to be the defined behaviour in the absence of the attribute. 07:53:17 glenn: I'm not sure if there are any implementations here. 07:53:31 andreas: It may be in the TTML test spec. 07:53:46 mike: Yes it's probably there in the TTML test suite. 07:55:36 andreas: The behaviour according to TTML1Se is a SHOULD not a SHALL so any implementation that treats visible identical to hidden wouldn't be broken. 07:56:24 ... On purpose the feature is written that different forms of rendering are valid, and one of them is the one that's already implemented, the other is to do the new behaviour. 07:56:31 mike: That's a problem in itself. 07:57:14 pal: The fundamental issue is that different people have interpreted this to mean different things. What author doesn't want their text to be shown? I don't know of any. 07:57:30 ... but that's not what the normative text says. 07:57:37 glenn: That's a matter of disagreement. 07:58:04 pal: The specific meaning is not the ideal one. 07:58:14 glenn: That's exactly the same as the XSL-FO and CSS model without any change at all. 07:59:29 https://dvcs.w3.org/hg/ttml/raw-file/default/ttml1/old/dfxp/tests/sOverflow001.png 07:59:43 nigel: We can only base IMSC 1 on TTML1SE, and overflow is the only show in town. We can address this in IMSC 2 or TTML2 but we don't have that option. 08:00:41 glenn: That link shows an image that has been in existence as part of the DFXP test suite for a long time. 08:00:49 zcorpan_ has joined #tt 08:02:11 courtney has joined #tt 08:03:07 nigel: We have two opposing positions and no consensus yet, so we need to find some alternative that can remove the objections. 08:04:34 coffee break, back in 5 minutes. 08:17:42 and we're back 08:18:17 nigel: Unfortunately we haven't resolved the issues. 08:18:43 glenn: I believe there are two things: one, fixing the spec, which I've proposed, two, whether or not to support visible in IMSC. 08:19:58 pal_ has joined #tt 08:22:14 elindstrom has joined #tt 08:22:45 Topic: Tests and mappings 08:23:27 nigel: suggest we split into 3 groups, each taking a non-overlapping topic. Each group to have at least one WebVTT expert and one TTML expert. 08:23:56 ... I'll be awarding prizes for the best test cases and resolved issues! 08:25:16 nigel: I guess a test is a pair of documents and a pass/fail criteria. We can paste these into the wiki later, or put them in directly. 08:27:06 courtney: I have some proposals for the issues, can I show them. 08:28:07 ... Shows example for id mapping. 08:28:21 ... and for begin and end times, and style. 08:28:35 ... (assuming there's an appropriate CSS document that goes along with it). 08:28:59 mike: So the idea is that there's a CSS document accompanying the WebVTT document? 08:29:04 courtney: Yes. 08:29:24 Cyril: How do we test that the result is the same thing? Which players can we use? 08:30:03 andreas: As we are targeting WebVTT current spec there aren't any implementations that support all features. 08:30:57 courtney: I can think of a not-yet-available WebVTT player. 08:31:06 andreas: Maybe we should include the target example too. 08:31:13 courtney: I agree. 08:31:34 andreas: We can make it up in HTML and express the test output as we expect to see it in HTML. 08:31:59 Cyril: firefox has a js implementation of WebVTT to make HTML - feed it cues and get back HTML. It doesn't implement everything yet, e.g. not reasons. 08:32:06 andreas: I suggest doing it by hand. 08:33:10 zakim, pick a victim 08:33:10 Not knowing who is chairing or who scribed recently, I propose Geneva 08:33:27 zakim, pick a victim 08:33:27 Not knowing who is chairing or who scribed recently, I propose Geneva 08:35:09 http://www.w3.org/2008/10/dfxp-test-coverage.html 08:36:59 nigel: There's a zip file link at the bottom. 08:38:37 pal has joined #tt 08:38:39 http://www.w3.org/2008/12/dfxp-testsuite/web-framework/START.html 08:39:29 Cyril: I've made a test example. The naming convention is e.g. br001.xml - I'll make a br001.vtt 08:39:58 courtney has joined #tt 08:43:59 tm has joined #tt 08:45:49 nigel: I suggest we upload the files to the wiki and create a child page of https://www.w3.org/wiki/TimedText/TTMLtoWebVTT to reference the files for each test 09:14:15 see http://lists.w3.org/Archives/Public/public-tt/2014Sep/0050.html for info/download of (now dated) DFXP Viewer Application 09:29:38 group starts working on tests etc 09:29:43 rrsagent, make logs public 09:29:49 rrsagent, generate minutes 09:29:49 I have made the request to generate http://www.w3.org/2014/09/17-tt-minutes.html nigel 09:49:50 Here are some links to VTT test files: https://github.com/w3c/web-platform-tests/tree/master/webvtt 10:30:21 nigel: Time to start thinking about heading up for lunch. 10:30:38 courtney: When I've put these in the draft doc I may come back and ask for more assistance generating more tests. 10:30:53 Cyril: I need to go after lunch, so what I've done so far: 10:31:09 ... made a viewer HTML page for the WebVTT, and set up a test environment for displaying them; 10:31:31 ... Made WebVTT examples from the tests for most of the content elements - 10 examples in all. 10:32:20 Cyril: There's another issue for the list, for WebVTT. To add style to a particular cue, in the VTT cue there's a cue span with an identifier, then 10:32:41 ... in the CSS there are rules that apply to that class. If you have multiple video elements in a page you have to load all the CSS files and there may be naming clashes 10:32:50 ... between the classes in different files. I don't know how to resolve that. 10:33:01 andreas: For the specific example of a single mapping we don't have that problem. 10:33:12 Cyril: That's fine, but this is a problem that WebVTT will need to handle. 10:34:00 courtney: Having a style: in the WebVTT header would be one proposal. 10:34:16 Cyril: It would solve the scoping problem if we had the possibility to include the CSS in the WebVTT file. 10:34:29 ... Alternatively to put CSS properties directly on the cue. 10:34:36 courtney: That would map nicely to TTML. 10:34:57 Cyril: there are some parsing issues there, because spaces are allowed in CSS but not in WebVTT, so it would need some thought. 10:35:13 ... We should use the web platform tests to post our sequences, in the github repository. 10:35:19 andreas: +1 to using the github repository. 10:35:46 Cyril: You don't need a complex procedure just to use that as a repository as opposed to automating the tests with javascript. 10:37:39 Adjourns meeting for lunch 10:37:43 rrsagent, generate minutes 10:37:43 I have made the request to generate http://www.w3.org/2014/09/17-tt-minutes.html nigel 10:38:15 -Geneva 10:38:16 IA_TTWG()3:00AM has ended 10:38:16 Attendees were Geneva 10:44:03 elindstrom has joined #tt 10:47:07 Zakim has left #tt 11:23:41 elindstrom has joined #tt 11:38:06 glenn has joined #tt 11:43:02 glenn has joined #tt 11:50:46 Zakim has joined #tt 11:50:51 zakim, this is ttml 11:50:52 nigel, I see IA_TTWG()3:00AM in the schedule but not yet started. Perhaps you mean "this will be ttml". 11:51:14 zakim, this is ttml 11:51:14 nigel, I see IA_TTWG()3:00AM in the schedule but not yet started. Perhaps you mean "this will be ttml". 11:52:30 trackbot, start meeting 11:52:32 RRSAgent, make logs public 11:52:34 Zakim, this will be TTML 11:52:34 ok, trackbot; I see IA_TTWG()3:00AM scheduled to start 292 minutes ago 11:52:35 Meeting: Timed Text Working Group Teleconference 11:52:35 Date: 17 September 2014 11:52:37 zakim, this is tt 11:52:37 tm, I see IA_TTWG()3:00AM in the schedule but not yet started. Perhaps you mean "this will be tt". 11:54:13 courtney has joined #tt 11:55:02 Topic: overflow (redux) 11:56:13 issue-339 11:56:13 issue-339 -- Allow the use of #overflow -- open 11:56:13 http://www.w3.org/AudioVideo/TT/tracker/issues/339 11:56:16 Reasons against permitting #overflow in IMSC 1: 11:56:32 * It is unclear what presentation processors should do if tts:overflow=“visible”, so there would be interoperability issues with different processors producing different output. 11:56:47 * There are mechanisms available to allow authors to avoid any overflow scenario occurring (via reference fonts). 11:56:58 * Authors may use tts:overflow=“visible” as a proxy for setting region extent too small, on the basis that implementations will expand the region to fit. That would break the presentation model and allow the HRM to report a lower complexity value than is correct. 11:57:26 * CFF-TT implementations would require change. 11:57:36 * If an IMSC 1 were to include a processor profile that states that #overflow support is required then existing conformant processors would be forced to reject the document. 11:57:40 /invite zakim &test 11:57:47 s/1 were/1 document were 11:58:13 Reasons for permitting #overflow in IMSC 1: 11:58:20 * It would curtail adoption of IMSC 1 if the feature were prohibited. 11:58:30 * Implementations are already expected not to clip text, as it is never the authorial intent. So arguably the current wording in IMSC 1 that prohibits values other than the initial “hidden” is incorrect. 11:59:11 * The mechanisms for allowing authors to avoid overflow scenarios can never be complete so an alternative is needed. 11:59:39 * There are real world cases where overflow=visible is better for the audience than overflow=hidden. 11:59:55 * There are already some changes planned for IMSC 1 that would require changes to existing implementations e.g. CFF-TT processors. 12:01:56 mike: Could you elaborate more on the last one? 12:02:27 andreas: I think it just means that implementation changes are possible. 12:03:39 frans: Can we list the changes? 12:04:50 mike: I think there's a qualitative difference between the implementation of some of the features, so I'd suggest softening "would" to "may" require changes. 12:05:43 pal: I'm suggesting not implementing Issue-339 because the feedback I have had is that it would be a significant engineering change. 12:06:11 Frans_EBU has joined #tt 12:06:50 andreas: I'd add one further reason to integrate it: documents that would be authored against other standards would be invalidated re IMSC by omitting this feature. 12:07:14 s/frans:/Frans_EBU: 12:08:04 andreas: If we accepted #overflow then this allows almost all EBU-TT-D documents to be valid IMSC 1 documents, but preventing it would invalidate them. 12:08:35 mike: The opposite is also true - by permitting it, from the profile perspective, it would invalidate CFF-TT documents. 12:10:04 Options we have now: 12:10:15 * Fix wording in TTML1SE as per issue-345. 12:10:24 * Movement to CR: we can 12:10:31 ** block CR until this issue is resolved. 12:10:41 ** resolve the issue by one of the following options: 12:10:51 *** withdraw the request and omit the feature 12:11:01 *** Include the #overflow feature as a MAY, with no other changes 12:11:10 *** Include the #overflow feature as a MAY, and add non-normative notes to resolve points against 12:11:31 *** Include the #overflow feature as one of the previous two options and mark the feature as AT RISK in the CR. 12:13:48 andreas: In the penultimate option, it is also possible to add normative points to IMSC 1. 12:14:23 nigel: I would timebox any discussion right now to 5 minutes, otherwise we go back to the respective groups and seek proposals for resolution for discussion in next week's telco. 12:14:42 glenn: In the absence of any IMSC 1 implementation all features are at risk in the CR in principle. 12:15:13 pal: I do expect there to be an IMSC 1 implementation during CR. 12:15:38 Frans_EBU: over lunch we discussed implementation evidence. 12:16:04 pal: I think the 2014 process offers some easier choices than the 'demonstrate two independent implementations'. 12:17:47 nigel: are there any spec text changes that would help remove the objection to Issue-339? 12:17:58 pal: I don't know of any right now. 12:18:10 andreas: I think we have to go back to our groups and seek proposals. 12:22:45 mike: Can we have a show of hands of who is in favour/neutral/against the proposal to include #overflow (tts:overflow="visible") as specified by TTML1SE including the Issue-345 errata? 12:23:25 group: 1 abstain, 1 don't care, 2 against, 4 in favour. 12:23:47 Topic: TTWG Process 12:24:48 nigel: We have a choice to adopt the 2014 process. 12:24:59 mike: I proposed that we adopt the 2014 process for IMSC 1, TTML2 and WebVTT. 12:25:15 nigel: This has been on the email reflector. I've seen no objections or concerns raised with the 2014 process. 12:26:03 RESOLUTION: We will adopt the 2014 W3C Process for IMSC 1, TTML2 and WebVTT 12:26:27 Topic: IMSC 1 Next steps 12:27:09 pal: This means we intend to go to CR under the new process on October 15. Only Issue-339 is outstanding. 12:27:19 pal: Do we need a test plan for CR? 12:28:25 tmichel: We don't have to have a full test suite or implementation report to enter CR. We do need an implementation experience report, a test suite and wide review to exit CR. 12:28:52 ... This means we have to contact the WGs that have dependencies with our group and request review of our document. 12:29:16 mike: We received a liaison from DECE today. 12:29:28 nigel: Thank you, yes, it's been circulated on the members-only list. 12:33:43 nigel: shows the group the message. 12:33:56 mike: describes the test files available and the verifier functionality. 12:37:00 nigel: short break before next topic 12:43:07 Action: pal Revisit issue-339 to investigate potential resolution options 12:43:08 Created ACTION-328 - Revisit issue-339 to investigate potential resolution options [on Pierre-Anthony Lemieux - due 2014-09-24]. 12:43:17 Action: Frans_EBU Revisit issue-339 to investigate potential resolution options 12:43:18 Error finding 'Frans_EBU'. You can review and register nicknames at . 12:43:25 Action: frans Revisit issue-339 to investigate potential resolution options 12:43:25 Created ACTION-329 - Revisit issue-339 to investigate potential resolution options [on Frans de Jong - due 2014-09-24]. 12:43:33 Topic: next steps for WebVTT 12:44:12 courtney has joined #tt 12:44:25 tmichel: I will go back to Dave Singer and Silvia and see when we can target a FPWD publication. I'd like to have this moved to the TTWG and 12:44:36 ... do the first public draft and call for exclusion etc. 12:44:46 courtney: What steps need to be taken to get there? 12:45:09 tmichel: I think the document is mature enough though there is some room for improvement. Dave Singer is pushed for time so I volunteered to help. 12:45:33 Topic: TTML2 FPWD issues 12:46:03 glenn: There are no blocking issues as far as I know, for FPWD. The criteria for publishing are low. 12:46:09 nigel: We said we'd publish it next week. 12:46:35 glenn: I want to spend the next few days getting in some more material and placeholders that I've been working on, at least Editorial Notes for new material that 12:46:39 ... is needed before we go to CR. 12:47:37 ... The current list of authors that are listed hasn't been changed since TTML1. For TTML1 we set up specific actions for individuals to come up with spec text. 12:48:03 ... I've been authoring all of the pieces that are going in. The current names are out of date. I could list it as 'Active members' instead of contributing authors, 12:48:46 ... or take out the Contributing Authors list. I'll still be listing people in the acknowledgements section. 12:49:29 ... At least everyone here will be listed. Why don't I just take that section out for the FPWD? 12:49:38 glenn: It varies in other W3C publications. 12:51:49 glenn: In TTML1 the names were people who had contributed a specific piece of spec. We haven't taken that approach so much with TTML2. 12:52:27 ... I haven't taken spec text e.g. from issues or change proposals verbatim, other than some of the proposals from Sean Hayes. So I'd only leave his name in there 12:52:37 ... if we kept the list as it is now, in format. 12:53:40 glenn: Please could the chair make a decision and let me know? 12:53:53 ... I don't want to omit anyone who wants their name there. 12:55:19 Action: nigel Consider Contributing Authors section of TTML2 12:55:20 Created ACTION-330 - Consider contributing authors section of ttml2 [on Nigel Megitt - due 2014-09-24]. 12:55:51 glenn: We can continue with the dedication to David Kirby. 12:56:37 nigel: Do we have a date for CR? 12:56:47 pal: We need to acknowledge the SMPTE feature requests. 12:57:19 glenn: Absolutely, hopefully they'll make it into the FPWD. Additionally the section on HTML/CSS mapping and a section/annex on a Serialized form of ISDs. 12:57:46 ... I've already got a schema for ISDs. You can create an ISD sequence document whose root element is and the other is a document whose root is just . 12:59:44 nigel: That's interesting - I've also got some work ongoing to define rules for combinable documents and an algorithm for combination. 13:00:03 ... The two don't conflict, and solve different problems. 13:00:37 glenn: The ISD approach is needed for generating static HTML/CSS documents for each ISD. 13:01:59 nigel: We did set out a TTML2 publication timeline: 13:02:01 ... Wednesday 8 October: closure date for issues on TTML2 - any new feature issues beyond this point to be addressed after LC or in v.next. 13:02:11 ... Thursday 20th November: all issues on TTML2 to be closed or deliberately postponed (to v.next or LC review stage). 13:02:23 ... Wednesday 17th December: CR doc ready to request for publication. 13:02:57 Topic: Review of mapping tests 13:04:54 nigel: I suggest we show each set of tests and then later (offline) upload them to the wiki. 13:05:17 courtney: I'm going to want to collate the tests anyway so I'll organise them. 13:06:14 andreas: I started on the text alignment. 13:08:30 andreas: I used the default for textAlign. [shows TextAlign001.xml, TextAlign002.xml, TextAlign003.xml, TextAlign004.xml, TextAlign005.xml from the DFXP test repository] 13:10:12 andreas: this sets the textAlign attribute on the p element to left/right/center/start/end depending on the document. 13:10:25 s/5.xml/5.xml, TextAlign006.xml 13:10:57 andreas: The mapped WebVTT documents need to have the position: and align: settings correct. 13:11:23 ... For example for textAlign="right" position:100% align:right 13:11:38 ... For textAlign="left" set position:0% align:left 13:11:52 ... For "center" position:50% align:middle 13:12:04 glenn: In WebVTT is "middle" a keyword for "center" in CSS? 13:12:07 andreas: yes. 13:12:32 glenn: In CSS "middle" references vertical alignment and "center" horizontal alignment. So they're both "middle" in WebVTT? 13:12:36 andreas: yes. 13:13:13 glenn: And align:start is a logical rather than absolute setting, e.g. for right to left writing mode start would be mapped to right? 13:13:35 andreas: I didn't check that. The default for all the TTML examples are left to right, top to bottom. 13:14:13 andreas: VTT has both the logical and the absolute align settings available. 13:14:39 ... for "end" position: 100% align:end 13:15:03 ... So textAlign maps to position: and align: settings 13:15:14 andreas: Looking at visibility: 13:15:33 ... [shows Visibility001.xml, Visibility002.xml, Visibility003.xml] 13:15:46 ... Visible is easy - you only have to worry about part of the text being invisible. 13:16:20 ... In Visibility003.xml the first line is always visible, and the second line is hidden. 13:16:49 glenn: You have to watch for non-visible text affecting visible text, e.g. if hidden text has a much bigger font size and consequently line height than the visible text on the same line. 13:17:34 andreas: Shows the CSS for Webvtt. Sets background-color:transparent and ::cue(.invisibleText) {color: rgba(0,0,0,0)} 13:17:48 glenn: So are you using rgba because visible isn't available? 13:18:58 andreas: yes. The CSS visible property isn't available in WebVTT. [Shows the VTT document with c.invisibleText class, and example HTML page] 13:19:22 ... Also shows the background color being drawn behind invisible text by changing to green. 13:20:01 glenn: In TTML the background color on a span shouldn't be shown if the text is invisible. So you may need to map background-color: rgba(0,0,0,0) also on that cue selector. 13:20:33 andreas: I just started on writingMode, which is a bit more complicated. 13:21:00 ... [Shows the WritingMode test examples for TTML] 13:21:21 ... The default in both formats is left to right inline progression and top down block progression direction. Nothing needs to be changed. 13:21:42 ... The only way to influence writing direction in WebVTT is the vertical cue setting (e.g. vertical:lr). 13:21:58 courtney: THat's the only explicit way but you can also do it in the Unicode. 13:22:26 andreas: This needs more investigation - the Unicode bidi doesn't seem to be the same as writingMode, so I'm not sure. 13:22:52 ... E.g. WritingMode002.xml: writingMode="rltb" 13:23:35 glenn: That doesn't change the order of any of the letters or words in the text, but just changes the default in the block element as right to left. 13:24:04 ... The text in the example seems to be misleading and untrue. The only effect in this case would be to set the default bidi level of the

s to be 1 instead of the 0 default. 13:24:29 andreas: I may not have got this 100%, the combination of unicodeBidi and writingMode. 13:24:34 courtney: I don't really understand it. 13:25:08 glenn: It has to do with weakly directional characters vs strongly directional characters. E.g. digits excluding letters would be laid out based on the default 13:25:10 ... level. 13:25:57 andreas: But look at the example spec for writingMode. 13:26:20 glenn: That example depends on unicodeBidi="override" - without that then the text wouldn't have its direction changed. 13:26:44 ... Obviously it does in the vertical dimension. 13:27:15 ... In the test document changing between rltb and lrtb would switch the interpretation of start and end between r/l and l/r. 13:27:32 andreas: So in WebVTT there's no change to make. 13:28:04 glenn: If VTT has both the logical and absolute keywords you can just preserve them across between WebVTT and TTML since both support both kinds of edge names. 13:28:42 andreas: For this example from the TTML test suite we have no difference in the WebVTT. For full implications we have to make other test files that combine 13:28:52 ... writingMode with text alignment to see the implications. 13:30:15 glenn: in the mapped WebVTT from WitingMode002.xml the initial value is start, so it should be preserved. 13:30:37 andreas: There's no writing mode in WebVTT - it's only left to right (i.e. dependent on the Unicode bidi). 13:30:55 glenn: So you would have to map to right. 13:31:30 courtney: In the WebVTT spec, under the alignment cue setting there's a note: the keywords are relative to the text direction. 13:31:47 glenn: So it's using the context of the text as opposed to an explicit writing mode, which may be considered buggy. 13:31:53 courtney: This is on our issues list. 13:32:44 glenn: In TTML if the writing mode is rltb then even if all the characters are latin start would still map to right. 13:33:47 andreas: Is the position: 100% align: end combination correct for rltb, start in TTML? 13:33:58 glenn: it would be less ambiguous if you set it to right. 13:34:25 courtney: Because it's roman characters, that's right. If the text were in hebrew or arabic then the alignment would be different. 13:35:21 glenn: Normally logical to absolute alignment is separate from the content. 13:35:54 courtney: So the rule there is you have to go from logical to physical to properly handle alignment? 13:36:11 glenn: Yes, but separately you deal with the bidi and ordering, after you deal with the block level alignment. 13:36:59 andreas: We do need better documentation about how this works. 13:38:04 andreas: [shows WritingMode005.xml with tblr] 13:38:34 glenn: that's an unusual combination because it's not used by any language. Normally for tb it's rl so I'd focus there first for vertical. 13:39:24 andreas: I mapped tblr to align:left vertical:lr 13:40:31 glenn: The orientation has been changed to be sideways on this example. With vertical text that is not normally written in vertical mode, e.g. in latin script, you can 13:41:29 ... choose to leave the letters upright (as in the TTML1 spec example) or "sideways right" which is how the example WebVTT doc you showed was presented. 13:41:58 ... SMPTE requested a TTML2 setting to make this choice explicit, and we're adding that. In TTML1 we assumed upright not sideways. You may need to map to a CSS 13:42:09 ... text orientation property which I don't know if its supported in WebVTT. 13:43:02 andreas: For these writing modes I'd propose we use it for characters that normally written top to bottom, e.g. chinese, with an image for those who aren't used to 13:43:04 ... reading it. 13:44:38 glenn: I'll show this on my screen. Rather than mapping issues I decided to try to focus on representing some of this content in HTML for useful renderings. 13:45:06 ... I created a template in HTML to allow me to put temporal frames into an HTML document, and some CSS template rules that map to some of the region properties. 13:45:31 ... Getting displayAlign right was tricky. In CSS there's the vertical align property, but it only applies to table cells that must be explicitly sized. 13:46:17 ... That took me longer to get it working than I thought, and it's not exactly precise between different browsers; some do strange things like adding margins from 13:46:22 ... the default style. 13:46:27 andreas: Can't we use flexbox? 13:46:56 glenn: Yes but I didn't want to rely on it for this mapping and certainly don't want to rely on it for the official spec - it's changing on a weekly basis so isn't stable yet. 13:48:57 mike: I found some issues. 13:53:29 ... Shows an edited DisplayAlign001.xml and DisplayAlign001a.txt. I had to change some of the units from the example file. 13:54:01 ... The tts:color value is application dependent, so you don't know what color to set it to in the WebVTT. 13:54:23 ... We can't use the TTML2 initial element for this, but we're only looking at TTML1SE here. 13:54:41 andreas: But that means that any color is correct. 13:55:00 mike: This is an issue. 13:55:21 glenn: for the mapping exercise some of the missing info like root spatial and temporal extent and initial color should be provided as parameters to the mapping application. 13:55:27 ... If they're unknown you can't do anything with it. 13:55:52 mike: I changed backgroundColor from white to black in the test document and added tts:color. 13:56:00 ... None of this had anything to do with displayAlign! 13:56:20 ... A default stylesheet or input to the translator would be needed. 13:57:19 ... For this particular one the region was set to displayAlign="before" and in WebVTT if I've understood it right I set scroll=up align: left 13:57:37 ... The text-align shouldn't be "top" as that's not an available value. 13:58:18 ... The times were easy, but the region width and height needed the root container extent for the mapping. If there were cellResolution or something similar 13:58:34 ... in the TTML this would have been trickier. Also I had to round the number of lines - up or down? I rounded down. 13:58:58 andreas: I wonder if for some mappings you're better off not using the WebVTT region and just using the cue setting. 13:59:13 mike: In this example that's true, but it might be hard to figure out for big documents. 14:00:37 andreas: Is the behaviour defined in WebVTT if two regions with active content overlap? 14:00:52 courtney: Cues are always ordered by their start time; I don't know about regions. 14:01:20 andreas: Does scroll=up mean that text grows upwards towards the top? 14:01:28 mike: I'm not sure where the first line goes - top or bottom? 14:01:33 courtney: I think it goes at the bottom. 14:01:38 mike: Then this example isn't quite right. 14:01:59 courtney: The height of the region in lines determines how many lines are visible at a time. 14:02:21 andreas: And if there are too many lines? 14:02:28 courtney: The ones at the top disappear. 14:02:39 ... This region functionality was designed to map the CEA608 features. 14:02:51 Loretta has joined #tt 14:03:23 courtney: the other value for scroll is "none". 14:03:28 IA_TTWG()3:00AM has now started 14:03:35 +[IPcaller] 14:03:36 mike: So for "none" does the text go in backwards? 14:03:40 -[IPcaller] 14:03:40 IA_TTWG()3:00AM has ended 14:03:40 Attendees were [IPcaller] 14:03:50 courtney: No I think it goes top to bottom and then when it hits the bottom the region grows to fit. 14:04:41 IA_TTWG()3:00AM has now started 14:04:48 +[IPcaller] 14:05:02 zakim, IPcaller is Loretta 14:05:02 +Loretta; got it 14:05:31 Anything going on that I can help with? 14:05:46 +Geneva 14:08:02 andreas: If you set scroll=none then it looks like you don't need to specify the lines on the region as it has no effect. 14:09:47 pal: To help with the process of validating algorithmic conversion of TTML to WebVTT it looks like there's a great set of TTML test files. One thing that was missing 14:10:18 ... was a way to play them back, to see if the conversion results match. Glenn managed to dig up an old TTML player executable. I massaged the current TTML 14:10:26 scroll none behavior: When there is no scroll direction, cue lines are added in the empty line closest to the line in the bottom of the region. If no empty line is available, the oldest line is replaced. 14:10:49 ... test files so they're accepted by the executable. It's not perfect but it's better than nothing. 14:11:16 ... I can post the test files with a big warning about 'only use them with this exe they're not spec compatible'. 14:11:34 courtney: could we update the exe? 14:12:03 glenn: I'd like to but I'm not sure if I'll have time. It's about 8 years old, written in C++ using stdlib, with its own XML parser and DOM implementation, so it would 14:12:28 ... need to be ported to a more modern compiler. If I did that I'd wrap it with a Mac Xcode UI and update the rest of it to use TTML instead of DFXP. 14:12:49 andreas: But if you can confirm that the output of this tool is correct then we can capture it and save it as PNGs. 14:13:25 pal: Part of the interest is it does animation etc. Maybe one way is for people to contact me and I can send them what I have. It works for a large number of test files. 14:15:25 pal: [shows it running against a huge number of tests] about 70-75% of the tests work. 14:17:27 nigel: Do we know who wrote this and why? 14:18:03 glenn: It was a company I owned and ran. It was based on DFXP and was a fairly complete implementation with timing, styling and some extra styles including 14:18:09 ... the animate element that we're adding in TTML2 14:18:35 ... It went into a consumer electronics product that was on sale. 14:19:03 ... It would be useful to update it to TTML1 and maybe TTML2. I'll undertake to put it into github along with the other exes. 14:19:39 ... We did use that implementation as a reference for implementability in TTML1 so it's in the implementation report. 14:20:37 courtney: I was looking at timing. I started running through the BasicTiming00n.xml examples. 14:21:38 courtney: [shows BasicTiming001.xml and .vtt mapped version] 14:22:03 ... This covers timeContainer="par" with begin of 10 seconds and duration of 10s. 14:22:25 ... So in WebVTT it's 00:00:10.000 --> 00:00:20.000 which is pretty simple. 14:22:51 ... To illustrate timings it would be good to have multiple cues. 14:23:24 ... In BasicTiming002.xml I changed it to show two samples. This has a body and a div with timeContainer="par" and two samples with the same begin time and duration. 14:23:43 ... In WebVTT I made two cues with the same begin and end time. 14:23:54 glenn: In the WebVTT would they both be in the same region? 14:24:03 Loretta: WebVTT would move one of them. 14:24:13 courtney: It would do magic collision avoidance. 14:24:35 glenn: In TTML since they would appear in the same ISD and map to the same default region they would appear as two paragraphs within a div at the same time. 14:24:58 ... They would be non-overlapping, and placed in document order. 14:25:09 ... (one above the other in the same region). 14:25:25 Loretta: it might or might not produce the same output in WebVTT. 14:25:32 courtney: We'll find ways to actively validate these. 14:25:55 glenn: So it's a question about mapping - if there's separate content that happens to be time overlapping and it's in the same region in TTML is there a way to express 14:25:57 ... that in WebVTT? 14:26:13 Loretta: The conversion could explicitly position the second cue below the first. 14:26:22 glenn: Or it could merge them into one cue. 14:26:26 Loretta: right. 14:26:47 courtney: You can style text differently within one cue. It would be interesting to see if the default behaviour is the same. 14:27:18 andreas: I just checked in Chrome and if you use a line percentage value it goes in the same position so the second cue overlaps the first one but if you use lines 14:27:31 ... then its the same behaviour as in TTML. 14:28:01 courtney: So to get that behaviour you have to have the cue setting line? 14:28:38 andreas: Yes you have to specify the line number, e.g. 1 to appear at the top. If you don't use that setting then it would be the default, which is -1, which for this example 14:29:23 ... with the text appearing at the top you have to explicitly set the line cue setting to 0. Then it works exactly as in TTML. 14:30:05 courtney: [shows BasicTiming003.xml and VTT equivalent]. This has a seq timeContainer setting on a div inside a body with timeContainer par. 14:30:55 ... this affects the computation of times. Here the cue begin time of the second one is added to the end time of the first. 14:31:07 andreas: This is a great demonstration of how timeContainer works in TTML. 14:31:53 courtney: [shows BasicTiming004 test example] Again this has body with timeContainer=par and div timeContainer=seq and a set child of the p. 14:32:19 ... Here I think you have to add the set begin time to the p begin time. 14:33:07 ... I flattened the timings and made a single cue. This does lose some information. 14:37:01 nigel: This mixes time expressions, which is interesting. 5s, 00:00:19:29.99 (fractional frame), "00:00:05.5" which is interesting. 14:37:21 courtney: I didn't use all the times - some information got collapsed. 14:37:42 glenn: Agree this isn't round-trippable, which is generally not going to be true - we should state that in the mapping document. 14:38:17 ... Because both formats allow the expression of comments and metadata, technically you could incorporate the TTML source as a comment in the output VTT if you wanted to. 14:38:34 courtney: Could we do the reverse? 14:38:45 glenn: Yes, in a metadata element so it's visible at the XML level. 14:39:24 nigel: What if the XML had something that coincidentally looks like a cue in it? 14:39:32 glenn: Well you could BASE64 encode it. 14:39:47 courtney: That would be roundtripping by pass-through rather than lossless conversion. 14:40:24 andreas: I wonder how the set feature works in TTML - possibly it is better used in relation with a styling attribute like color or something. 14:41:20 courtney: [shows BasicTiming006.xml and VTT mapped version] 14:41:38 brb 14:41:45 ... This would better illustrate timeContainer with multiple samples - it's pretty simple right now. It has a dur but no start time, so the default of zero applies 14:41:49 ... because it's the first sample. 14:41:56 glenn: begin defaults to zero effectively. 14:42:20 courtney: In VTT it goes from 00:00:00.000 --> 00:00:15.000 14:43:26 back 14:43:48 nigel: 2 minutes break before we finish off 14:48:14 Topic: prizes! 14:48:55 nigel: and we're back. 14:51:54 nigel: awards the prizes in a very serious manner. 14:52:01 Topic: Assess progress, onward actions. 14:52:52 nigel: Goal 1 was to produce a first draft of the mapping doc - we don't have the doc but we have a great source input for Courtney to pull together. 14:53:21 nigel: Goal 2 was resolve any issues for TTML2 FPWD - and we now have none. 14:54:04 nigel: Goal 3 : Resolve blocking issues against IMSC 1 for CR. We have one remaining with an action plan hopefully to resolve in next week's telco. 14:54:38 nigel: so great progress! What are the actions for the mapping document now? 14:55:13 courtney: The high level goal is to come up with a 1st draft. We have some structure from the logical breakdown yesterday that I'll use for an outline starter. 14:55:31 ... As part of that effort I will go through today's samples and organise them, and incorporate them into the draft where it makes sense. 14:56:19 nigel: We need to store the mapping examples/tests somewhere. 14:56:32 andreas: Cyril suggested posting them to the testthewebforward git repository. 14:56:50 courtney: That's good but I don't know how! If someone can point me to it then fine. 14:57:01 ... Please could the corrected files be posted not the incorrect ones. 14:57:17 andreas: Nevertheless shall we send everything produced today to you Courtney? 14:57:38 courtney: Yes, though some still need some work. If you want to post incomplete docs please mark them up as needing work. 14:58:20 Action: nigel contact cyril requesting git repository instructions for the tests. 14:58:20 Created ACTION-331 - Contact cyril requesting git repository instructions for the tests. [on Nigel Megitt - due 2014-09-24]. 14:59:00 courtney: I had some outstanding issues noted that I will try to investigate. For example we need a proposal for id mapping conventions. 14:59:13 ... We need a strawman proposal for mapping dimensions of regions from TTML to WebVTT. 14:59:23 ... We need to check how margins work with WebVTT. 14:59:35 ... These are open issues that I will need to close before completing the document. 14:59:50 nigel: we also have the wiki page with some issues on at https://www.w3.org/wiki/TimedText/TTMLtoWebVTT 15:00:16 andreas: For the open WebVTT spec questions will you post the questions to the CG reflector, e.g. about margins? 15:00:28 courtney: First I'll check with my engineers, otherwise yes. 15:00:42 andreas: It may be a spec problem in which case we should discuss on the reflector. 15:01:13 nigel: Then when there are questions to raise we'll assign some agenda time in our meetings. 15:02:00 Thanks, everyone. 15:02:09 -Loretta 15:02:35 -Geneva 15:02:37 IA_TTWG()3:00AM has ended 15:02:37 Attendees were Loretta, Geneva 15:02:58 nigel: Thanks everyone - we've made great progress on our goals. Thanks to EBU for hosting, thanks for everyone for contributing; it's been an intense 2 days but we've done well. 15:03:08 nigel: closes meeting 15:03:15 rrsagent, generate minutes 15:03:15 I have made the request to generate http://www.w3.org/2014/09/17-tt-minutes.html nigel 15:16:35 nigel has left #tt 15:46:02 glenn has joined #tt 16:21:57 Zakim has left #tt