Giter Site home page Giter Site logo

72lions / playingchunkedmp3mediasourceapi Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 9.0 11.13 MB

Media Source Extensions Demo - HTML5

Home Page: http://72lions.github.io/PlayingChunkedMP3MediaSourceAPI/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%

playingchunkedmp3mediasourceapi's Introduction

#Playing a chunked MP3 with Media Source Extensions

In this proof of concept (currently only tested and working in Chrome 35+) I've split the mp3 in 25 parts by using the unix split command. The moment the first part is loaded then the playback starts immediately and it loads the second.

When the second part is loaded then it is appended to the SourceBuffer by using the Media Source Extensions API.

Check it out: Demo

There is another implementation that I created a year ago which uses only the Web Audio API. You can find it here.

A lot of thanks to Theo for letting me use his awesome track Breathe In.

playingchunkedmp3mediasourceapi's People

Contributors

72lions avatar

Stargazers

Niklas Korz avatar  avatar  avatar Anthony Powell avatar fanfare avatar  avatar  avatar  avatar Yuchao Zhang avatar  avatar laden avatar Robb avatar Calmery avatar Adrian Stanescu avatar Fabio Ricali avatar ixlei avatar  avatar Hao avatar  avatar Gregory Marcilhacy avatar Tatsuya Miyado avatar Alexander Vtorov avatar Michael Anthony avatar Radosław Włodkowski avatar

Watchers

 avatar James Cloos avatar Michael Anthony avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.