Demonstrates chunk streaming with HTML5 video, webm and nodejs.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
index.html
index.js
package.json

README

Demo to show transcoding and streaming to a HTML5 video element in chunks.

Depends on:
- ffmpeg (the official one compiled with all the goodies)
- https://github.com/acolwell/mse-tools - mse_webm_remuxer

Install instructions:

# Setup ffmpeg and golang
sudo add-apt-repository ppa:mc3man/trusty-media
sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable
sudo apt-get update
sudo apt-get install nodejs npm ffmpeg libvpx1 golang
# Setup webm remuxer
mkdir $HOME/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
cd $GOPATH
go get github.com/acolwell/mse-tools/mse_webm_remuxer

# Add GO to .bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bashrc

git clone # Clone this repo.
cd # cd into it's directory.
mkdir videos # Copy videos to view to here
npm install
nodejs index.js