Re: [media-and-entertainment] Media Containers API (#108)

> this would certainly be a nice API to have, 
> 
> right now I'm using a mixture of libraries to demux and mux videos, 
> 
> * https://github.com/bilibili/web-demuxer - demuxing for webm and mp4 files
> * https://github.com/Vanilagy/mp4-muxer - muxing for mp4 files (there's also webm muxer here: https://github.com/Vanilagy/webm-muxer) 
> 
> getting these running with audio is definitely a challenge, I've been able to get it working for the most part, but keeping audio and video synced together among other things is definitely a challenge. I've gotten video without audio muxed so far and that works well, next step is taking the audio from the decoder and passing that into the muxing process. 

I was working on a video editor few months ago, I tried all these libraries and I think they are really helpful and easy to use, however they are based on ffmpeg wasm, which can cause performance issue easily. So I would rather consider mp4box as the no.1 choice to handle containers.
- https://github.com/gpac/mp4box.js

-- 
GitHub Notification of comment by MaxtuneLee
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/108#issuecomment-2656553273 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 February 2025 13:09:56 UTC