thenickdude / webm-writer-js

JavaScript-based WebM video encoder for Google Chrome
272 stars 43 forks source link

webm header implementation #24

Closed Edqe14 closed 3 years ago

Edqe14 commented 3 years ago

Hello, I'm currently working on live transcoding and one of the formats is audio only webm using opus encoding. It can't be played on browser nor a media player and I figured out that it's missing a header. I found this repo and checked the source and found a function which builds/write the header.

Can you explain to me how it works? or how can I create my own implementation for it?

Much thanks!

thenickdude commented 3 years ago

https://www.webmproject.org/docs/container/

https://www.matroska.org/technical/basics.html

https://github.com/ietf-wg-cellar/ebml-specification/blob/master/specification.markdown

trackedsupport commented 1 year ago

I am having a similar issue. How can I build/write the header?