G C Marty: Play DVDs in JavaScript for the sake of interoperability [JSConf2014]

3,404 views · Published 9 June 2014 · 28:41 · Indexed 27 October 2026

Channel: JSConf · 2014 · Science & Technology

Watch on YouTube

We have everything we need to read DVD-video discs in a browser, so why don't we start?

For that purpose, I ported libdvdread and libdvdnav libraries to JavaScript so that we can parse the DVD-video info files and emulate a virtual machine.

But this comes with technical challenges such as browsers being bad at manipulating huge files or not supporting the codecs used in DVD (MPEG-2, AC-3...). That's why this port comes with a server in Node.js to circumvent these limitations.

The resulting project is a mix of websockets, video elements, media source extensions and a lot of open source love.

Get ready for a mind blowing demo!

http://2014.jsconf.us

More from this channel