I'm having a problem when loading a larger file with ffmpeg in safari mobile, it crashes while doing that.
Currently I'm loading the whole file at once await ffmpeg.writeFile(inputFileName, await fetchFile(file));
and to my understanding safari tries to load it in-memory in one go and fails.
How can I work around this issue? Maybe split the file to chunks? Maybe streaming?
Thank you.