explorer_KokBojrSGO.mp4
This project adds right-click context menu options in Windows for compressing images and videos without significant loss in visual quality.
Note: In some cases (especially with .png) the image may not reduce in size if it was compressed prior.
- Adds context menu options for compressing images and videos.
- Supports a variety of file formats including
.jpg,.jpeg,.png,.mp4,.mov,.wav,.avi, and.webp. - Utilizes FFmpeg for compression.
- Python 3.x
- Windows OS
- FFmpeg
- Clone or download the repository to your local machine.
- Ensure FFmpeg is installed and added to your system PATH.
- Run
install.batto add the context menu options.- This will create registry entries for the context menu options.
- (Optional) Run
uninstall.batas an administrator to remove the context menu options if needed.
- Right-click on a supported file.
- Select 'Compress' from the context menu to compress the file.
- Compressed images will retain their original file format.
- Compressed videos will be output as
.mp4files.
src/install.py: Script for installing the context menu options.uninstall.py: Script for uninstalling the context menu options.compress.py: Script for handling compression tasks.run.bat: Batch file for executingcompress.pyfrom the context menu.
README.md: Project documentation.install.bat: A batch file to make running install.py easier.uninstall.bat: A batch file to make running uninstall.py easier.
Contributions are welcome! Please feel free to submit a pull request or create issues for bugs and feature requests.
MIT License - see the LICENSE file for details.
