SonicBoom is a simple GUI application that allows you to download audio from YouTube videos as MP3 files. It provides an easy-to-use interface where you can paste a YouTube URL, select an output folder, and download the audio with a single click. The application is built with Python using tkinter for the GUI and yt-dlp for downloading YouTube audio. It has been packaged into a standalone .exe file for Windows users, with ffmpeg.exe included for audio conversion.
- Download YouTube video audio as MP3 files.
- Simple GUI built with
tkinter. - Select an output folder for downloaded MP3 files.
- Packaged as a standalone
.exefor easy usage on Windows without requiring Python. - Includes
ffmpeg.exefor audio conversion, so no external installation is needed.
- For the
.exeVersion:- No additional software is required. The
.exefile includes all dependencies, includingffmpeg.exe. - A stable internet connection is needed to download YouTube audio.
- No additional software is required. The
- For the Python Script (
SonicBoom.py):- Python 3.6 or later.
- Required Python packages:
yt-dlp. ffmpeg.exemust be placed in the same directory asSonicBoom.py.
- Download the
SonicBoom.exefile from the releases section of this repository. - Place
SonicBoom.exein a folder of your choice. - Double-click
SonicBoom.exeto launch the application.- Note: Some antivirus software may flag the
.exeas suspicious due to its network activity. Add an exception to allow it to run.
- Note: Some antivirus software may flag the
- Clone or download this repository:
git clone https://github.com/Nischayabeniwal/SonicBoom-yt-audio-downloader cd SonicBoom-yt-audio-downloader - Install the required Python package:
pip install yt-dlp
- Ensure
ffmpeg.exeis in the same folder asSonicBoom.py. The script expectsffmpeg.exeto be in the same directory. - Run the script:
python SonicBoom.py
- Launch the application:
- Double-click
SonicBoom.exe(if using the.exe). - Or run
python SonicBoom.py(if using the Python script).
- Double-click
- A GUI window will appear.
- Enter a YouTube URL:
- Copy the URL of a YouTube video (e.g.,
https://www.youtube.com/watch?v=2ydCvkxuNm4) and paste it into the "YouTube URL" field.
- Copy the URL of a YouTube video (e.g.,
- Select an Output Folder:
- Click the "Browse" button to choose a folder where the MP3 file will be saved.
- Download the MP3:
- Click the "Download MP3" button.
- The status label will show "Downloading... Please wait."
- Upon completion, the status label will change to "Download completed!" and a success message will pop up.
- If the download fails, an error message will be displayed.
SonicBoom.py: The main Python script for the application.SonicBoom.exe: The standalone executable for Windows, bundled with all dependencies.ffmpeg.exe: The FFmpeg binary required for audio conversion, included for convenience.README.md: This documentation file.
If you want to rebuild the .exe from SonicBoom.py, follow these steps:
- Install PyInstaller:
pip install pyinstaller
- Ensure
ffmpeg.exeis in the same folder asSonicBoom.py. - Run PyInstaller to create the
.exe:pyinstaller --onefile --add-data "ffmpeg.exe;." SonicBoom.py - The
SonicBoom.exefile will be created in thedistfolder.
- Antivirus Blocking:
- If your antivirus blocks
SonicBoom.exe, add an exception to allow it to run. The application usesyt-dlpto download audio, which may trigger network activity warnings.
- If your antivirus blocks
- Download Fails:
- Ensure you have a stable internet connection.
- Check if the YouTube URL is valid and the video is accessible (not region-locked or private).
- If using the Python script, ensure
yt-dlpis installed and up-to-date:pip install --upgrade yt-dlp
- FFmpeg Not Found:
- The
.exeincludesffmpeg.exe, but if you’re running the Python script, ensureffmpeg.exeis in the same folder asSonicBoom.py.
- The
Contributions are welcome! If you’d like to contribute:
- Fork this repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes and commit them (
git commit -m "Add your feature"). - Push to your branch (
git push origin feature/your-feature). - Open a pull request.