<?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>22139</bug_id>
          
          <creation_ts>2013-05-22 15:04:29 +0000</creation_ts>
          <short_desc>MSE and ISOBMFF interoperability</short_desc>
          <delta_ts>2013-06-05 17:22:43 +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>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>PRE_LAST_CALL</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyril Concolato">cyril.concolato</reporter>
          <assigned_to name="Aaron Colwell">acolwell</assigned_to>
          <cc>acolwell</cc>
    
    <cc>glenn</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
    
    <cc>watsonm</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>88072</commentid>
    <comment_count>0</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-05-22 15:04:29 +0000</bug_when>
    <thetext>MSE requires that media segments use the &quot;default-base-is-moof&quot; flag in the movie fragment. However, conformant ISOBMF parsers require that an ftyp box with a compatible brand &apos;iso5&apos; be declared to process the flag. While MSE ISO parsers can be modified to assume that a correct ftyp has been declared (or modified to ignore that rule), this can create ISO interoperability problems if MSE byte streams are stored in files. A conformant ISO parser will have no means to tell if the file is the result of storing an MSE byte stream or if it is an ISO v1 file (no ftyp). An ISO validator might also declare the file invalid.

To avoid these interoperability problems, MSE should:
- define a brand for initialization segments and media segments (e.g. msei, msem)
- recommend that an ftyp (with the right brand) be added if an MSE initialization segment byte streams is stored in a file
- recommend that if an MSE media segment is stored in a file, and if an styp box is used, that the styp box uses the above brand

No change to the MSE parsing behavior is required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88073</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2013-05-22 15:21:28 +0000</bug_when>
    <thetext>I have no problem making recommendations, although anyone who wants to write an ISO file should know its their responsibility to make the file compliant: they can&apos;t just expect to take some arbitrary collection of  boxes received over MSE and have it make a compliant file.

Why do we need a new brand, though ? Aren&apos;t the existing brands sufficient ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88142</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-23 18:30:58 +0000</bug_when>
    <thetext>Marking all pre-Last Call bugs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88164</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-24 00:22:32 +0000</bug_when>
    <thetext>I don&apos;t really think we should be specifying a file format. The bytestream specifications were designed to allow the minimal useful subset of existing file format elements to be fed into the UA. It was never designed to act as a storage format. In fact some of the power comes from the fact that you don&apos;t need unnecessary stuff like ftype,styp, or indexes. I believe specifying a storage format is out of scope for the MSE spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88198</commentid>
    <comment_count>4</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-05-24 11:43:44 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I have no problem making recommendations, although anyone who wants to write
&gt; an ISO file should know its their responsibility to make the file compliant:
&gt; they can&apos;t just expect to take some arbitrary collection of  boxes received
&gt; over MSE and have it make a compliant file.
Mark, I agree it&apos;s their responsibility but I still think the recommendations are not unnecessary.

&gt; 
&gt; Why do we need a new brand, though ? Aren&apos;t the existing brands sufficient ?
The new brands may not be necessary. It&apos;s more of a good practice and may prove useful in case MSE byte streams diverge from ISOBMF.

(In reply to comment #3)
&gt; I don&apos;t really think we should be specifying a file format. The bytestream
&gt; specifications were designed to allow the minimal useful subset of existing
&gt; file format elements to be fed into the UA. It was never designed to act as
&gt; a storage format. In fact some of the power comes from the fact that you
&gt; don&apos;t need unnecessary stuff like ftype,styp, or indexes. I believe
&gt; specifying a storage format is out of scope for the MSE spec.
MPEG-2 TS was never meant to be a file format either, yet you find m2t m2v mpeg2 ... files on servers. I don&apos;t want MSE to specify a full-fledged file format, just make some recommendations to avoid creating a format mess. I&apos;m saying people will store MSE byte streams as files. We should be pro-active here to avoid problems in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88209</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-05-24 16:21:51 +0000</bug_when>
    <thetext>MSE is about how data is buffered into a media element. Where the data comes from, how it is stored, how it is transferred, and what other purposes people have for the data is out of scope.

The only resolution I could see for this bug aside from resolving WORKSFORME is to add a note to the spec that reaffirms that the document does not define a storage format and that readers should not interpret that it does. Personally, I don&apos;t think this is necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88211</commentid>
    <comment_count>6</comment_count>
    <who name="Glenn Adams">glenn</who>
    <bug_when>2013-05-24 17:18:33 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; MSE is about how data is buffered into a media element. Where the data comes
&gt; from, how it is stored, how it is transferred, and what other purposes
&gt; people have for the data is out of scope.
&gt; 
&gt; The only resolution I could see for this bug aside from resolving WORKSFORME
&gt; is to add a note to the spec that reaffirms that the document does not
&gt; define a storage format and that readers should not interpret that it does.
&gt; Personally, I don&apos;t think this is necessary.

It&apos;s easy to add such a note, and since some readers may think otherwise, I&apos;d suggest adding it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88748</commentid>
    <comment_count>7</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-06-05 17:22:43 +0000</bug_when>
    <thetext>Changes committed
https://dvcs.w3.org/hg/html-media/rev/63675668846c

Added a note indicating that the byte streams specs are not intended to define a storage format.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>