Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use webm-writer with mediarecorder #26

Open
millzee01 opened this issue Feb 6, 2021 · 3 comments
Open

use webm-writer with mediarecorder #26

millzee01 opened this issue Feb 6, 2021 · 3 comments

Comments

@millzee01
Copy link

Hi,

Can webm-writer be used to create the final webm output from a mediarecorder blob?

the reason i ask is because chromium browsers don't seem to write the final segment size as its used to stream (hens no final size)

Which causes a playback problem on standard players.

I believe web-writer resolves this issue, but wonder if I can use it like this?

@guest271314
Copy link
Contributor

You can utilize ts-ebml, e.g., see guest271314/MediaFragmentRecorder#8 (comment).

@bevand10
Copy link

bevand10 commented Jul 7, 2021

@guest271314
Copy link
Contributor

@bevand10 The resulting .webm files has issues: No frames appear to be written. Are you sure WebCodecs implementation of VP8 and VP9 are consistent with what is expected per Matroska specification?

The WebCodecs 'opus' implementation is not consistent with Opus implementation of MediaRecorder. AFAICT there is no way to playback the 'opus' encoded frames without using WebCodecs implementation to decode. Even then there are issues with regard to integration with MediaStreamTrackGenerator, see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants