最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to load file in ffmpeg in chunks? - Stack Overflow

programmeradmin2浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论