1. 18 May, 2016 1 commit
    • Martin Storsjö's avatar
      avio: Allow custom IO users to get labels for the output bytestream · db7968bf
      Martin Storsjö authored
      This allows callers with avio write callbacks to get the bytestream
      positions that correspond to keyframes, suitable for live streaming.
      
      In the simplest form, a caller could expect that a header is written
      to the bytestream during the avformat_write_header, and the data
      output to the avio context during e.g. av_write_frame corresponds
      exactly to the current packet passed in.
      
      When combined with av_interleaved_write_frame, and with muxers that
      do buffering (most muxers that do some sort of fragmenting or
      clustering), the mapping from input data to bytestream positions
      is nontrivial.
      
      This allows callers to get directly information about what part
      of the bytestream is what, without having to resort to assumptions
      about the muxer behaviour.
      
      One keyframe/fragment/block can still be split into multiple (if
      they are larger than the aviocontext buffer), which would call
      the callback with e.g. AVIO_DATA_MARKER_SYNC_POINT, followed by
      AVIO_DATA_MARKER_UNKNOWN for the second time it is called with
      the following data.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      db7968bf
  2. 06 May, 2016 1 commit
  3. 04 May, 2016 1 commit
  4. 04 Mar, 2016 1 commit
  5. 02 Feb, 2016 1 commit
  6. 27 Dec, 2015 1 commit
  7. 16 Nov, 2015 1 commit
  8. 31 Jul, 2015 1 commit
  9. 27 Jul, 2015 1 commit
  10. 29 Jun, 2015 1 commit
  11. 22 Jun, 2015 1 commit
  12. 14 Jun, 2015 1 commit
  13. 11 Jun, 2015 1 commit
  14. 07 Jun, 2015 1 commit
  15. 03 Apr, 2015 1 commit
  16. 27 Mar, 2015 2 commits
  17. 03 Mar, 2015 1 commit
  18. 25 Nov, 2014 1 commit
  19. 30 Sep, 2014 1 commit
  20. 09 Aug, 2014 2 commits
  21. 07 Aug, 2014 1 commit
  22. 25 Jul, 2014 1 commit
  23. 23 Jul, 2014 1 commit
  24. 26 Mar, 2014 1 commit
  25. 17 Feb, 2014 1 commit
  26. 16 Feb, 2014 1 commit
  27. 19 Oct, 2013 1 commit
  28. 08 Apr, 2013 2 commits
  29. 14 Mar, 2013 1 commit
  30. 10 Oct, 2012 1 commit
  31. 27 Sep, 2012 1 commit
  32. 15 Sep, 2012 1 commit
  33. 18 Aug, 2012 2 commits
  34. 27 Jul, 2012 1 commit
  35. 20 Jun, 2012 1 commit
  36. 15 Jun, 2012 1 commit