GithubHelp home page GithubHelp logo

elmcrest / rtsp2mjpg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eroji/rtsp2mjpg

0.0 1.0 0.0 26 KB

RTSP to MJPEG stream conversion using FFmpeg and FFserver

Dockerfile 59.01% Shell 40.99%

rtsp2mjpg's Introduction

RTSP to MJPEG stream conversion using FFmpeg and FFserver

Below are the environmental variables available and their default value. Override them as needed.

Variables Default
RTSP_URL rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream
FFSERVER_LOG_LEVEL error
FFMPEG_LOG_LEVEL warning
FFMPEG_INPUT_OPTS empty
FFMPEG_OUTPUT_OPTS empty

Output

Live stream: http://<IP>:8090/live.mjpg
Still snapshot: http://<IP>:8090/still.jpg

The ffserver.conf values are set for Wyze Cam V2 output. If you need to customize it you can pull the source and build with your own values.

Docker Compose

  • Clone the repo
  • Edit docker-compose.yaml for any customizations needed
  • Launch the containers using docker-compose up -d

There will be an nginx container included to proxy ffserver. I find that it handles situations where the ffserver backend becomes unresponse better with a timeout reponse.

With docker-compose, the output can be accessed via:

Live stream: http://<IP>/live.mjpg
Still snapshot: http://<IP>/still.jpg

rtsp2mjpg's People

Contributors

eroji avatar cristiancs avatar bjhiltbrand avatar

Watchers

James Cloos avatar

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.