admin管理员组

文章数量:1384310

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.

本文标签: javascriptHow to load file in ffmpeg in chunksStack Overflow