A NodeJS implementation of RTMP/HTTP-FLV Media Server
This project is a fork from Node-Media-Server by illuspas. This is just a smaller and more local streaming focused fork for use with OBS.
- Cross platform support Windows/Linux/Unix
- Support for H.264/H.265/AAC/MP3/SPEEX/NELLYMOSER/G.711
- Support for remux to LIVE-HTTP-FLV, support for playback with flv.js
// windows guide only right now, binaries for linux/unix exists
NOTICE: Binaries are only 64 bit.
- Download latest release from the releases tab
- When it's done, just run it™
git clone https://github.com/ThaCheeseBun/ez-rtmp-server.git
cd ez-rtmp-server
npm install
node .
If you have a video file with H.264 video and AAC audio:
ffmpeg -re -i INPUT_FILE_NAME -c copy -f flv rtmp://localhost/live/STREAM_NAME
Or if you have a video file that is encoded in other audio/video format:
ffmpeg -re -i INPUT_FILE_NAME -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://localhost/live/STREAM_NAME
Settings -> Stream
Stream Type: Custom Streaming Server
URL: rtmp://localhost/live
Stream key: <STREAM_NAME>
rtmp://localhost/live/STREAM_NAME
Direct playback
http://localhost:8000/live/STREAM_NAME.flv
Or if you want to watch from a website
http://localhost:8000/watch/STREAM_NAME