Giter Site home page Giter Site logo

zkhan93 / cctv Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 39 KB

RTSP Stream Recorder is a tool for recording and processing RTSP streams. The tool uses FFmpeg for recording and Bash scripts for processing the streams.

License: MIT License

Shell 89.64% Dockerfile 10.36%
bash cron docker ffmpeg rtsp timelapse video-processing video-recording

cctv's Introduction

RTSP Stream Recorder

This is a Docker and Docker Compose based solution for recording 5 RTSP streams using FFmpeg and Bash scripts. It provides the following functionality:

Recording

  • Record each stream as 10 minutes clips

Merging

  • At the end of the day, the clips will be merged into one 24 hour video

Timelapse

  • Create a timelapse video of the past day's footage

Disk Space Management

  • Cleanup old recorded videos if disk space is running low

Getting Started

  1. Make sure you have Docker and Docker Compose installed.
  2. Update the RTSP stream URLs in the docker-compose.yml configuration file.
  3. Run docker-compose up -d to start the recording and merging containers.
  4. The recorded videos will be saved in the output directory.

Images

  • recorder: container that records the RTSP streams
  • merger: container that runs a cronjob at the end of the day to merge the clips and create a timelapse video

Troubleshooting

  • If you encounter any issues while running the containers, you can check the logs by running docker logs [container-name].
  • If you continue to have trouble, please open an issue on the project's Github page.

Contribute

If you want to contribute to this project, you can create a fork and send a pull request.

License

This project is licensed under the MIT License.

cctv's People

Contributors

zkhan93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cctv's Issues

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.