{"id":26950637,"url":"https://github.com/zkhan93/cctv","last_synced_at":"2025-08-03T12:06:02.636Z","repository":{"id":81622745,"uuid":"447530811","full_name":"zkhan93/cctv","owner":"zkhan93","description":"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.","archived":false,"fork":false,"pushed_at":"2025-03-26T14:57:04.000Z","size":42,"stargazers_count":29,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T23:34:04.134Z","etag":null,"topics":["bash","cron","docker","ffmpeg","rtsp","timelapse","video-processing","video-recording"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkhan93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-13T09:01:25.000Z","updated_at":"2025-03-26T14:57:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7a9d89e-7c1c-486f-aaba-aa4773d6a751","html_url":"https://github.com/zkhan93/cctv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zkhan93/cctv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkhan93%2Fcctv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkhan93%2Fcctv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkhan93%2Fcctv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkhan93%2Fcctv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkhan93","download_url":"https://codeload.github.com/zkhan93/cctv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkhan93%2Fcctv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268540747,"owners_count":24266596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","cron","docker","ffmpeg","rtsp","timelapse","video-processing","video-recording"],"created_at":"2025-04-02T23:31:11.278Z","updated_at":"2025-08-03T12:06:02.598Z","avatar_url":"https://github.com/zkhan93.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTSP Stream Recorder\n\nThis is a Docker and Docker Compose based solution for recording 5 RTSP streams using FFmpeg and Bash scripts. It provides the following functionality:\n\n## Recording\n\n- Record each stream as 10 minutes clips\n\n## Merging\n\n- At the end of the day, the clips will be merged into one 24 hour video\n\n## Timelapse\n\n- Create a timelapse video of the past day's footage\n\n## Disk Space Management\n\n- Cleanup old recorded videos if disk space is running low\n\n## Getting Started\n\n1. Make sure you have [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/) installed.\n2. Update the RTSP stream URLs in the `docker-compose.yml` configuration file.\n3. Run `docker-compose up -d` to start the recording and merging containers.\n4. The recorded videos will be saved in the `output` directory.\n\n## Images\n\n- recorder: container that records the RTSP streams\n- merger: container that runs a cronjob at the end of the day to merge the clips and create a timelapse video\n\n## Troubleshooting\n\n- If you encounter any issues while running the containers, you can check the logs by running `docker logs [container-name]`.\n- If you continue to have trouble, please open an issue on the project's Github page.\n\n## Contribute\n\nIf you want to contribute to this project, you can create a fork and send a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkhan93%2Fcctv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkhan93%2Fcctv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkhan93%2Fcctv/lists"}