title: Create MPEG-DASH Initialization segment
body: <p>I am looking to convert between HLS and MPEG Dash.  I do not access to the original fully concatenated video file, only the individual HLS segments. </p>
  
  <p>In doing this transformation to MPEG Dash I need to supply an initialziation segment for the Dash manifest .mpd file.</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>What is the structure of a Dash video initialization segment?</li>
  <li>How can I generate/create one without the need for the original full file?</li>
  </ol>
  
  <p><strong>Perhaps a solution would involve getting <code>MP4Box</code> to convert the '.ts' HLS segments to Dash '.m4s' segments which are self initializing, but I am unsure how to go about this this?</strong></p>
  
  <p>Any ideas are much appreciated.</p>
  
  <p>Many thanks.</p>
  
  <p><strong>UPDATE: 
  Snippet to stream using original hls segments.  Video plays all the way through but is just black.</strong>
       </p>
  
  <pre><code>  &lt;Representation width="426" height="238" frameRate="25" id="238p 400kbps" bandwidth="400000"&gt;
      &lt;SegmentList timescale="25000" duration="112500"&gt;
             &lt;SegmentURL media="video_0_400000/hls/segment_0.ts"/&gt;
             &lt;SegmentURL media="video_0_400000/hls/segment_1.ts"/&gt;
            &lt;SegmentURL media="video_0_400000/hls/segment_2.ts"/&gt;
      &lt;/SegmentList&gt;
     &lt;/Representation&gt;
  &lt;/AdaptationSet&gt;
  </code></pre>