1. 18 2月, 2016 1 次提交
  2. 24 1月, 2016 1 次提交
    • A
      lavf: allow custom IO for all files · 9f61abc8
      Anton Khirnov 提交于
      Some (de)muxers open additional files beyond the main IO context.
      Currently, they call avio_open() directly, which prevents the caller
      from using custom IO for such streams.
      
      This commit adds callbacks to AVFormatContext that default to
      avio_open2()/avio_close(), but can be overridden by the caller. All
      muxers and demuxers using AVIO are switched to using those callbacks
      instead of calling avio_open()/avio_close() directly.
      
      (de)muxers that use the URLProtocol layer directly instead of AVIO
      remain unconverted for now. This should be fixed in later commits.
      9f61abc8
  3. 18 11月, 2015 2 次提交
  4. 09 11月, 2015 1 次提交
    • A
      lavf: deprecate compute_pkt_fields2 · 8de1ee9f
      Anton Khirnov 提交于
      All encoders set pts and dts properly now (and have been doing that for
      a while), so there is no good reason to do any timestamp guessing in the
      muxer.
      
      The newly added AVStreamInternal will be later used for storing all the
      private fields currently living in AVStream.
      8de1ee9f
  5. 27 10月, 2015 1 次提交
  6. 13 10月, 2015 1 次提交
  7. 18 2月, 2015 1 次提交
  8. 11 2月, 2015 1 次提交
  9. 05 1月, 2015 1 次提交
  10. 07 11月, 2014 1 次提交
  11. 08 10月, 2014 1 次提交
  12. 25 8月, 2014 1 次提交
  13. 14 8月, 2014 1 次提交
  14. 10 8月, 2014 2 次提交
  15. 29 7月, 2014 1 次提交
  16. 27 7月, 2014 2 次提交
  17. 09 7月, 2014 1 次提交
  18. 08 7月, 2014 1 次提交
  19. 03 7月, 2014 1 次提交
  20. 18 6月, 2014 1 次提交
    • A
      lavf: switch to AVStream.time_base as the hint for the muxer timebase · 194be1f4
      Anton Khirnov 提交于
      Previously, AVStream.codec.time_base was used for that purpose, which
      was quite confusing for the callers. This change also opens the path for
      removing AVStream.codec.
      
      The change in the lavf-mkv test is due to the native timebase (1/1000)
      being used instead of the default one (1/90000), so the packets are now
      sent to the crc muxer in the same order in which they are demuxed
      (previously some of them got reordered because of inexact timestamp
      conversion).
      194be1f4
  21. 29 5月, 2014 1 次提交
  22. 20 5月, 2014 1 次提交
  23. 19 5月, 2014 1 次提交
  24. 18 5月, 2014 1 次提交
  25. 15 5月, 2014 1 次提交
    • A
      lavf: add AVFMT_FLAG_BITEXACT. · 0c1959b0
      Anton Khirnov 提交于
      Use it instead of checking CODEC_FLAG_BITEXACT in the first stream's
      codec context.
      
      Using codec options inside lavf is fragile and can easily break when the
      muxing codec context is not the encoding context.
      0c1959b0
  26. 14 5月, 2014 1 次提交
  27. 24 3月, 2014 1 次提交
  28. 17 2月, 2014 2 次提交
  29. 10 2月, 2014 5 次提交
  30. 05 2月, 2014 1 次提交
    • L
      lavf: improve handling of sparse streams when muxing · d9ae1031
      Luca Barbato 提交于
      Currently ff_interleave_packet_per_dts() waits until it gets a frame for
      each stream before outputting packets in interleaved order.
      
      Sparse streams (i.e. streams with much fewer packets than the other
      streams, like subtitles or audio with DTX) tend to add up latency and in
      specific cases end up allocating a large amount of memory.
      
      Emit the top packet from the packet_buffer if it has a time delta
      larger than a specified threshold.
      
      Original report of the issue and initial proposed solution by
      mus.svz@gmail.com.
      
      Bug-id: 31
      Signed-off-by: NAnton Khirnov <anton@khirnov.net>
      d9ae1031
  31. 04 2月, 2014 1 次提交
  32. 29 10月, 2013 1 次提交