Skip to content
This repository


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…


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 paint_2.js
Octocat-spinner-32 vpxdec_helpers.c
Octocat-spinner-32 yuv2rgb.h
To fetch the dependencies:
git submodule init
git submodule update

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

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 (
and edit ~/.emscripten to point to the correct path.
(EMSCRIPTEN_ROOT=...) python
(If you have RELOOP=1 in, 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

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