A nodejs web streaming server. It needs node 8 or above.
node-play is a web server witch expose api for encoding your videos and playing them back in either HLS (HTTP LIVE STREAMING) or MPEG-DASH.
The UI is implemented in vue.js and the sources are in the mediagoom/node-play-ui repository.
For encoding it uses ffmpeg. A free tool.
For packaging it uses mg. A free tool.
It should work on both Linux and Window.
If you want to run on other platforms you may need to install the above tools yourself.
docker run -d -p 80:3000 --name node-play mediagoom/node-play
To install it globally run:
sudo -E npm install -g @mediagoom/node-play
To run it type:
nodeplay
Create a directory to host node-play
mkdir nodeplay
cd nodeplay
then install it locally
npm install @mediagoom/node-play
run it
./node_modules/.bin/nodeplay
- navigate to http://localhost:3000
If you set the environment variable NODE_ENV to production node-play will save its works flows to disk. In this way in case something should happen in an encoding it will be restarted when node-play is restarted.