0.1.0 • Published 2 months ago

libavjs-webcodecs-bridge v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

libavjs-webcodecs-bridge is a bridge to help you use libav.js and WebCodecs (or libavjs-webcodecs-polyfill) together.

WebCodecs does not come with demuxers or muxers. libav.js has those as well as encoders and decoders, but if you have WebCodecs available, you probably should use them for en/decoding instead of libav.js. That means it's common to demux with libav.js then decode with WebCodecs, or encode with WebCodecs then mux with libav.js. But, they don't speak the same language, so to speak.

This bridge bridges the gap. It includes conversions from the various libav.js types to the equivalent WebCodecs types, and vice-versa.

This project is by the same author as libav.js and libavjs-webcodecs-polyfill. You do not need libavjs-webcodecs-polyfill to use libavjs-webcodecs-bridge or vice versa; they have related but orthogonal purposes. For type reasons, this repository depends on both, but even if you bundle libavjs-webcodecs-bridge, neither will be included.

libavjs-webcodecs-bridge's API is documented in API.md. The demo in the demo directory is a demonstration of start-to-finish transcoding, and there are some samples in the samples directory as well.

0.1.0

2 months ago

0.0.11

2 months ago

0.0.12

2 months ago

0.0.10

3 months ago

0.0.9

3 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.5

8 months ago

0.0.6

8 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

10 months ago