Coder Social home page Coder Social logo

seanpm2001 / webmproject_webmlive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webmproject/webmlive

1.0 2.0 0.0 69.31 MB

Basic live streaming using dash.js WebM support

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

Shell 0.59% C++ 95.20% Python 1.24% C 0.31% HTML 0.24% CMake 2.42%

webmproject_webmlive's Introduction

Building

Tools needed:
- cmake v2.8 or higher.
- Microsoft Visual Studio 2013
  - Newer versions should be fine provided cmake includes a generator.
  - Older versions may not work because webmlive/encoder uses C++ 11 features.

Run cmake from the directory of your choice. Pass it the path to the encoder
directory of the webmlive repository. This will produce ENCODER.sln. Open it
to use the IDE, or pass it directly to msbuild to build the encoder.


Basic live streaming using dash.js WebM support

Requires:
- dash.js (specifically the webm stuff in the contrib sub dir of its repo)
- python v2.7 or higher and the RangeHTTPServer module
  - hint for people unfamiliar with python: install pip, then:
    $ pip install rangehttpserver
  - or, should the above not work, you might have to run:
    $ python -m pip install rangehttpserver

Step 1: Setup webmlive/testing/test_server.py:
  $ cd some/directory/for/encoder/output
  $ python path/to/webmlive/testing/test_server.py

Step 2: Run RangeHTTPServer:
  $ cd encoder/output/directory/from/step/1
  $ python -m RangeHTTPServer

Step 3: Copy webmlive.html to the serving directory:
  $ cp webmlive/testing/webmlive.html directory/from/step/1

Step 4: Copy dash.webm.js to the serving directory:
  $ cp path/to/dash.js.git/contrib/webmjs/dash.webm.debug.js dir/from/step/1

Step 5: Run encoder:
  $ cd some/directory/for/local/encoder/output
  $ webmlive/encoder.exe --url localhost:8001/dash --dash_name webmlive

Step 6: Watch your stream:
  Run a web browser that supports DASH playback and then open the page:
    localhost:8000/webmlive.html

webmproject_webmlive's People

Contributors

jzern avatar pooh1130 avatar tomfinegan avatar

Stargazers

 avatar

Watchers

 avatar  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.