UNPKG

node-red-contrib-mog

Version:

mog

39 lines (25 loc) 1.4 kB
#NMOS nodes by MOG Technologies Allows the user to create media workflows in Node-red using NMOS and IP networks. The package contains 5 nodes: input-distributer, file-distributer, audio-switcher, video-switcher, output-distributer. ##Instalation (for Windows): - `npm install node-red` - `cd .node-red` - `npm install node-red-contrib-mog` ##Run: Launch Node-red - `cd .node-red` - `node-red` Start server: - `cd .node-red\node_modules\node-red-contrib-mog\server` - `node browser.js` - `node server.js <connection_port>` Change switcher input: - `cd .node-red\node_modules\node-red-contrib-mog\server` - `python zmq_client_video.py <input number>` - `python zmq_client_audio.py <input number>` [in order to properly test the prototype please make sure you have some NMOS nodes running] [in order to use ffmpeg install it and compile zmq library on top, change PATH in environment variables] ##Usage: For each node define the NMOS devices and services to use, as well as the IP adresses for the inputs and outputs. connect the nodes as you wish and deploy the flow. You can save the flows or load them into node-red (please refer to the Node-red documentation to learn how o use the interface). [**DISCLAMER**] Still in development, for now the deployment is not using NMOS but FFMPEG, so please install FFMPEG if you want to try the prototype.