This is a simple Python script that allows users to convert audio files from the OGG format to MP3.
- Python 3.x
ffmpeg
pydub
-
Clone the repository
git clone git@github.com:maglez81/ogg-mp3.git cd ogg-mp3
-
Setting up a virtual environment
virtualenv env source env/bin/activate
Note: On Windows, the activation command might be different, such as
env\Scripts\activate
. -
Install the required packages
pip install -r requirements.txt
-
Ensure
ffmpeg
is installedIf you're on a Debian/Ubuntu system, you can install it with:
sudo apt install ffmpeg
If you're on a Macos system, you can install it with:
brew install ffmpeg
Run the script using:
python main.py
You'll be prompted to enter the name of the .ogg
file you wish to convert, and then the desired name for the resulting .mp3
file.