Are there plans to support demux webm file?
hughfenghen opened this issue · 2 comments
hughfenghen commented
Hi there, can webm files be demuxed into chunked data, which then can be fed into VideoDecoder?
Vanilagy commented
There are no plans to add demuxing support, this library is solely for muxing. Demuxing is a whole different beast since you have to properly support all the files out there in the wild. But yes, the JS world definitely needs explicit demuxing functionality too, going beyond regular playback.
This library looks proper and the demo seems legit, but it doesn't seem to be too well documented. If you need something really primitive you might be able to captureStream
on a video element and then pipe that into a MediaStreamTrackProcessor to get the frames, but that's quite a limiting approach, I agree.
hughfenghen commented
Thanks ~