A blazing-fast Python application with a graphical user interface (GUI) to efficiently convert multiple MP3 files to MP4 format (with a black screen) using multi-processing.
This tool is designed for content creators, musicians, or anyone who needs to quickly convert audio files into a video format suitable for platforms like YouTube, Instagram, or other video-sharing sites.
(It's highly recommended to add a screenshot of the application here. Just replace the placeholder below.)
- High-Speed Conversion: Uses an 'ultrafast' FFMpeg preset to prioritize speed over file size, making it ideal for quick batch processing.
- Concurrent Processing: Takes full advantage of modern multi-core CPUs by processing multiple files in parallel.
- User-Friendly GUI: A simple and intuitive interface built with Tkinter for easy file selection and progress tracking.
- Batch Processing: Select and convert dozens or even hundreds of files in one go.
- Real-Time Feedback: Watch the status of each file update in real-time from "Working" to "Done", "Skipped", or "Error".
- Intelligent Skipping: Automatically skips files that have already been converted to avoid redundant work.
- Cross-Platform: Built with standard Python libraries to work on Windows, macOS, and Linux.
Getting the application up and running is simple.
- Python 3.7+ must be installed on your system.
-
Clone the repository:
git clone [https://github.com/your-username/fast-mp3-to-mp4-converter.git](https://github.com/your-username/fast-mp3-to-mp4-converter.git) cd fast-mp3-to-mp4-converter(Replace
your-usernamewith your actual GitHub username) -
Install the necessary dependencies: This project relies on the
moviepylibrary. To avoid common installation issues, it's best to install it using the following command:python -m pip install moviepy==1.0.3
(Note: On the first run,
moviepymay need to download the FFMpeg binary, which can cause a one-time delay. Subsequent runs will be instant.) -
Run the application:
python converter.py
-
Using the App:
- Click "1. Select MP3 Files" to choose the files you want to convert.
- Click "2. Start Conversion" to begin the process.
- The converted
.mp4files will be saved in the same directory as the original MP3s.
- Frontend: The graphical interface is built using Python's standard Tkinter library.
- Backend/Core Logic:
- The core conversion is handled by the powerful
moviepylibrary, which uses FFMpeg under the hood. - To prevent the GUI from freezing and to maximize performance, the application uses Python's
concurrent.futures.ProcessPoolExecutor. This creates separate processes for each file conversion, allowing them to run in parallel on different CPU cores.
- The core conversion is handled by the powerful
Contributions are welcome! If you have ideas for new features, bug fixes, or improvements, feel free to fork the repository and submit a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is distributed under the MIT License. See the LICENSE file for more information.
