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

Webcodecs Support? #43

Open
tungs opened this issue Mar 11, 2022 · 5 comments
Open

Webcodecs Support? #43

tungs opened this issue Mar 11, 2022 · 5 comments

Comments

@tungs
Copy link

tungs commented Mar 11, 2022

Is there an interest in adding support for webcodecs? webm-writer-js already handles a lot of the data formatting and muxing for webm; it's pretty close to adding support for webcodecs.

If you didn't know, the w3c's webcodecs repository uses a modified version of webm-writer for one of its samples that can save a limited video. I ran into some flaws with that version, and ended up creating my own version here. It can add EncodedVideoChunks to a webm using a new addChunk function.

Let me know if you want me to do a PR, I'd be happy to. Thanks for all the great work on this library!

@ericshuk
Copy link

I'm also trying to find a working sample that supports adding audio channels using the webm-writer. @tungs did you happen to figured that one out?

@tungs
Copy link
Author

tungs commented Mar 14, 2022

@FullyFerret, I should have been clearer in my post; I'm talking about video only. You probably know much more about this than I, but it seems audio requires audio-specific EBML tags and probably a decent amount of work to integrate an audio source.

@guest271314
Copy link
Contributor

@Vanilagy
Copy link

Check out my library https://github.com/Vanilagy/webm-muxer which uses WebCodecs and supports both video and audio

@rafael2k
Copy link

Thanks @Vanilagy !

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

5 participants