Open tchakabam opened 5 years ago
I do understand that this stacktrace points to an error resulting from lack of heap-allocated memory, but I don't yet see how this should be allowed to happen when we are supposed to look at metadata here 🤔 The lack of memory is a consequence of a deeper issue here I guess? Maybe some unintended allocation. Just in case there should be an answer like "give your JVM more heap" or so, given my current understanding, I wouldn't see how that could be a valid fix :)
Using the latest version of Isoviewer.
Example file for repro can be found here: http://ftp.vim.org/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov
The file is playable and valid, it can also be parsed using GPAC or Mp4box.js for example: https://gpac.github.io/mp4box.js/test/filereader.html
The crash happens when trying to inspect the nested mp4 sample description data.
There should be more sample-table boxes to appear, but isoviewer seems to bail on all the boxes that come after the stsd of the mp4a track here.
Screenshot:
Stacktrace of crash: