ffmpeg.wasm – a pure WebAssembly / JavaScript port of FFmpeg
ffmpegwasm.netlify.app
ffmpegwasm.netlify.app
https://v8.dev/blog/4gb-wasm-memory
(Note that as mentioned there you need to build the wasm with that support, like -sMAXIMUM_MEMORY=4GB in Emscripten, so ffmpeg.wasm would need that, if it hasn't added it already.)
Maybe the suggestion is to only load < 2GB into ffmpeg in the browser? I could see how that would work for the 1st chunk. But the 2nd one and beyond would not be valid.
the inputfile needs a uint8 array, which i tried converting file to uint8 but that gives a file format error and doesnt process the ffmpeg command
I looked at the ffmpeg inputfile and its a uint8, converted a file object to uint8 did not work too - gives a file format error!
any updates on this?
So I ditched this in favor of real ffmpeg binary that I can download according to someone's PC architecture. It works better and is also fast. Downsides? I can't use it on the web but at least electron.js would allow me to use the binary.
>ffmpeg.wasm is a pure Webassembly / Javascript port of FFmpeg
>@ffmpeg/core contains WebAssembly code which is transpiled from original FFmpeg C code with minor modifications [1]
[1] https://github.com/ffmpegwasm/ffmpeg.wasm#what-is-the-licens...
Edit: maybe with the node version