@kevingodell/node-red-mp4frag
v0.1.1-beta.2
Published
Parse a fragmented mp4 from a buffer and send it to a downstream node or serve it via socket.io and http.
Downloads
58
Maintainers
Readme
@kevingodell/node-red-mp4frag
A Node-RED node used for parsing fragmented mp4 video from ffmpeg.
- designed to live stream mp4 video via http or socket.io
- video can be viewed in modern browsers using HLS.js
- video can be viewed in Safari browser using native HLS
- compatible with @kevingodell/node-red-ui-mp4frag
Expectations:
- You should have working knowledge of ffmpeg on the command line.
- Input MP4 video should be properly fragmented so that it is compatible.
- When using ffmpeg, set
-movflags +frag_keyframe+empty_moov+default_base_moof
. - If you have difficulties making it work, please open a new discussion and tag me
@kevinGodell
. - Do not send private messages asking for help because that will not benefit others with similar issues.
Installation:
- go to the correct directory, usually ~/.node-red
cd ~/.node-red
- using npm
npm install @kevingodell/node-red-mp4frag
- reboot the node-red server
node-red-stop && node-red-start
Instructions:
- See the detailed help text in the sidebar.
Screenshots:
Flows:
https://github.com/kevinGodell/node-red-mp4frag/tree/master/examples