{"id":20930245,"url":"https://github.com/dpbm/extract_frames","last_synced_at":"2025-12-29T04:41:52.736Z","repository":{"id":122869656,"uuid":"319149588","full_name":"Dpbm/extract_frames","owner":"Dpbm","description":"extract frames from videos","archived":false,"fork":false,"pushed_at":"2023-12-21T22:50:59.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-19T18:51:56.130Z","etag":null,"topics":["frames","frames-extract","linux","numpy","opencv","pip","pipenv","py","python","python-opencv","python3","simple-program","study","terminal","tool","video","videos"],"latest_commit_sha":null,"homepage":"https://dpbm.github.io/extract_frames/","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/Dpbm.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":"2020-12-06T22:59:09.000Z","updated_at":"2023-12-21T22:48:37.000Z","dependencies_parsed_at":"2024-11-18T21:39:42.502Z","dependency_job_id":"9d6407a3-ad92-409c-b6b0-ccd7e45b9faa","html_url":"https://github.com/Dpbm/extract_frames","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpbm%2Fextract_frames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpbm%2Fextract_frames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpbm%2Fextract_frames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dpbm%2Fextract_frames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dpbm","download_url":"https://codeload.github.com/Dpbm/extract_frames/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324266,"owners_count":20273100,"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":["frames","frames-extract","linux","numpy","opencv","pip","pipenv","py","python","python-opencv","python3","simple-program","study","terminal","tool","video","videos"],"created_at":"2024-11-18T21:30:43.893Z","updated_at":"2025-12-29T04:41:47.704Z","avatar_url":"https://github.com/Dpbm.png","language":"Python","readme":"# extract frames from a mp4 video\n\n\n\nhttps://github.com/Dpbm/extract_frames/assets/75098594/789637b4-6ba7-488a-95d2-07de1737251a\n\n\n\nThis is an old project of mine, using python, to extract frames from videos.\n\nThe idea here is an automate this process, and learning something about [Pillow](https://pillow.readthedocs.io/en/stable/) and [OpencvPython](https://pypi.org/project/opencv-python/).\n\n## Requirements\n\nTo run that you need to have installed in your machine:\n\n* python3 (3.8)\n* pip\n* git\n\nUsing [Pipenv](https://pipenv.pypa.io/en/latest/) or [conda](https://www.anaconda.com/) is optional here, but recommended.\n\n## Installation\n\nTo install this project:\n\n1. clone this repo\n\n```bash\ngit clone https://github.com/Dpbm/extract_frames.git\ncd extract_frames\n```\n\n3. install dependencies\n\n```bash\n# using pip\npip install -r requirements.txt\n\n# using conda\nconda env create -f enviroment.yml\nconda activate extract_frames\n\n# using pipenv\npipenv install\npipenv shell\n```\n\n## Using\n\nIn the project directory run:\n\n```bash\npython3 main.py\n```\n\nThen provide the `folder path` where the videos are and the `salt number`, this number provides how much time you need to wait before getting a frame.\n\nThe resulting images are put inside the directory `./frames`\n\n`Note: this scripts run over a folder, not a single file!` \n\n--- \n\nFor sure, this is a too simple project, and all this could be done so much better using [ffmpeg](https://ffmpeg.org/) or similar. However, this project I've made a couple of year ago, and I don't intend to update it for now.\n\nIf you want to update this project by yourself, I'll be pleasured to accept your pull request :)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpbm%2Fextract_frames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpbm%2Fextract_frames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpbm%2Fextract_frames/lists"}