<?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>23710</bug_id>
          
          <creation_ts>2013-11-02 02:39:31 +0000</creation_ts>
          <short_desc>Add support for forced subtitles</short_desc>
          <delta_ts>2013-11-06 01:10:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23507</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>21667</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>glenn</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>pal</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>victor.carbune</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95724</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-02 02:39:31 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #21667 +++

Rationale: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-April/039374.html

also see the discussion on the bug.

The request is to introduce @kind=&quot;forced&quot; with &quot;forced subtitles&quot; defineded as:
Forced Subtitles are common on movies. Forced subtitles only provide subtitles when the characters speak a foreign or alien language, or a sign, flag, or other text in a scene is not translated in the localization and dubbing process. In some cases, foreign dialogue may be left untranslated if the movie is meant to be seen from the point of view of a particular character who does not speak the language in question.

Note that WebKit already has an implementation of this and Chromium has a bug: https://code.google.com/p/chromium/issues/detail?id=271185 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95734</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2013-11-02 22:47:40 +0000</bug_when>
    <thetext>Some details on the processing model would be nice. For example, what should happen when there are multiple &lt;track kind=forced&gt; in different (or the same) language but no other tracks? What if the language of the forced subtitles isn&apos;t one the user understands?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95735</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-02 23:35:30 +0000</bug_when>
    <thetext>Interpreting Eric&apos;s email at http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-April/039374.html , he seems to say that only one &quot;forced&quot; track is necessary, so we can probably ignore all other &quot;forced&quot; tracks. Also, the first forced track is only activated when no other track is enabled, because translations would end up in subtitle or captions tracks in other languages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95741</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2013-11-03 21:46:50 +0000</bug_when>
    <thetext>OK, just allowing one and ignoring language certainly makes it easier. The only thing easier would be to enable all forced tracks but to make it non-conforming to have multiple forced tracks if that doesn&apos;t ever make sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95743</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-03 23:21:43 +0000</bug_when>
    <thetext>(In reply to Philip Jägenstedt from comment #3)
&gt; OK, just allowing one and ignoring language certainly makes it easier. The
&gt; only thing easier would be to enable all forced tracks but to make it
&gt; non-conforming to have multiple forced tracks if that doesn&apos;t ever make
&gt; sense.

FWICT: the forced subtitle track is only for native speakers of the main language of the video who need translation of only a few things that are in a different language in the video. Thus, a single track active at a time is the only sensible thing.

As for the language attribute: it should still be given as the language of main language of the video. This allows to provide several forced tracks for videos that have several audio tracks in different languages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95753</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2013-11-04 08:08:19 +0000</bug_when>
    <thetext>(In reply to Silvia Pfeiffer from comment #4)
&gt; (In reply to Philip Jägenstedt from comment #3)
&gt; &gt; OK, just allowing one and ignoring language certainly makes it easier. The
&gt; &gt; only thing easier would be to enable all forced tracks but to make it
&gt; &gt; non-conforming to have multiple forced tracks if that doesn&apos;t ever make
&gt; &gt; sense.
&gt; 
&gt; FWICT: the forced subtitle track is only for native speakers of the main
&gt; language of the video who need translation of only a few things that are in
&gt; a different language in the video. Thus, a single track active at a time is
&gt; the only sensible thing.

I&apos;m just saying that activating all of them is the easiest thing to implement. If having multiple forced tracks makes no sense then presumably people won&apos;t do it even if it works.

&gt; As for the language attribute: it should still be given as the language of
&gt; main language of the video. This allows to provide several forced tracks for
&gt; videos that have several audio tracks in different languages.

In comment 2 you seemed to say that only a single track would be forced, but the above sounds like picking a forced track based on its language and the language of the enabled audio tracks. That&apos;s a lot more complicated, so how should that work when audio tracks are enabled/disabled, when new forced tracks of a matching language are added, etc?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95760</commentid>
    <comment_count>6</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-11-04 12:33:59 +0000</bug_when>
    <thetext>(In reply to Philip Jägenstedt from comment #5)
&gt; 
&gt; I&apos;m just saying that activating all of them is the easiest thing to
&gt; implement. If having multiple forced tracks makes no sense then presumably
&gt; people won&apos;t do it even if it works.

WFM.

&gt; &gt; As for the language attribute: it should still be given as the language of
&gt; &gt; main language of the video. This allows to provide several forced tracks for
&gt; &gt; videos that have several audio tracks in different languages.
&gt; 
&gt; In comment 2 you seemed to say that only a single track would be forced, but
&gt; the above sounds like picking a forced track based on its language and the
&gt; language of the enabled audio tracks.

Since you asked if there was a use case for several forced tracks, I considered it further and came up with this rather complicated example.

&gt; That&apos;s a lot more complicated, so how
&gt; should that work when audio tracks are enabled/disabled, when new forced
&gt; tracks of a matching language are added, etc?

If we can identify what language an audio track is in (AudioTrack does have a language attribute), then activating such an audio track should trigger looking for a forced track in the same language, and activating that (unless a caption or subtitle track is activated).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95770</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-04 21:51:54 +0000</bug_when>
    <thetext>This is currently blocked on more implementors being interested — see bug 23507.

*** This bug has been marked as a duplicate of bug 23507 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>