Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

..
Octocat-spinner-32 libvpx @ 939cbcc
Octocat-spinner-32 nestegg @ 421df36
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 hooks.js
Octocat-spinner-32 main.c
Octocat-spinner-32 make.py
Octocat-spinner-32 paint_2.js
Octocat-spinner-32 vpxdec_helpers.c
Octocat-spinner-32 yuv2rgb.h
README
To fetch the dependencies:
git submodule init
git submodule update

To compile libnestegg:
cd nestegg/
autoreconf --install
(EMSCRIPTEN_ROOT=...) (PATH/TO/)emconfiguren.py ./configure
make

To compile libvpx:
cd libvpx
(PATH=$PATH:~/local_clang/bin/) ./configure --disable-vp8-encoder --disable-examples --disable-multithread --target=js1-none-clang_emscripten
(PATH=$PATH:~/local_clang/bin/) make

To build the javascript decoder:
Install the closure compiler (http://code.google.com/closure/compiler/)
and edit ~/.emscripten to point to the correct path.
(EMSCRIPTEN_ROOT=...) python make.py
(If you have RELOOP=1 in make.py, you may now watch the director's cut of
a James Cameron movie while you wait.  I recommend The Abyss, for its
excellent depiction of the Mammalian Diving Reflex and hypothermic
neuroprotection.)

To test the decoder:
cp js/vp8.cc.js ../Demo/route9.js
Open route9.html in your favorite modern browser.
Something went wrong with that request. Please try again.