1. 03 1月, 2015 4 次提交
  2. 19 12月, 2014 1 次提交
  3. 26 11月, 2014 2 次提交
    • M
      movenc: Expose the fragment index as an avoption · 234fb81e
      Martin Storsjö 提交于
      This allows setting the right fragment number if doing
      random-access writing of fragments, and also allows reading the
      current sequence number.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      234fb81e
    • M
      movenc: Add a flag for indicating a discontinuous fragment · ee37620b
      Martin Storsjö 提交于
      This allows creating a later mp4 fragment without sequentially
      writing the earlier ones before (when called from a segmenter).
      
      Normally when writing a fragmented mp4 file sequentially, the
      first timestamps of a fragment are adjusted to match the
      end of the previous fragment, to make sure the timestamp is the
      same, even if it is calculated as the sum of previous fragment
      durations. (And for the first packet in a file, the offset of
      the first packet is written using an edit list.)
      
      When writing an individual mp4 fragment discontinuously like this
      (with potentially writing the earlier fragments separately later),
      there's a risk of getting a gap in the timeline if the duration
      field of the last packet in the previous fragment doesn't match up
      with the start time of the next fragment.
      
      Using this requires setting -avoid_negative_ts make_non_negative
      (or -avoid_negative_ts 0).
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      ee37620b
  4. 17 11月, 2014 5 次提交
  5. 08 11月, 2014 3 次提交
  6. 07 11月, 2014 3 次提交
    • M
      movenc: Write correct presentation timestamps in tfra · 9cbf70fa
      Martin Storsjö 提交于
      Previously we wrote decoding timestamps here, while the specs
      say it should be presentation timestamps.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      9cbf70fa
    • M
      movenc: Remove a now redundant check · e7d20f12
      Martin Storsjö 提交于
      When using the new first_trun flag instead of checking the track id,
      we don't need to have a special case for the separate_moof flag
      any longer.
      
      This simplifies the complicated codepath ever so slightly.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      e7d20f12
    • M
      movenc: Allow to request not to use edit lists · 1d8a0c1b
      Martin Storsjö 提交于
      In this case, shift tracks to start from zero instead (potentially
      stretching the first sample in tracks that start later than the
      first one).
      
      Some software does not support edit lists at all, the adobe flash
      player seems to be one of these. This results in AV sync errors when
      edit lists are used to adjust AV sync.
      
      Some players, such as QuickTime, don't respect the duration for
      audio packets, so if an audio track starts later than the video
      track and the first audio sample gets a duration longer than the
      actual amount of data in it, the result will be out of sync.
      
      Based on patches by Michael Niedermayer.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      1d8a0c1b
  7. 06 11月, 2014 1 次提交
  8. 31 10月, 2014 3 次提交
  9. 30 10月, 2014 5 次提交
  10. 14 10月, 2014 1 次提交
    • M
      movenc: Write tfdt atoms · c2c22c75
      Martin Storsjö 提交于
      These allow getting the absolute start timestamp of a fragment
      without reading preceding timestamps. This fixes sync between
      tracks if starting from fragments in different streams that don't
      align exactly.
      
      This also is a prerequisite for producing DASH content.
      Signed-off-by: NMartin Storsjö <martin@martin.st>
      c2c22c75
  11. 12 10月, 2014 5 次提交
  12. 04 9月, 2014 1 次提交
  13. 15 8月, 2014 2 次提交
  14. 07 8月, 2014 3 次提交
  15. 05 8月, 2014 1 次提交