Purpose
WebCodecs only provide the ability to decode, but not to demux. mp4box.js is cool, but it only supports mp4 demux. Web-Demuxer aims to support as many multimedia formats as possible at once.
Features
- πͺ Specifically designed for WebCodecs, the API is very friendly for WebCodecs development, you can easily realize the media file demux.
- π¦ One-time support for a variety of media formats, such as mov/mp4/mkv/webm/flv/m4v/wmv/avi, etc.
- 𧩠Support for customized packaging, you can adjust the configuration, packaged in a specified format demuxer
Examples
Seek Video Frame
Select a video file and enter the point in time you want to seek (default is 0)
Play Video
Select a video file and enter the playback start and playback end points (default playback from beginning to end)
Get Media Info
Select a video file and get media info, open devtools to see console output
Get All Video Packets
Select a video file and get all video packets, open devtools to see console output