Skip to content
  • Sebastian Dröge's avatar
    qtdemux: Merge sample tables for raw audio streams with one container sample per audio sample · 9593a367
    Sebastian Dröge authored and Sebastian Dröge's avatar Sebastian Dröge committed
    Instead of having chunks with one sample per raw audio sample, have
    chunks with a single sample that contains lots of raw audio samples. If
    necessary these are still split again later when reading the stream.
    
    With this we are allocating a lot less memory for the parsed sample
    tables and can play files that previously triggered our limit of 200MB
    for the sample table. For example, one file here would previously
    allocate 3.5GB for the sample table and now only allocates 70KB.
    9593a367