1. 03 Oct, 2016 1 commit
  2. 04 May, 2016 1 commit
  3. 15 Apr, 2016 2 commits
  4. 14 Apr, 2016 1 commit
  5. 23 Feb, 2016 1 commit
    • Anton Khirnov's avatar
      lavf: replace AVStream.codec with AVStream.codecpar · 9200514a
      Anton Khirnov authored
      Currently, AVStream contains an embedded AVCodecContext instance, which
      is used by demuxers to export stream parameters to the caller and by
      muxers to receive stream parameters from the caller. It is also used
      internally as the codec context that is passed to parsers.
      
      In addition, it is also widely used by the callers as the decoding (when
      demuxer) or encoding (when muxing) context, though this has been
      officially discouraged since Libav 11.
      
      There are multiple important problems with this approach:
          - the fields in AVCodecContext are in general one of
              * stream parameters
              * codec options
              * codec state
            However, it's not clear which ones are which. It is consequently
            unclear which fields are a demuxer allowed to set or a muxer allowed to
            read. This leads to erratic behaviour depending on whether decoding or
            encoding is being performed or not (and whether it uses the AVStream
            embedded codec context).
          - various synchronization issues arising from the fact that the same
            context is used by several different APIs (muxers/demuxers,
            parsers, bitstream filters and encoders/decoders) simultaneously, with
            there being no clear rules for who can modify what and the different
            processes being typically delayed with respect to each other.
          - avformat_find_stream_info() making it necessary to support opening
            and closing a single codec context multiple times, thus
            complicating the semantics of freeing various allocated objects in the
            codec context.
      
      Those problems are resolved by replacing the AVStream embedded codec
      context with a newly added AVCodecParameters instance, which stores only
      the stream parameters exported by the demuxers or read by the muxers.
      9200514a
  6. 27 Jul, 2015 1 commit
  7. 22 Apr, 2015 1 commit
  8. 14 Feb, 2015 1 commit
  9. 11 Mar, 2014 1 commit
  10. 17 Feb, 2014 1 commit
  11. 03 Jan, 2014 2 commits
  12. 02 Jan, 2014 1 commit
  13. 25 Dec, 2013 1 commit
  14. 13 Oct, 2013 1 commit
  15. 01 Feb, 2013 2 commits
  16. 21 Nov, 2012 1 commit
  17. 12 Nov, 2012 1 commit
  18. 07 Aug, 2012 1 commit
  19. 09 Jun, 2012 1 commit
  20. 10 Feb, 2012 1 commit
  21. 27 Jan, 2012 1 commit
  22. 30 Nov, 2011 1 commit
  23. 19 Oct, 2011 2 commits
  24. 14 Sep, 2011 1 commit
  25. 17 Jul, 2011 1 commit
  26. 06 Jul, 2011 1 commit
  27. 20 Jun, 2011 1 commit
    • Ivan Kalvachev's avatar
      Fix bink audio playback outside of FFmpeg. · 093768c9
      Ivan Kalvachev authored
      There are 2 known Bink audio codecs. Additionally they have
      a different flavor if they are found inside Bink-b "BIKb" file.
      In order to guess the correct flavor, the demuxer sets the audio
      codec_tag to be the same as the file format tag.
      This causes problem because same tag is used for both audio codecs.
      The hack works in FFmpeg because audio codecs are identified by their
      codec_id, but other players rely on standard behavior.
      
      This fix removes the codec_tag hack and instead uses artificial
      extradata format to signal the codec flavor. This would also
      allow proper embedding of Bink audio in other containers.
      Signed-off-by: 's avatarIvan Kalvachev <ikalvachev@gmail.com>
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      093768c9
  28. 03 Apr, 2011 1 commit
  29. 19 Mar, 2011 1 commit
  30. 17 Mar, 2011 1 commit
  31. 03 Mar, 2011 2 commits
  32. 01 Mar, 2011 2 commits
  33. 26 Feb, 2011 2 commits