{"id":15197070,"url":"https://github.com/bemasher/pmvr","last_synced_at":"2025-10-28T07:30:37.316Z","repository":{"id":144292266,"uuid":"89821103","full_name":"bemasher/pmvr","owner":"bemasher","description":"Raspberry Pi Motion Video Recorder","archived":false,"fork":false,"pushed_at":"2018-06-08T23:10:34.000Z","size":98,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T12:44:08.032Z","etag":null,"topics":["camera","ffmpeg","motion","motion-vectors","raspberry","raspberry-pi","raspberry-pi-camera","raspivid","security"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bemasher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-04-30T00:42:32.000Z","updated_at":"2023-04-09T06:28:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d15d41ad-056b-4689-abf1-0fb168448a2b","html_url":"https://github.com/bemasher/pmvr","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"ddf5e8465266c27d13a51661b9a68e2e057b6639"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemasher%2Fpmvr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemasher%2Fpmvr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemasher%2Fpmvr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bemasher%2Fpmvr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bemasher","download_url":"https://codeload.github.com/bemasher/pmvr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238608303,"owners_count":19500354,"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":["camera","ffmpeg","motion","motion-vectors","raspberry","raspberry-pi","raspberry-pi-camera","raspivid","security"],"created_at":"2024-09-28T00:40:54.931Z","updated_at":"2025-10-28T07:30:31.945Z","avatar_url":"https://github.com/bemasher.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PMVR\nThe Raspberry **P**i **M**otion **V**ideo **R**ecorder is a proof of concept daemon that makes use of the motion estimation vectors available from the RPi's hardware accelerated H.264 encoder to detect and save clips of motion.\n\n# Setup\n  * Requires the Go toolchain (\u003e=go1.8)\n    * I've not checked this for standard library compatibility with anything prior to `go1.8`. It may or may not work on versions prior to that.\n  * Raspivid\n    * On Arch Linux this is provided as part of `raspberrypi-firmware` but is not listed in the path. It must be in the path.\n  * FFmpeg (or avconv symlinked as ffmpeg, if you must)\n  * A named pipe for motion vectors: `mkfifo motion_vectors.fifo`\n\n# Installation\n```go\ngo get -v github.com/bemasher/pmvr\ngo install -v github.com/bemasher/pmvr\n```\n\n# Running\n```bash\npmvr\n```\n\n# Resource Usage\nExcept for determining magnitude of motion over each frame, we're just shuffling data around. PMVR is very light on resources:\n\n![PMVR Running on an RPi3 with NOIR Camera V1](https://raw.githubusercontent.com/bemasher/pmvr/master/assets/resource_usage.png)\n\n# Improvements and Feature Requests\nHave any improvements or feature requests? Submit an issue and we'll discuss feasibility.\n\n# ToDo\n- [ ] Add command line flags for:\n  - [ ] Motion detection thresholds.\n  - [ ] Raspivid command line options.\n  - [ ] FFmpeg command line options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbemasher%2Fpmvr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbemasher%2Fpmvr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbemasher%2Fpmvr/lists"}