A simple and efficient GUI application to batch convert MP4 video files to WebM format using FFmpeg. This tool provides an easy-to-use interface for customizing conversion settings, including video quality, target size, resolution, and audio options.
- Batch Conversion: Convert multiple MP4 files to WebM format simultaneously.
- Quality Control: Adjust video quality using CRF (Constant Rate Factor) values.
- Target File Size: Specify the desired output file size per video.
- Resolution Settings: Set custom resolutions for output videos.
- Audio Options: Include or exclude audio, and set custom audio bitrate.
- Advanced Parameters: Add custom FFmpeg parameters for advanced users.
- Progress Monitoring: Real-time progress bar and status updates during conversion.
- Cross-Platform Support: Works on Windows, macOS, and Linux.
- Standalone Executable: Build a standalone executable using PyInstaller.
- Python 3.6 or higher
- Tkinter: Standard GUI library for Python (usually comes pre-installed).
- FFmpeg: Must be installed and added to your system's PATH environment variable.
- PyInstaller (optional): For building a standalone executable.
git clone https://github.com/IP050/mp4-to-webm-converter.git
cd mp4-to-webm-converter
-
Windows:
- Download FFmpeg from the official website.
- Extract the files and add the bin directory to your system's PATH environment variable.
-
macOS:
brew install ffmpeg
-
Linux:
sudo apt-get install ffmpeg
To run the application directly with Python:
python mp4_to_webm_converter.py
You can build a standalone executable of the application using PyInstaller. This allows you to run the application on systems without requiring Python to be installed.
If you don't have PyInstaller installed, you can install it using pip:
pip install pyinstaller
From the project directory:
pyinstaller --onefile --windowed main.py