Hey there,
Over the weekend I've been experimenting with VideoEncoder as part of a hobby JS library I've been building around a couple of proprietary animation formats from a Nintendo DS animation app, which can be found here:
https://flipnote.js.org/.
I've got as far as taking frames and encoding them into a vp8 track, but there doesn't seem to be any way to mux these into a video container like webm? Ideally I'd like to do h264 in an mp4 instead, but I also couldn't find any information regarding the correct
codec string to pass to the VideoEncoder's configure method for that. Is there any way I can achieve either of these things?
My goal was to be able to convert these animations into regular video files, so I could build a web tool that lets users to take their animations and share them on the wider internet more easily. I recognise this is maybe a bit of a niche use-case, but it seems
like being able to mux encoded tracks into media containers would be super useful for a wide variety of media applications, so the omission seems rather strange to me. The idea of being able to natively encode video files in the browser is really exciting,
and I can think of dozens of potential uses outside of what I'm trying to do at the moment... it would be a little disappointing if the API is going to stop short of that.