Open bobbyohyeah opened 8 months ago
My browser on safari ios crashes even loading a 400MB .mov file sadly
fetchFile(videoFile).then((result) => {
ffmpeg.writeFile("source_video.mp4", result)
})
This is enough to crash it
Is it really about the file size itself? Isn't the 2G or 4G the memory limit of wasm itself? If you uncompress the video and keep all the uncompressed frames in memory that could take up way more RAM as the file size of the original file.
I'm asking this because I'm curious! :-D
They've added ffmpeg.mount()
https://github.com/ffmpegwasm/ffmpeg.wasm/pull/581
but looks like it's not in documentation yet
Currently the file size limit for ffmpeg wasm is 2GB, but we know that wasm supports up to 4GB in size. Is there any way to increase the size limit?