{"id":20081273,"url":"https://github.com/depuits/camprocessor","last_synced_at":"2026-06-04T13:31:23.859Z","repository":{"id":86549549,"uuid":"98451907","full_name":"depuits/camProcessor","owner":"depuits","description":"Bash scripts for maintaining and processing camera image file output.","archived":false,"fork":false,"pushed_at":"2017-12-29T09:34:59.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T13:28:29.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/depuits.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-07-26T18:05:52.000Z","updated_at":"2017-07-26T19:32:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a1c243b-5e6c-4403-9ada-1a7f6f45845d","html_url":"https://github.com/depuits/camProcessor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/depuits/camProcessor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depuits%2FcamProcessor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depuits%2FcamProcessor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depuits%2FcamProcessor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depuits%2FcamProcessor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depuits","download_url":"https://codeload.github.com/depuits/camProcessor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depuits%2FcamProcessor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33907693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":[],"created_at":"2024-11-13T15:34:10.140Z","updated_at":"2026-06-04T13:31:23.841Z","avatar_url":"https://github.com/depuits.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CamProcessor (WIP)\nBash scripts for maintaining and processing camera image file output. \n\n## Setup\nThe cameras should be set to save in the a tmp folder under a camera folder (`/cameras/cam01/tmp/`). These are then timestamped and move to a folder of that date. At the end of the day all images are processed into a single movie and deleted.\n\n### Example:\n```\n+-- **cam01**\n|   +-- **tmp** (folder with unprocessed files since last preproccess)\n|   +-- **24012018** (folder with unprocessed files of today)\n|   +-- **24012017** (folder with unprocessed files of yesterday)\n|   +-- **24012016.mkv** (processed output file)\n|   +-- **24012015.mkv** (processed output file)\n|   +-- **24012014.mkv** (processed output file)\n|   +-- **...**\n+-- **cam02**\n|   +-- **tmp**\n|   +-- **24012018**\n|   +-- **24012017**\n|   +-- **24012016.mkv**\n|   +-- **24012015.mkv**\n|   +-- **24012014.mkv**\n|   +-- **...**\n+-- **cam03**\n|   +-- **tmp**\n|   +-- **24012018**\n|   +-- **24012017**\n|   +-- **24012016.mkv**\n|   +-- **24012015.mkv**\n|   +-- **24012014.mkv**\n|   +-- **...**\n+-- **...**\n+\n+\n```\n\n### Dependencies\n[ImageMagick convert](http://www.imagemagick.org/) - Used to add timestamp onto image.\n\n[MPV](https://mpv.io/) - Used for turning image into an mkv.\n\n### Scripts description\n\n#### 01_preprocess\nTimestamp the day and time and then move the image file to its destination.\n\n#### 02_process\nCombine all images into the final output.\n\n#### 03_cleanup\nWhen the final file is created remove the source image files and remove final file after the defined ammount of time to free space.\n\n#### dskspc\nCheck the remaining space on the disk.\n\n#### config\nShared script variables.\n\n### Run automaticly\n\nAdd the scipts to crontab with `contab -e`.\n```\n */5 * * * * 01_preprocess.sh\n   0 1 * * * 02_process.sh\n   0 2 * * * 03_cleanup.sh\n  30 2 * * * dskspc.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepuits%2Fcamprocessor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepuits%2Fcamprocessor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepuits%2Fcamprocessor/lists"}