{"id":22238263,"url":"https://github.com/nstevens1040/mp42gif","last_synced_at":"2026-04-30T11:32:13.067Z","repository":{"id":70279039,"uuid":"418839266","full_name":"nstevens1040/mp42gif","owner":"nstevens1040","description":"Python script to convert an MP4 file into an animated GIF.","archived":false,"fork":false,"pushed_at":"2021-10-28T21:50:57.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T16:50:40.089Z","etag":null,"topics":["blend","convert","cross-platform","ffmpeg-python","gif","linux","macos","minterpolate","mp4","playback-rate","python","python3","slice","to","windows"],"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/nstevens1040.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-19T08:37:12.000Z","updated_at":"2025-09-25T02:40:38.000Z","dependencies_parsed_at":"2023-02-27T03:46:35.240Z","dependency_job_id":null,"html_url":"https://github.com/nstevens1040/mp42gif","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nstevens1040/mp42gif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2Fmp42gif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2Fmp42gif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2Fmp42gif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2Fmp42gif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nstevens1040","download_url":"https://codeload.github.com/nstevens1040/mp42gif/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstevens1040%2Fmp42gif/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32463892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["blend","convert","cross-platform","ffmpeg-python","gif","linux","macos","minterpolate","mp4","playback-rate","python","python3","slice","to","windows"],"created_at":"2024-12-03T03:16:00.915Z","updated_at":"2026-04-30T11:32:13.062Z","avatar_url":"https://github.com/nstevens1040.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mp42gif\nPython script that uses [ffmpeg-python](https://github.com/kkroening/ffmpeg-python) to convert an MP4 file into an animated GIF.  \n# Quick Start  \nDownload the executable  \n   - **Windows**  \n```ps1\n# in Windows PowerShell\n[System.Net.WebClient]::New().DownloadFile(\n    \"https://github.com/nstevens1040/mp42gif/releases/download/v1.0.0/mp42gif.exe\",\n    \"$($PWD.Path)\\mp42gif.exe\"\n)\nUnblock-File .\\mp42gif.exe\n```  \n   - **macOS / nix**  \n```ps1\ncurl \"https://github.com/nstevens1040/mp42gif/releases/download/v1.0.0/mp42gif\" --output \"mp42gif\"\nchmod +x ./mp42gif\n```  \nor use the script  \n   - **cross-platform**\n\n```sh\ngit clone https://github.com/nstevens1040/mp42gif.git\ncd mp42gif\npip3 install -r requirements.txt\n```  \n# Usage  \n```sh\nusage: mp42gif.exe [-h] [--input VIDIN] [--slice] [--starttime SLICE_TIME] [--stoptime SLICE_TIME] [--playbackrate PBRATE] [--blend]\n\nSpecify how your video gets converted into a GIF\n\noptional arguments:\n  -h, --help             show this help message and exit\n  --input VIDIN             --input \u003cstr\u003e(file path to your mp4 file)\n  --slice                   --slice --starttime \u003cint\u003e(start time in seconds) --stoptime \u003cint\u003e(end time in seconds) :: both arguments reflect the amount of seconds from the beginning of the video\n  --starttime SLICE_TIME    --starttime \u003cint\u003e(start time in seconds from the beginning of the video)\n  --stoptime SLICE_TIME     --stoptime \u003cint\u003e(stop time in seconds from the beginning of the video)\n  --playbackrate PBRATE     --playbackrate \u003cfloat\u003e(integer or decimal that is non-negative, non-zero, \u0026 not 1) :: numbers greater than 1 speed the video up and numbers between 0 and 1 slow the video down\n  --blend                   --blend \u003cbool\u003e(true or false) :: Determines whether the video gets \"minterpolated\"\n```  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Fmp42gif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstevens1040%2Fmp42gif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstevens1040%2Fmp42gif/lists"}