Giter Club home page Giter Club logo

node-red-ffmpeg's Introduction

@kevingodell/node-red-ffmpeg

GitHub license npm GitHub issues

A Node-RED node used for spawning a long-running ffmpeg process to handle video/image processing.

Expectations:

  • You should have working knowledge of ffmpeg on the command line.
  • 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-ffmpeg
  • reboot the node-red server
node-red-stop && node-red-start

Instructions:

  • See the detailed help text in the sidebar.

Screenshots:

flow

properties

args

help

Flows:

https://github.com/kevinGodell/node-red-ffmpeg/tree/master/examples

node-red-ffmpeg's People

Contributors

kevingodell avatar

Stargazers

 avatar  avatar GA. avatar Seba avatar Jindřich Doležy avatar

Watchers

 avatar

Forkers

zekiriku

node-red-ffmpeg's Issues

Is there any way to get frames out of the ffmpeg node?

Dear @kevinGodell , thanks for posting this module, I am testing it in the context of a home made security system (learning process)

My current workflow is something like this:
-In Scrypted the rstp flows are processed, and motion is detected. This triggers MQTT events that I receive on Node Red. Scrypted also provides some features like exposing to Apple HomeKit and others, and rebroadcasting camera traffic via rtsp.
-The second layer is Node Red. Today I am getting a picture from every camera via http, and procesing it with Tensorflow to detect objects of interst.

Instead of fetching images via http (that provides a lot of timeouts) I would rather use the rtsp stream to get 1 picture at a time via your ffmpeg node.

I have used ffmpeg from the command line, and it provides the frames, which I could save to disk or pipe into another ffmpeg command for further processing. But that leaves the image let's say at the operating system level, and I would rather have the image processed on node red.

Could you please expand the examples so that on e of the outputs shows 1 frame?

WhatsApp Image 2023-04-14 at 11 21 43

Thanks in advance,
Sebastián

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.