Python application to automate the image and video conversion.
- Command-Line Interface (CLI): Allows users to specify input/output directories and target formats.
- Configuration Management: Easy-to-edit
config.yaml
configuration file to adjust settings. - Automatic Directory Monitoring: Watches a specific folder for new image or video files.
- Extensible Architecture: Easily add support for additional formats in the future.
- Robust Logging: Tracks conversion processes and errors.
- JPG/JPEG
- PNG
- BMP
- WEBP
- RAW
- MP4
- AVI
- MKV
- MOV
- WebM
- Logging: Python's built-in
logging
module - Configuration Management: PyYAML
- Programming Language: Python 3.x
- Directory Monitoring: Watchdog
- Video Processing: MoviePy
- Image Processing: Pillow
- CLI Parsing: Argparse
-
Clone the Repository
git clone https://github.com/vpakarinen/image-video-converter.git cd image-video-converter
-
Create a Virtual Environment (Optional but Recommended)
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
Ensure that the input
and output
directories exist in the project's root directory.
It's essential to run the application first before adding files to the input
folder to ensure real-time detection.
Note: Running the application without any arguments will use the default settings specified in config/config.yaml
.
With the application running, add your image or video files to the input
directory.