1. 24 Feb, 2020 3 commits
  2. 23 Feb, 2020 21 commits
  3. 22 Feb, 2020 4 commits
  4. 21 Feb, 2020 7 commits
  5. 20 Feb, 2020 5 commits
    • Anssi Hannula's avatar
      avformat/spdifenc: fix TrueHD streams over 48kHz · 56df8296
      Anssi Hannula authored
      Commit 36e156be ("avformat/spdifenc: fix handling of large TrueHD
      frame") added an obviously incorrect bitshift that caused incorrect
      samples-per-frame calculation for TrueHD streams over 48kHz.
      
      Fix that.
      56df8296
    • Anssi Hannula's avatar
      avformat/spdifenc: fix handling of large TrueHD frames · 36e156be
      Anssi Hannula authored
      The TrueHD IEC 61937 encapsulation code uses a very naive method of
      always inserting 24 TrueHD frames evenly in a MAT frame. This does not
      work for larger frames as they may exceed the size of 1/24th of a MAT
      frame.
      
      To fix that, use the input_timing field in the TrueHD frame to determine
      the proper position of the TrueHD frame in the MAT frame. That field is
      basically a dts field, telling the time to feed this frame to the
      decoder in sample count units.
      
      This can cause a TrueHD frame to be split between two MAT frames, so a
      second concatenation hd_buf is added, alternating with the first buffer.
      
      Large frames are preceded by smaller frames that have input_timing
      values that cause the frames to be sent out faster than the nominal rate
      (i.e. increasing decoder latency, long decoder buffer), allowing the
      larger frames to then be sent out slower than the nominal rate as the
      decoder has enough data buffered to keep it busy.
      36e156be
    • Anssi Hannula's avatar
      avformat/spdifenc: make hd_buf an array · 1d5338e4
      Anssi Hannula authored
      This is preparation for adding a second hd_buf in a followup commit.
      
      Also, slightly improve the comments for hd_buf_x members to clarify
      which ones are actually used and kept up-to-date depending on which
      codec is being muxed.
      1d5338e4
    • Paul B Mahol's avatar
      avformat/vivo: set packet duration · a07b19d9
      Paul B Mahol authored
      Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
      a07b19d9
    • Paul B Mahol's avatar
      avformat/vivo: improve probing of some files · b4305d60
      Paul B Mahol authored
      Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
      b4305d60