w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
988 stars 136 forks source link

Add nixxquality's fixes #618

Closed josephrocca closed 1 year ago

josephrocca commented 1 year ago

See: https://github.com/w3c/webcodecs/issues/332#issuecomment-1077442192

w3cbot commented 1 year ago

tidoust marked as non substantive for IPR from ash-nazg.

josephrocca commented 1 year ago

Copying a recent comment from nixxquality here for context:

Don't get me wrong, my solution is definitely not proper and I wouldn't recommend it. It's merely replacing one non-standard hack that only works in some cases with another non-standard hack that only works in some media players. The real solution would be fixing the cue writing.

Please feel free to close if these fixes are not deemed worth it RE the above comment - I probably should have separated the two fixes, since it's really only the cue writing one that's potentially problematic.

dalecurtis commented 1 year ago

Don't have plans to replace with mp4box.js anytime soon so just going to land this for now.