{"id":25602809,"url":"https://github.com/valentin-guillet/gifextractor","last_synced_at":"2025-06-16T02:36:20.378Z","repository":{"id":278196611,"uuid":"934831535","full_name":"Valentin-Guillet/GifExtractor","owner":"Valentin-Guillet","description":"Python tool to visually extract GIF from MP4 files","archived":false,"fork":false,"pushed_at":"2025-02-18T13:41:39.000Z","size":656,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T14:34:10.856Z","etag":null,"topics":["gif","gif-extractor","python3","python3-script"],"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/Valentin-Guillet.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":"2025-02-18T13:28:38.000Z","updated_at":"2025-02-18T13:41:42.000Z","dependencies_parsed_at":"2025-02-18T14:47:05.909Z","dependency_job_id":null,"html_url":"https://github.com/Valentin-Guillet/GifExtractor","commit_stats":null,"previous_names":["valentin-guillet/gifextractor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Valentin-Guillet/GifExtractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valentin-Guillet%2FGifExtractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valentin-Guillet%2FGifExtractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valentin-Guillet%2FGifExtractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valentin-Guillet%2FGifExtractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Valentin-Guillet","download_url":"https://codeload.github.com/Valentin-Guillet/GifExtractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Valentin-Guillet%2FGifExtractor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260086830,"owners_count":22956876,"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":["gif","gif-extractor","python3","python3-script"],"created_at":"2025-02-21T17:24:09.670Z","updated_at":"2025-06-16T02:36:20.335Z","avatar_url":"https://github.com/Valentin-Guillet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GIF Extractor\n\nGIF Extractor is a GUI application that allows users to extract GIFs from MP4 videos easily. It provides an intuitive interface for selecting a crop region, marking start and end frames, and exporting the selected clip as a GIF using FFmpeg.\n\n![Preview](./preview.png)\n\n## Features\n\n- Video playback with seeking and playback speed adjustments.\n- Selection overlay for defining the cropped region.\n- GIF preview functionality before export.\n- Keyboard shortcuts for quick operations.\n- Built with PyQt6 for the GUI and FFmpeg for video processing.\n\n## Installation\n\n### Prerequisites\n\nEnsure you have the following installed on your system:\n\n- **Python 3** (recommended version 3.8 or later)\n- **FFmpeg** (required for video processing)\n- **PyQt6** (for the graphical user interface)\n- **gifsicle** (optional: for gif optimization)\n\n## Usage\n\nRun the script with an optional video file as an argument:\n\n```sh\npython gif_extractor.py [videoPath]\n```\n\nIf no video path is provided, you can open a file from within the application.\n\n## Keyboard Shortcuts\n\n- **Ctrl + O**: Open a video\n- **Space / K**: Play/Pause\n- **J / Left Arrow**: Seek backward 3 seconds\n- **L / Right Arrow**: Seek forward 3 seconds\n- **S**: Mark start frame\n- **E**: Mark end frame\n- **A**: Go to start frame\n- **D**: Go to end frame\n- **P**: Toggle GIF preview\n- **X / Ctrl + S**: Save GIF\n- **Q**: Quit\n- **?**: Show help\n\n## Saving GIFs\n\n1. Open a video file.\n2. Use `S` and `E` to mark the start and end of your desired GIF.\n3. Optionally select a cropped region using the mouse.\n4. Press `X` or `Ctrl + S` to save the GIF.\n\nThe application uses FFmpeg to generate GIFs and optimizes them using `gifsicle` (if available).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentin-guillet%2Fgifextractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentin-guillet%2Fgifextractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentin-guillet%2Fgifextractor/lists"}