|
Download README.md from Kompres/Web: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/spaces/Kompres/Web/resolve/main/README.md
- Command line
-
hf download hf://spaces/Kompres/Web/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Kompres/Web/resolve/main/README.md
2.8 kB
| title: Kompres | |
| emoji: π¬ | |
| colorFrom: purple | |
| colorTo: indigo | |
| sdk: docker | |
| pinned: false | |
| license: gpl-3.0 | |
| # Kompres | |
| Kompresi video profesional untuk WhatsApp, Instagram, Telegram, dan platform media sosial lainnya. | |
| ## β¨ Fitur | |
| ### Kompresi & Encoding | |
| - **Platform Presets** β Konfigurasi otomatis untuk WhatsApp, Instagram Feed, Instagram Story, Telegram, dan Email | |
| - **Smart Compression** β Tentukan target ukuran file (MB), bitrate dihitung otomatis | |
| - **H.264 High Profile** β Encoding efisien dengan kualitas visual tinggi | |
| - **Kalibrasi Warna BT.709** β Warna akurat, tidak pucat saat dikirim lewat chat | |
| - **Estimasi Ukuran** β Lihat perkiraan ukuran output sebelum kompresi dimulai | |
| ### Format Output | |
| - **MP4 (H.264)** β Format universal, kompatibel semua platform | |
| - **WebM (VP9)** β Format terbuka, efisien untuk web | |
| - **GIF Animasi** β Konversi video ke GIF berkualitas tinggi dengan palettegen | |
| ### Editing | |
| - **Video Trimming** β Potong video ke durasi yang diinginkan | |
| - **Frame Rate Control** β Ubah FPS output (24, 30, 60) | |
| - **Aspect Ratio Crop** β Crop otomatis ke 16:9, 9:16, 1:1, atau 4:3 | |
| ### Perbandingan Hasil | |
| - **Before/After Slider** β Geser untuk membandingkan frame asli dan hasil kompresi | |
| - **Detail Teknis** β Tabel perbandingan resolusi, codec, FPS, dan bitrate | |
| - **Progress Realtime** β Pantau encoding dengan kecepatan (x) dan estimasi waktu sisa | |
| ### User Experience | |
| - **Session Recovery** β Refresh browser? File tidak hilang, klik "Lanjutkan" untuk melanjutkan | |
| - **Dark/Light Mode** β Toggle tema di sidebar sesuai preferensi | |
| - **Riwayat Kompresi** β Lihat 10 kompresi terakhir di sidebar | |
| - **Drag & Drop** β Area upload yang besar dan responsif | |
| - **Tanpa Watermark** β Hasil kompresi bersih tanpa tanda air | |
| - **Format Input Lengkap** β Mendukung MP4, MOV, MKV, AVI, dan WebM | |
| ## π Cara Penggunaan | |
| 1. Upload video (drag & drop atau klik browse) | |
| 2. Pilih platform target atau atur parameter manual | |
| 3. Pilih format output (MP4/WebM/GIF) | |
| 4. *Opsional:* Aktifkan **Smart Compression** dan masukkan target ukuran | |
| 5. Klik **Mulai Kompresi** | |
| 6. Lihat perbandingan before/after | |
| 7. Download hasil | |
| ## π οΈ Menjalankan Secara Lokal | |
| ```bash | |
| pip install -r requirements.txt | |
| streamlit run app.py | |
| ``` | |
| ## π³ Menjalankan dengan Docker | |
| ```bash | |
| docker build -t kompres . | |
| docker run -p 7860:7860 kompres | |
| ``` | |
| ## π¦ Teknologi | |
| | Komponen | Teknologi | | |
| |----------|-----------| | |
| | Frontend | Streamlit | | |
| | Video Engine | FFmpeg (H.264, VP9, GIF palettegen) | | |
| | Runtime | Python 3.11 | | |
| | Deploy | Docker / Hugging Face Spaces | | |
| ## π Lisensi | |
| Proyek ini dilisensikan di bawah **GNU General Public License v3.0**. | |
| Lihat file [LICENSE](LICENSE) untuk detail lengkap. | |
| ## π€ Kredit | |
| Dibuat dan dikembangkan oleh **Garden**. | |