{"id":15197200,"url":"https://github.com/git-akihakune/pilapse","last_synced_at":"2026-02-04T03:02:57.225Z","repository":{"id":44895538,"uuid":"442297876","full_name":"git-akihakune/pilapse","owner":"git-akihakune","description":"Python module to capture time lapse videos on Raspberry Pi","archived":false,"fork":false,"pushed_at":"2022-03-27T10:36:25.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T21:37:24.660Z","etag":null,"topics":["image-capture","python","raspberry","raspberry-pi","timelapse","timelapse-photography","timelapse-videos","video"],"latest_commit_sha":null,"homepage":"","language":"Python","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/git-akihakune.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}},"created_at":"2021-12-27T23:32:21.000Z","updated_at":"2022-01-18T13:54:34.000Z","dependencies_parsed_at":"2022-08-28T16:41:10.509Z","dependency_job_id":null,"html_url":"https://github.com/git-akihakune/pilapse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-akihakune%2Fpilapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-akihakune%2Fpilapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-akihakune%2Fpilapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/git-akihakune%2Fpilapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/git-akihakune","download_url":"https://codeload.github.com/git-akihakune/pilapse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241605738,"owners_count":19989608,"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":["image-capture","python","raspberry","raspberry-pi","timelapse","timelapse-photography","timelapse-videos","video"],"created_at":"2024-09-28T00:45:05.855Z","updated_at":"2026-02-04T03:02:57.134Z","avatar_url":"https://github.com/git-akihakune.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pilapse\nPython module to capture time lapse videos on Raspberry Pi\n\n## Examples\n\n![pilapse-demo](https://user-images.githubusercontent.com/87116762/151702712-916586c2-ed8a-4060-8770-02ec639b603b.gif)\n\n\n## Installation\nIt's recommended to create a virtual environment:\n```bash\npython -m venv pilapse\ncd pilapse\nsource bin/activate\n```\n\nFor video compiling, simply install `pilapse` from PyPi:\n```bash\npip install pilapserec\n```\n\nFor recording or image capturing, you also need `picamera` module:\n```bash\npip install pilapserec picamera\n```\n\n## Usage\nTo capture an image only (can be used to check the camera beforehand):\n```bash\npilapse capture\n```\n\nTo record a long video:\n```bash\npilapse record\n```\n\nTo make a video out of captured images:\n```bash\npilapse compile\n```\n\nHowever, you are advised against video compiling directly on Raspberry Pi, as the system resource may run low and you are almost certainly to be kicked out of the SSH session. For the same reason, you are advised against using the `--auto-compile` switch. After record session, you can plug the microSD card into your main work station and compile them there.\n\nTo manually clean up the working directory (if you specified `--preserve` while recording):\n```bash\npilapse clean\n```\n\nFor more options, refer to `--help` command:\n```bash\n(pilapse) aki@hakune:~/pilapse $ pilapse --help\npiLapse - capture time lapse video on Raspberry Pi.\n\nUsage:\n    pilapse capture [-i \u003cimage-name\u003e] [-s \u003csave-dir\u003e] [--no-time] [--verbose]\n    pilapse record [-d \u003cduration\u003e | -c] [-f \u003cfrequency\u003e] [-l \u003clength\u003e] [-w \u003cwidth\u003e] [-s \u003csave-dir\u003e] [-S \u003cwait-time\u003e] [--auto-compile] [-o \u003cvideo-name\u003e] [-F \u003cfps\u003e] [--no-time] [--preserve] [--verbose]\n    pilapse compile [-s \u003csave-dir\u003e] [-o \u003cvideo-name\u003e] [-F \u003cfps\u003e] [--preserve] [--verbose]\n    pilapse clean [-s \u003csave-dir\u003e]\n    pilapse (-h | --help)\n    pilapse --version\n\nActions:\ncapture     Take 1 image only.\nrecord      Record a timelapse video.\ncompile     Compile labelled images into a video.\n\nOptions:\n-h --help                   Show this screen.\n-c --continuous             Set to continuously run mode.\n-d --duration DURATION      Set recording duration (by seconds) [default: 600].\n-f --frequency FREQUENCY    Set time interval between shots (by seconds) [default: 5].\n-F --fps FPS                Set final video fps [default: 24].\n-l --length LENGTH          Set image length dimension (by pixel) [default: 3280].\n-w --width WIDTH            Set image width dimension (by pixel) [default: 2464].\n-s --save-dir SAVINGDIR     Set working and saving directory [default: ~/Videos/pilapse].\n-S --shutter-wait TIME      Set timer before start capturing (by seconds) [default: 0].\n-i --image-name NAME        Set image name in capture mode [default: image.jpg].\n-o --output-video NAME      Set output video name.\n-a --auto-compile           Automatically compile images [default: True].\n-p --preserve               Do not automatically clean up after recording.\n-n --no-time                Do not add time in capture mode.\n--verbose                   Set to verbose mode.\n--version                   Show version.\n```\n\n## Acknowledged issues\nTo keep the process running after log out of SSH, you can use [`screen` or `tmux`](https://askubuntu.com/questions/8653/how-to-keep-processes-running-after-ending-ssh-session):\n```bash\nsudo apt install tmux\ntmux\npilapse record\n```\n\nIf you encounter [`numpy` error while making videos on Raspberry Pi](https://numpy.org/devdocs/user/troubleshooting-importerror.html), run this command and try to compile again:\n```bash\nsudo apt install libatlas-base-dev ffmpeg\n```\n\nLiterally any other issue can be solved with:\n```bash\npip install --upgrade moviepy\n```\n\n## Development\nAny contribution is deeply appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-akihakune%2Fpilapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgit-akihakune%2Fpilapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgit-akihakune%2Fpilapse/lists"}