{"id":17016511,"url":"https://github.com/13rac1/autovidloop","last_synced_at":"2025-07-14T18:38:50.122Z","repository":{"id":40982308,"uuid":"194646587","full_name":"13rac1/autovidloop","owner":"13rac1","description":"Trim a video to create a loop by finding the frame least different from the first","archived":false,"fork":false,"pushed_at":"2023-10-03T22:41:56.000Z","size":11,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T06:35:05.474Z","etag":null,"topics":["loop","trim","video","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/13rac1.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}},"created_at":"2019-07-01T09:54:16.000Z","updated_at":"2024-10-03T09:32:02.000Z","dependencies_parsed_at":"2023-01-21T13:45:09.259Z","dependency_job_id":null,"html_url":"https://github.com/13rac1/autovidloop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/13rac1/autovidloop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13rac1%2Fautovidloop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13rac1%2Fautovidloop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13rac1%2Fautovidloop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13rac1%2Fautovidloop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/13rac1","download_url":"https://codeload.github.com/13rac1/autovidloop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/13rac1%2Fautovidloop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265333448,"owners_count":23748801,"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":["loop","trim","video","video-processing"],"created_at":"2024-10-14T06:33:35.088Z","updated_at":"2025-07-14T18:38:50.091Z","avatar_url":"https://github.com/13rac1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Video Looper\n\nAttempt to automatically trim a video to create a loop by finding the video\nframe least different from the first frame. The method is bruteforce, so can\ntake significant processing time on large source files.\n\nWorks well enough for my needs. YMMV. ¯\\\\_(ツ)_/¯\n\n## Install\n\n```bash\npip3 install https://github.com/13rac1/autovidloop/archive/master.zip\n# TODO: Upload to pip?\n```\n\n## Usage\n\n```bash\n$ autovidloop -h\nusage: autovidloop [-h] [--output FILENAME] [--start N] [--skip N] FILENAME\n\nAttempt to automatically trim a video to create a loop by finding the frame least\ndifferent from the first frame.\n\npositional arguments:\n  FILENAME           a video file readable by FFMPEG\n\noptional arguments:\n  -h, --help         show this help message and exit\n  --output FILENAME  an output filename (default is \"loop.mp4\")\n  --start N          frame to start processing (default: 1)\n  --skip N           number of frames to skip after the first for diff calculations\n                     (default: 30)\n```\n\n## Notes\n\n```bash\n# Trim a video with ffmpeg\nffmpeg -i input.mp4 -vf select=\"between(n\\,0\\,200),setpts=PTS-STARTPTS\" \\\n-c:v libx264 -strict -2 -r 30 -pix_fmt yuv420p output.mp4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F13rac1%2Fautovidloop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F13rac1%2Fautovidloop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F13rac1%2Fautovidloop/lists"}