Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
/ ffmpeg-stream Public archive

Forward a stream to mpeg client in html

License

Notifications You must be signed in to change notification settings

supermarsx/ffmpeg-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg-stream

Stream example

Forward a RTSP stream using node and output it to a websocket with an overlay filter and top left logo, uses jsmpeg for decoding.

This stream requires jsmpeg, ffmpeg and express.

Quick Start

  1. Edit configurations as needed inside the server folder stream-server.js, stream-client.js and at client\js\stream.js.
  2. Edit overlays as needed inside server folder logo.png for the logotype and mask.png for darkening overlay.
  3. Do npm install to install all dependencies
  4. Install ffmpeg and add to PATH if using Windows
  5. Enter server folder and start ffmpeg streaming node .\stream-server.js and web server node .\stream-client.js.
  6. Access the stream at http://localhost:8080 if you're using the default configuration.

License

Distributed under MIT License. See license.md for more information.