bvibber / ogv.js

JavaScript media player using Ogg/Vorbis/Theora/Opus/WebM libs compiled with Emscripten
https://brooke.vibber.net/misc/ogv.js/demo/
Other
1.2k stars 101 forks source link

Support VP8/VP9/AV1 and Opus in MP4 container #443

Open bvibber opened 8 years ago

bvibber commented 8 years ago

Vendors are working on MP4 container support for VP9/Opus, now included in latest Firefox nightly and preffed off in Chrome.

Need MP4 demuxer (https://github.com/brion/ogv.js/issues/191) and support for the headers for VPx and Opus.

Some docs and sample files at https://github.com/Netflix/vp9-dash/

Firefox bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1240412 and elsewhere

Chromium bug at https://bugs.chromium.org/p/chromium/issues/detail?id=580623

jseward311 commented 4 years ago

Are there any plans for mp4 playback in 1.7.x - 2019-??-??

This had been talked about some time ago for the AV1 codec support. I am curious as to were this stands and if any .mp4 container will be supported say h264 h265?

Sorry to add this twice as I had just edited the comment last time.

bvibber commented 4 years ago

I definitely want to finish the MP4 container support, just haven't gotten to it yet. For h264 and h265 the problem is that distributing binaries of the decoders technically requires an MPEG-LA patent license agreement. :)

So while it would be possible to support them (a long time ago I did a test with an early version of openh264 and it seemed to work at the time, haven't tried anything for h265 yet), I'm not so sure I could include them in the main distribution. But making it easy to use them as a plugin for people not needing to worry about US-based patents would be awesome.

jseward311 commented 3 years ago

Any updates on this?