{"id":19425375,"url":"https://github.com/addyosmani/video-compress","last_synced_at":"2025-04-05T20:01:52.094Z","repository":{"id":262039107,"uuid":"886054297","full_name":"addyosmani/video-compress","owner":"addyosmani","description":"Video compression in the browser using FFMPEG.wasm","archived":false,"fork":false,"pushed_at":"2025-02-07T04:44:28.000Z","size":233,"stargazers_count":136,"open_issues_count":4,"forks_count":20,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T19:04:38.909Z","etag":null,"topics":["ffmpeg","react","video","video-compression","web"],"latest_commit_sha":null,"homepage":"https://compress.addy.ie","language":"TypeScript","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/addyosmani.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}},"created_at":"2024-11-10T04:11:33.000Z","updated_at":"2025-03-29T17:25:42.000Z","dependencies_parsed_at":"2025-02-05T09:25:06.676Z","dependency_job_id":"d49fd6fc-3aee-4cf7-9d69-45c34775917b","html_url":"https://github.com/addyosmani/video-compress","commit_stats":null,"previous_names":["addyosmani/video-compress"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addyosmani%2Fvideo-compress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addyosmani%2Fvideo-compress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addyosmani%2Fvideo-compress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/addyosmani%2Fvideo-compress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/addyosmani","download_url":"https://codeload.github.com/addyosmani/video-compress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393547,"owners_count":20931811,"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":["ffmpeg","react","video","video-compression","web"],"created_at":"2024-11-10T14:03:11.074Z","updated_at":"2025-04-05T20:01:52.026Z","avatar_url":"https://github.com/addyosmani.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Browser Video Compressor\n\nA powerful, browser-based video compression tool built with React and FFMPEG.wasm. Compress videos directly in your browser with real-time preview and advanced settings - no server uploads required.\n\n[Demo](https://compress.addy.ie)\n\n## Features\n\n- 🎬 Client-side video compression\n- 🔒 Privacy-first (all processing happens locally)\n- 👀 Real-time compression preview\n- 📊 Live file size estimation\n- ⚙️ Advanced compression settings:\n  - Multiple compression methods:\n    - Bitrate targeting\n    - Quality percentage\n    - File size targeting\n    - CRF (Constant Rate Factor)\n  - Video codec selection (H.264/H.265)\n  - Audio codec options (AAC/MP3)\n  - Frame rate control\n  - Resolution scaling\n  - Audio bitrate adjustment\n\n## Technology Stack\n\n- React 18\n- TypeScript\n- Tailwind CSS\n- FFMPEG.wasm\n- Radix UI Components\n- Lucide Icons\n- Vite\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18 or higher\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/video-compressor.git\ncd video-compressor\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Start the development server:\n```bash\nnpm run dev\n```\n\nThe application will be available at `http://localhost:5173`\n\n### Building for Production\n\n```bash\nnpm run build\n```\n\n## Usage\n\n1. Drag and drop a video file or click to browse\n2. (Optional) Click the Settings button to adjust compression parameters:\n   - Choose compression method:\n     - Bitrate: Target a specific video bitrate\n     - Quality: Set a quality percentage (1-100%)\n     - File size: Target a specific output size\n     - CRF: Fine-tune quality (18-51, lower is better)\n   - Select video codec (H.264/H.265)\n   - Choose audio settings (codec and bitrate)\n   - Adjust frame rate\n   - Set maximum resolution\n3. Click \"Compress Video\" to start compression\n4. Watch the real-time preview and progress\n5. Download the compressed video when complete\n\n## Technical Details\n\n### Video Processing\n\n- Uses FFMPEG.wasm for client-side video processing\n- Supports multiple compression strategies:\n  - Bitrate-based: Direct control over output bitrate\n  - CRF-based: Quality-focused compression\n  - Percentage-based: Simplified quality control\n  - File size targeting: Automatic bitrate calculation\n\n### Preview System\n\n- Real-time preview during compression\n- Split-view comparison (original vs. compressed)\n- Progress-based preview scrubbing\n- Live file size estimation\n\n### State Management\n\n- Efficient React state management\n- Proper cleanup of resources\n- Memory leak prevention\n- Comprehensive error handling\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [FFMPEG.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) for browser-based video processing\n- [Radix UI](https://www.radix-ui.com/) for accessible UI components\n- [Tailwind CSS](https://tailwindcss.com) for styling\n- [Lucide](https://lucide.dev) for icons","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddyosmani%2Fvideo-compress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faddyosmani%2Fvideo-compress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddyosmani%2Fvideo-compress/lists"}