Easily convert your images and videos between popular formats like JPG, PNG, WEBM, MP4, and more!
- Convert Images: Transform formats like JPG, PNG, BMP, and GIF.
- Convert Videos: Handle popular formats like MP4, WEBM, AVI, and MKV.
- Customizable: Specify the output format and directory.
- User-Friendly: Intuitive prompts and error handling for smooth operation.
- Cross-Platform: Runs on Windows, macOS, and Linux.
Before running the script, ensure the following are installed:
- Python 3.7+
- Required libraries:
pip install pillow moviepy
- FFmpeg (for handling video conversions):
- Install via your package manager (e.g.,
brew install ffmpeg
,sudo apt install ffmpeg
, etc.).
- Install via your package manager (e.g.,
- Clone the repository:
git clone https://github.com/yourusername/media-converter.git cd media-converter pip install -r requirements.txt
- Run the script:
python converter.py
- Follow the prompts:
- Enter the file path (image or video).
- Specify the desired output format (e.g., jpg, png, webm).
- Provide the output directory.
d8b
?88 d8P d8P
88b d888888P d888888P
?88,.d88b, 888888b d8888b ?88' d8888b d8888b d8888b 88bd88b ?88 d8P d8888b 88bd88b ?88' d8888b 88bd88b
`?88' ?88 88P `?8bd8P' ?88 88P d8P' ?88 d8P' `Pd8P' ?88 88P' ?8bd88 d8P'd8b_,dP 88P' ` 88P d8b_,dP 88P' `
88b d8P d88 88P88b d88 88b 88b d88 88b 88b d88 d88 88P?8b ,88' 88b d88 88b 88b d88
888888P'd88' 88b`?8888P' `?8b `?8888P' `?888P'`?8888P'd88' 88b`?888P' `?888P'd88' `?8b `?888P'd88'
88P'
d88
?8P
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Nefrarius
```