kbumsik / opus-media-recorder

MediaRecorder polyfill for Opus recording using WebAssembly
http://kbumsik.io/opus-media-recorder/
Other
318 stars 39 forks source link

How to merge opus-media-recorder with webm-writer.js for the capability to write audio and video to WebM container? #23

Closed guest271314 closed 2 years ago

guest271314 commented 5 years ago

webm-writer.js provides the capability to write WebP images as VP8 frames to a created WebM container. From whammy

The cool thing about WebP which was exploited in Weppy is that it's actually based on the same codec as WebM, On2's VP8. That means the actual image data, when the container formats are ignored, are virtually interchangable. With a catch: it's intraframe only.

This repository appears to have the capability to accept audio input and output write Opus encoded audio to a WebM container.

How to merge the two functionalities of the repositories for the capability to write a WebM (or Matroska) file containing both VP8 encoded from WebP images and Opus encoded from Web Audio API or MediaStreamTrack?