Simple JavaScript library to performantly and reliably break a video down into its individual frames using the new WebCodecs API. * Currently only supports mp4 files. * Check browser support: https://caniuse.com/webcodecs * All credit for this code goes to authors of [official WebCodecs demos](https://w3c.github.io/webcodecs/samples/video-decode-display/) and of [mp4box.js](https://github.com/gpac/mp4box.js/). ### Usage ```html
``` * Simple demo: https://jsbin.com/gehaqureca/edit?html,output * Decode mp4 and re-encode as webm: https://josephrocca.github.io/createWebMFromFrames.js/demo/