No project description provided
Project description
📼 midia-compress - Python Video Compression Tool
A Python 🐍 library for smart video compression using FFmpeg, with a user-friendly CLI ✨
🚀 Installation
pip install midia-compress
🔧 Prerequisites
-
Python 3.7+
-
FFmpeg installed on your system
🛠️ How to Install FFmpeg:
-
Windows:
winget install Gyan.FFmpeg
-
Linux (Debian/Ubuntu):
sudo apt install ffmpeg
-
MacOS:
brew install ffmpeg
💻 How to Use the CLI
midia-compress
This will:
-
🔍 Search for MP4 files in the current directory
-
📉 Compress all with CRF 28 (good quality/size ratio)
-
💾 Save as "compressed_original_name.mp4"
📊 Quality Comparison
| CRF | Quality | File Size |
|---|---|---|
| 18 | 🏆 Best | ⚠️ Very Large |
| 23 | 💎 Excellent | 📏 Balanced |
| 28 | 👍 Good | 🐜 Small |
🤝 Contributing
Contributions are welcome! Follow these steps:
-
Fork the repository
-
Create a branch (git checkout -b feature/amazing)
-
Commit your changes (git commit -m 'Add amazing feature')
-
Push (git push origin feature/amazing)
-
Open a Pull Request
📜 License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file midia_compress-0.1.0.tar.gz.
File metadata
- Download URL: midia_compress-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.1 Linux/6.6.87.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea17bbe7120c9479e6627b58134fd067ad6f51611590da612d2f9d9f848b208b
|
|
| MD5 |
3ccdff06cce448f4b975eb9ae80d287b
|
|
| BLAKE2b-256 |
66af55b7a2ebe10c1e2eb69034e4375f1818de3401504a3d286b1bf63c56c710
|
File details
Details for the file midia_compress-0.1.0-py3-none-any.whl.
File metadata
- Download URL: midia_compress-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.1 Linux/6.6.87.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1b3d66f5a38eb52ee95627e46bd2ae7457ade215214686ad71c096893b964eb
|
|
| MD5 |
f294ada918ce1eb7930dba8339135f67
|
|
| BLAKE2b-256 |
0582401f8fb03410f4f7123d975e169035ead36b927b0346c88ded77a8b6dbe8
|