1. 03 Dec, 2014 1 commit
  2. 02 Dec, 2014 9 commits
  3. 01 Dec, 2014 1 commit
  4. 28 Nov, 2014 9 commits
  5. 27 Nov, 2014 7 commits
  6. 26 Nov, 2014 2 commits
    • Martin Storsjö's avatar
      movenc: Expose the fragment index as an avoption · 234fb81e
      Martin Storsjö authored
      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: 's avatarMartin Storsjö <martin@martin.st>
      234fb81e
    • Martin Storsjö's avatar
      movenc: Add a flag for indicating a discontinuous fragment · ee37620b
      Martin Storsjö authored
      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: 's avatarMartin Storsjö <martin@martin.st>
      ee37620b
  7. 25 Nov, 2014 10 commits
  8. 24 Nov, 2014 1 commit
    • Martin Storsjö's avatar
      lavf: Use wchar functions for filenames on windows for mkdir/rmdir/rename/unlink · 960aff37
      Martin Storsjö authored
      This makes sure that the internal utf8 path names are handled
      properly - the normal file handling functions assume path names
      are in the native codepage, which isn't utf8.
      
      This assumes that the tools outside of lavf don't use the mkdir
      definition. (The tools don't do the same reading of command line
      parameters as wchar either - they probably won't handle all possible
      unicode file parameters properly, but at least work more predictably
      if no utf8/wchar conversion is involved.)
      
      This is moved further down in os_support.h, since windows.h shouldn't
      be included before winsock2.h, while io.h needs to be included before
      the manual defines for lseek functions.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      960aff37