{"id":18465147,"url":"https://github.com/natario1/gifcompressor","last_synced_at":"2025-04-08T08:31:43.498Z","repository":{"id":35188735,"uuid":"204562200","full_name":"natario1/GIFCompressor","owner":"natario1","description":"An Android tool to compresses your GIFs into lightweight MP4 video using fast, hardware-accelerated encoders. Supports cropping, rotation, GIF concatenation and much more.","archived":false,"fork":false,"pushed_at":"2023-04-12T00:11:36.000Z","size":2523,"stargazers_count":123,"open_issues_count":12,"forks_count":25,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T09:24:35.314Z","etag":null,"topics":["android","compression","gif","gif-compressor","gif-creator","gif-decoder","gif-maker","gif-recorder","mediacodec","mp4","mp4-video","opengl","opengl-es"],"latest_commit_sha":null,"homepage":"https://natario1.github.io/GIFCompressor","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natario1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":["natario1"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-08-26T21:09:57.000Z","updated_at":"2025-01-13T11:33:54.000Z","dependencies_parsed_at":"2024-11-06T09:12:12.596Z","dependency_job_id":null,"html_url":"https://github.com/natario1/GIFCompressor","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/natario1%2FGIFCompressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FGIFCompressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FGIFCompressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natario1%2FGIFCompressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natario1","download_url":"https://codeload.github.com/natario1/GIFCompressor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804521,"owners_count":20999002,"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":["android","compression","gif","gif-compressor","gif-creator","gif-decoder","gif-maker","gif-recorder","mediacodec","mp4","mp4-video","opengl","opengl-es"],"created_at":"2024-11-06T09:12:07.300Z","updated_at":"2025-04-08T08:31:42.535Z","avatar_url":"https://github.com/natario1.png","language":"Java","funding_links":["https://github.com/sponsors/natario1","https://github.com/sponsors/natario1)!"],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/natario1/GIFCompressor/workflows/Build/badge.svg?event=push)](https://github.com/natario1/GIFCompressor/actions)\n[![Release](https://img.shields.io/github/release/natario1/GIFCompressor.svg)](https://github.com/natario1/GIFCompressor/releases)\n[![Issues](https://img.shields.io/github/issues-raw/natario1/GIFCompressor.svg)](https://github.com/natario1/GIFCompressor/issues)\n\n\u0026#10240;  \u003c!-- Hack to add whitespace --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/static/banner.png\" width=\"100%\"\u003e \n\u003c/p\u003e\n\n*Looking for a complete and powerful video transcoder? Take a look at our [Transcoder](https://github.com/natario1/Transcoder).*\n\n*Need support, consulting, or have any other business-related question? Feel free to \u003ca href=\"mailto:mat.iavarone@gmail.com\"\u003eget in touch\u003c/a\u003e.*\n\n*Like the project, make profit from it, or simply want to thank back? Please consider [sponsoring me](https://github.com/sponsors/natario1)!*\n\n# GIFCompressor\n\nAn Android tool to compress GIF files into the MP4 format, using hardware-accelerated Android codecs available on the device. Works on API 18+.\n\n```groovy\nimplementation 'com.otaliastudios.gif:compressor:1.0.0'\n```\n\n- Fast compression to lightweight MP4 (AVC)\n- Hardware accelerated\n- Multithreaded\n- Convenient, fluent API\n- Concatenate multiple GIF files [[docs]](https://natario1.github.io/GIFCompressor/docs/concatenation)\n- Choose output size, with automatic cropping [[docs]](https://natario1.github.io/GIFCompressor/docs/strategies#frame-size)\n- Choose output rotation [[docs]](https://natario1.github.io/GIFCompressor/docs/advanced-options#frame-rotation) \n- Choose output speed [[docs]](https://natario1.github.io/GIFCompressor/docs/advanced-options#video-speed)\n- Choose output frame rate [[docs]](https://natario1.github.io/GIFCompressor/docs/strategies#other-options)\n- Override frames timestamp, e.g. to slow down the middle part of the video [[docs]](https://natario1.github.io/GIFCompressor/docs/advanced-options#time-interpolation) \n- Error handling [[docs]](https://natario1.github.io/GIFCompressor/docs/events)\n- Configurable strategies [[docs]](https://natario1.github.io/GIFCompressor/docs/strategies)\n\n\u0026#10240;  \u003c!-- Hack to add whitespace --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/static/screenshot-1.png\" width=\"250\" hspace=\"25\"\u003e\u003cimg src=\"docs/static/screenshot-2.png\" width=\"250\" hspace=\"25\"\u003e\n\u003c/p\u003e\n\n\u0026#10240;  \u003c!-- Hack to add whitespace --\u003e\n\n## Support\n\nIf you like the project, make profit from it, or simply want to thank back, please consider \n[sponsoring me](https://github.com/sponsors/natario1) through the GitHub Sponsors program! \nYou can have your company logo here, get private support hours or simply help me push this forward. \n\nFeel free to \u003ca href=\"mailto:mat.iavarone@gmail.com\"\u003econtact me\u003c/a\u003e for support, consulting or any \nother business-related question.\n\n## Setup\n\nPlease read the [official website](https://natario1.github.io/GIFCompressor) for setup instructions and documentation.\nYou might also be interested in our [changelog](https://natario1.github.io/GIFCompressor/about/changelog). \nUsing GIFCompressor in the most basic form is pretty simple:\n\n```java\nGIFCompressor.into(filePath)\n        .addDataSource(context, uri) // or...\n        .addDataSource(context, filePath) // or...\n        .addDataSource(context, fileDescriptor) // or...\n        .addDataSource(dataSource)\n        .setListener(new GIFListener() {\n             public void onGIFCompressionProgress(double progress) {}\n             public void onGIFCompressionCompleted() {}\n             public void onGIFCompressionCanceled() {}\n             public void onGIFCompressionFailed(@NonNull Throwable exception) {}\n        }).compress()\n```\n\nTake a look at the demo app for a complete example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatario1%2Fgifcompressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatario1%2Fgifcompressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatario1%2Fgifcompressor/lists"}