@@tombyrer1808 webcodecs don't offers to mux encoded frames into MP4. For that a separate lib is needed . Hopefully this will be a built-in feature in future. Right now continuing with ffmpeg wasm. A couple of lightweight wasm libs are also available but they don't mux audio.
☺️ I am using ffmpeg wasm to encode frames into MP4 , but the ram usage is pretty high.
Will try the webcodecs to see how it performs.
How did it go?
@@tombyrer1808 webcodecs don't offers to mux encoded frames into MP4. For that a separate lib is needed .
Hopefully this will be a built-in feature in future. Right now continuing with ffmpeg wasm. A couple of lightweight wasm libs are also available but they don't mux audio.
@@anilsonix I am struggling to give the encoded Chunks to ffmpeg. Never worked with it before. Can we maybe get in contact?
Ffmpeg requires shared array buffer right!?
Are you using thia for production!?
@@siddeshsharma968 yes, cross site isolation is required for sharedarraybuffer.