{"id":21492794,"url":"https://github.com/luis-kr/stream2frame","last_synced_at":"2026-05-09T02:35:20.141Z","repository":{"id":262245160,"uuid":"876161519","full_name":"Luis-Kr/Stream2Frame","owner":"Luis-Kr","description":"A Python-based tool for processing and extracting frames from UniFi Protect camera recordings.","archived":false,"fork":false,"pushed_at":"2024-12-12T14:59:51.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T21:17:45.463Z","etag":null,"topics":["data-transfer","ffmpeg","frame-extraction","opencv","unifi-protect","video-conversion","video-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luis-Kr.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":"2024-10-21T13:56:50.000Z","updated_at":"2024-12-12T14:59:55.000Z","dependencies_parsed_at":"2024-11-11T12:21:14.243Z","dependency_job_id":"270970e4-0f65-41b4-82fd-b77b87692694","html_url":"https://github.com/Luis-Kr/Stream2Frame","commit_stats":null,"previous_names":["luis-kr/stream2frame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luis-Kr%2FStream2Frame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luis-Kr%2FStream2Frame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luis-Kr%2FStream2Frame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luis-Kr%2FStream2Frame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luis-Kr","download_url":"https://codeload.github.com/Luis-Kr/Stream2Frame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244024140,"owners_count":20385384,"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","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":["data-transfer","ffmpeg","frame-extraction","opencv","unifi-protect","video-conversion","video-processing"],"created_at":"2024-11-23T15:32:45.488Z","updated_at":"2026-05-09T02:35:15.119Z","avatar_url":"https://github.com/Luis-Kr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stream2Frame\n\nA Python-based tool for processing and extracting frames from UniFi Protect camera recordings.\n\n## Overview\n\nStream2Frame is designed to process .ubv video files from UniFi Protect cameras, convert them to MP4 format, extract frames at specified intervals, and transfer the processed data to a remote server.\n\n## Features\n\n- Converts UniFi Protect .ubv files to MP4 format\n- Extracts frames at 2-minute intervals\n- Generates synchronized CSV files with frame timestamps\n- Creates a consolidated video files\n- Transfers processed data to a remote server\n- Automatic cleanup of processed files\n\n## Configuration\n\n1. Create and edit `config/utils/cams.yaml` to define your cameras:\n\n```yaml\n\nCameraName: MAC_ADDRESS\n\n```\n\n2. Configure the Hydra settings in the config directory for:\n- Source and destination directories\n- Remote server settings\n- Processing parameters\n\n\n## Usage\n\n1. Run the main processing script:\n\n```bash\n\n./scripts/main_wrapper.sh\n\n```\n\n2. For manual execution with specific dates:\n\n```bash\n\npython src/main.py NVR.year=YYYY NVR.month=MM NVR.day=DD\n\n```\n\n3. Clean up processed files:\n\n```bash\n\n# Run delete_files.sh periodically to clean up processed files and maintain storage space.\n\n./src/delete_files.sh\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluis-kr%2Fstream2frame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluis-kr%2Fstream2frame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluis-kr%2Fstream2frame/lists"}