Audio Extractor GUI is a user-friendly tool built with PyQt5 that allows you to extract audio from video files with ease. The application supports output formats m4a-aac
, m4a-alac
, and flac
.
- Simple and Intuitive GUI: Built with PyQt5.
- Audio Formats: Supports
m4a-aac
(lossy),m4a-alac
(lossless), andflac
(lossless) audio formats. - Logging: Automatically generates logs for each extraction, stored in the
logs/
directory. - Cross-Platform: Can be run on Windows, macOS, and Linux.
- Python 3.6+: Ensure that Python is installed on your system.
- ffmpeg: The
ffmpeg
tool is required for extracting audio.
-
Clone the Repository:
git clone https://github.com/A1Tman/audio_extractor cd audio_extractor
-
Install Python Dependencies:
pip install -r requirements.txt
-
Ensure
ffmpeg
is Installed:- On Ubuntu:
sudo apt-get install ffmpeg
- On macOS (using Homebrew):
brew install ffmpeg
- On Windows:
- Download
ffmpeg
from the official site and add it to your system's PATH.
- Download
- On Ubuntu:
-
Run the Application:
python audio_extractor_gui.py
To create a standalone executable that can be run by double-clicking:
-
Install PyInstaller:
pip install pyinstaller
-
Create the Executable:
pyinstaller --onefile --windowed audio_extractor_gui.py
-
Locate the Executable:
- The executable will be in the
dist/
directory. You can double-click to run it.
- The executable will be in the
-
Open the Application: Double-click the executable or run the script using Python.
-
Select a Video File: Click on "Browse" to select the video file you want to extract audio from.
-
Choose the Output Format: Select the desired audio format from the dropdown menu (
m4a-aac
,m4a-alac
,flac
). -
Extract Audio: Click "Extract Audio" to start the extraction process. A log file will be generated in the
logs/
directory. -
View Results: Once completed, a message will confirm whether the extraction was successful.
Contributions are welcome! If you would like to contribute, please fork the repository, create a new branch, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- PyQt5: For the amazing GUI framework.
- ffmpeg: The powerful multimedia framework used for audio extraction.
- Python: The programming language that made this project possible.