Skip to content
Snippets Groups Projects
  1. Jul 18, 2016
  2. Jul 17, 2016
  3. Jul 16, 2016
  4. Jul 15, 2016
  5. Jul 13, 2016
  6. Jul 11, 2016
  7. Jul 10, 2016
  8. Jul 09, 2016
  9. Jul 08, 2016
    • Martin Storsjö's avatar
      movenc: Add an option for skipping writing the mfra/tfra/mfro trailer · 4f7723cb
      Martin Storsjö authored
      
      When writing a fragmented file, we by default write an index pointing
      to all the fragments at the end of the file. This causes constantly
      increasing memory usage during the muxing. For live streams, the
      index might not be useful at all.
      
      A similar fragment index is written (but at the start of the file) if
      the global_sidx flag is set. If ism_lookahead is set, we need to keep
      data about the last ism_lookahead+1 fragments.
      
      If no fragment index is to be written, we don't need to store information
      about all fragments, avoiding increasing the memory consumption
      linearly with the muxing runtime.
      
      This fixes out of memory situations with long live mp4 streams.
      
      Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
      4f7723cb
Loading