1. 18 Dec, 2014 27 commits
  2. 17 Dec, 2014 2 commits
    • Martin Storsjö's avatar
      dashenc: Adjust the start time of a segment to the end of the previous segment · 456e93bf
      Martin Storsjö authored
      This is the same adjustment that the mp4 muxer does to the start
      timestamp of fragments, since the timestamp of a sample in an mp4
      file is implicit from the sum of earlier sample durations.
      
      This avoids gaps in the timeline (which can stop dash.js from
      playing it back), and makes sure the timestamp on the segmenter
      level matches what the mp4 muxer actually writes into the segments.
      
      This is only an issue if the AVPacket duration of the last
      packet of a segment doesn't point to the actual start timestamp
      of the next packet (the first in the next segment).
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      456e93bf
    • Martin Storsjö's avatar
      dashenc: Write segment timelines properly if the timeline has gaps · 2f628d59
      Martin Storsjö authored
      Write a new start time if the duration of the previous segment
      didn't match the start of the next one. Check that segments
      actually are continuous before writing a repeat count.
      
      This makes sure timestamps deduced from the timeline actually
      match the real start timestamp as written in filenames (if
      using a template containing $Time$).
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      2f628d59
  3. 15 Dec, 2014 8 commits
  4. 14 Dec, 2014 3 commits