Optimize mp4 parse times, and avoid duplicating their RAM use #7481
Labels
📉 performance
Optimization, memory use, etc
🚜 refactor
Change the code, not the functionality
🎞️ video
Right now we effectively hold an mp4 blob at least twice: Raw in the (arrow) store and then again upon parsing in our mp4 object.
All larger pieces should just be pointers back to the raw blob in order to conserve memory.
Also general cleanup of mp4 crate is in order, this is a good opportunity.
This won't fly for streaming mp4 easily, but for full mp4 it should be doable to do indices into the blob.
The text was updated successfully, but these errors were encountered: