node-red-contrib-rtmp 1.0.4

A Node-RED node to stream RTMP using FFmpeg

npm install node-red-contrib-rtmp

node-red-contrib-rtmp

A Node-RED node to stream RTMP (Real-Time Messaging Protocol) using FFmpeg.

Overview

This Node-RED node allows you to stream video and audio to an RTMP server using FFmpeg. It supports a variety of input formats and provides a flexible way to integrate RTMP streaming into your Node-RED flows.

Prerequisites

Example Flow

Here’s an example of a basic Node-RED flow that uses the rtmp node to stream a video to an RTMP server:

[
    {
        "id": "ffmpeg-spawn",
        "type": "rtmp",
        "z": "flow_id",
        "name": "Stream to RTMP",
        "input": "/path/to/video.mp4",
        "rtmpUrl": "rtmp://your_rtmp_server/live/stream_key",
        "outputs": 1,
        "x": 400,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "inject-node",
        "type": "inject",
        "z": "flow_id",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 200,
        "y": 200,
        "wires": [
            ["ffmpeg-spawn"]
        ]
    }
]

Node Info

Version: 1.0.4
Updated 9 months, 1 week ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

5 in the last week

Nodes

  • rtmp

Keywords

  • node-red
  • rtmp
  • ffmpeg
  • streaming

Maintainers