Welcome to the MP4 Audio Extractor! This simple Python application allows you to extract audio tracks from MP4 video files. Whether you need MP3 or AAC formats, this tool has you covered. It supports both single file and batch processing, making it easy to convert multiple files at once. You can choose between a graphical user interface (GUI) or a command-line interface (CLI) based on your preference.
For the latest version, download it from the Releases section and follow the instructions to get started.
- Audio Formats: Extract audio in MP3 or AAC formats.
- Single and Batch Processing: Handle one file or multiple files at once.
- User-Friendly Interfaces: Choose between a GUI for ease of use or a CLI for advanced users.
- Cross-Platform: Works on Windows, macOS, and Linux.
- FFmpeg Integration: Utilizes FFmpeg for high-quality audio extraction.
To install the MP4 Audio Extractor, follow these steps:
-
Download: Go to the Releases section and download the latest version.
-
Extract: Unzip the downloaded file to your desired location.
-
Install Dependencies: Ensure you have Python installed on your machine. Install the required packages using pip:
pip install -r requirements.txt
-
FFmpeg: Make sure FFmpeg is installed and accessible from your command line. You can download it from FFmpeg's official site.
- Launch the application by running
main.pyin your terminal or by double-clicking the file. - Use the "Select File" button to choose your MP4 video.
- Choose your desired audio format (MP3 or AAC).
- Select the output directory.
- Click "Extract" to start the process.
To use the CLI, open your terminal and navigate to the folder where the application is located. Use the following command:
python main.py --input <path_to_mp4_file> --output <output_directory> --format <mp3|aac>python main.py --input video.mp4 --output ./audio --format mp3This command will extract the audio from video.mp4 and save it as an MP3 file in the ./audio directory.
- Input: MP4
- Output: MP3, AAC
We welcome contributions! If you want to improve the MP4 Audio Extractor, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Make your changes and commit them (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature/YourFeature). - Open a pull request.
Please ensure your code follows the existing style and includes appropriate tests.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or feedback, feel free to reach out:
- Email: kamadulski@example.com
- GitHub: Kamadulski
For more updates, check the Releases section.
We hope you find the MP4 Audio Extractor useful! Happy extracting! 🎶