<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12043</bug_id>
          
          <creation_ts>2011-02-11 23:37:35 +0000</creation_ts>
          <short_desc>&lt;video&gt; For better compatibility with .SRT, could the FULL STOP be replaced with a COMMA? So instead of 00:00:00.000 it would be 00:00:00,000</short_desc>
          <delta_ts>2011-08-04 05:34:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#webvtt-timestamp</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>thomas</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45410</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-02-11 23:37:35 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Section: http://www.whatwg.org/specs/web-apps/current-work/#webvtt-timestamp

Comment:
For better compatibility with .SRT, could the FULL STOP be replaced with a
COMMA? So instead of 00:00:00.000 it would be 00:00:00,000

Posted from: 63.85.151.70</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45411</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Sturm">thomas</who>
    <bug_when>2011-02-11 23:48:13 +0000</bug_when>
    <thetext>I filed this bug while reviewing the WebVTT spec for implementation in a JS subtitle engine which already works with .SRT. I was not able to find any reasoning for WebVTT&apos;s change to a period for the seconds-frac separator.

SRT: hh:mm:ss,fff
WebVTT: hh:mm:ss.fff

I think that re-use of existing SRT tools and implementation of subtitle interpreters would be much helped if we could adopt the SRT version for the timestamp format. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45430</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2011-02-12 00:58:27 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I filed this bug while reviewing the WebVTT spec for implementation in a JS
&gt; subtitle engine which already works with .SRT. I was not able to find any
&gt; reasoning for WebVTT&apos;s change to a period for the seconds-frac separator.
&gt; 
&gt; SRT: hh:mm:ss,fff
&gt; WebVTT: hh:mm:ss.fff
&gt; 
&gt; I think that re-use of existing SRT tools and implementation of subtitle
&gt; interpreters would be much helped if we could adopt the SRT version for the
&gt; timestamp format. Thanks!

For the sake of allowing denser time specifications in caption files, it would actually make sense to have a flexibler time specification such as

[[h*:]mm:]ss[.[d[c[m]]]  | s*[.d[c[m]]]

With the denser possibilities of specifying time in this way, it&apos;s no longer compatible with SRT anyway, which prescribes presence of hh and mm and fff.


Incidentally, there are some SRT files that use &quot;.&quot; as the seconds-frac separator already, so existing SRT parsers should already be able to deal with that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45662</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-02-16 08:34:42 +0000</bug_when>
    <thetext>We used to support both &quot;.&quot; and &quot;,&quot;, but it was simplified to just &quot;.&quot; when WebVTT stopped being intentionally compatible with SRT because it turns out SRT is way the heck more complicated than it appears to be. If it wasn&apos;t for SRT there really would be no reason to support &quot;,&quot; as far as I can tell; formats like this usually use the US locale in their syntax.

foolip: do you want to add anything here? IIRC it was your idea to remove support for &quot;,&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45670</commentid>
    <comment_count>4</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-02-16 09:04:57 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; We used to support both &quot;.&quot; and &quot;,&quot;, but it was simplified to just &quot;.&quot; when
&gt; WebVTT stopped being intentionally compatible with SRT because it turns out SRT
&gt; is way the heck more complicated than it appears to be. If it wasn&apos;t for SRT
&gt; there really would be no reason to support &quot;,&quot; as far as I can tell; formats
&gt; like this usually use the US locale in their syntax.
&gt; 
&gt; foolip: do you want to add anything here? IIRC it was your idea to remove
&gt; support for &quot;,&quot;.

Short answer: I still think we should support only &quot;.&quot; as the separator.

The only compatibility issue here is going from SRT to WebVTT, where it isn&apos;t enough to just add &quot;WEBVTT FILE&quot;. I don&apos;t think we should keep trying stay closely compatible with SRT. Doing that means that we have less room to improve the timing line format, add comment syntax, etc.

While making it hard for authors isn&apos;t exactly a design goal, there&apos;s something to be said for &quot;encouraging&quot; people to use converters which will also help catch non-UTF-8 files, fix timestamps with less than 3 decimals, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45673</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-02-16 09:06:44 +0000</bug_when>
    <thetext>Also, since we&apos;re no longer trying to write a spec that can also be used to parse legacy SRT, syntax differences increases the likelihood that people will write a new parser matching the spec rather than tweaking an existing SRT parser to handle both formats, inevitably incorrectly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49096</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-02 23:46:04 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: see foolip&apos;s comments</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53959</commentid>
    <comment_count>7</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:34:51 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>