| Previous | Next |
| MF_E_NO_INDEX | MF_E_MISSING_ASF_LEAKYBUCKET |
MF_E_CANNOT_INDEX_IN_PLACE
MF_E_CANNOT_INDEX_IN_PLACE means the desired ASF index cannot be added by modifying the current file layout in place. ASF index writing changes container metadata and requires space for the completed index and an updated Header Object.
Plan for a rewritten output when layout cannot be preserved
Use IMFASFIndexer in write mode to generate and commit index entries, query the completed index size, and obtain the correct index position. If the existing content has no suitable reserved layout for the requested index, write a new output byte stream or copy the ASF content into a rebuilt container rather than overwriting unrelated bytes.
Also regenerate and rewrite the ASF header after the new index is written. The error is about container placement, not the ability to compute index entries. Retrying the same in-place operation with a larger temporary memory buffer does not create space in the ASF file.
Microsoft: IMFASFIndexer read/write model · Microsoft: writing completed index data and regenerating the header · FFmpeg ASF muxer source
Looking for a different code? Search another status or error code.