Converts audio to OGG Vorbis for the purposes of osu!
Project description
ogg4osu!
Do you prefer using OGG over MP3 in your osu! beatmaps? Do you want to just slap q6 on all of your audio files because it's the highest quality setting that's still rankable most of the time? Do you hate having to check whether your q6 OGGs are actually under the 208kbps limit? This program will do that for you.
Installation
-
Get FFmpeg and make sure it's accessible from your command line.
On Windows, you'll need to add FFmpeg to PATH for this to work. I have no idea how it's done on other platforms, but I hope it's easier than on Windows.
-
Python 3.11 or later should work for sure; when in doubt, just get the latest version. Older versions may work as well, but you're on your own with those.
-
Install ogg4osu!
The following command should be all you need:
pip install ogg4osu
If you want/need something more specialised, I'm sure you already know what you need to do differently.
Usage
The following examples use the kind-of-maybe-somewhat universal python
command, but depending on your environment and/or preferences, you may want to use python3
or py
instead.
Just convert an audio file to OGG
python -m ogg4osu example.flac
You'll get a new file called example.ogg
.
Specify the name of the new file
python -m ogg4osu "long and inconvenient song title.flac" song.ogg
You can also go wild with full file paths if you want.
View all available options
python -m ogg4osu -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ogg4osu-0.2.0.tar.gz
.
File metadata
- Download URL: ogg4osu-0.2.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8448ea5694587d834bce23f1f1ffc63c7f6a152f2e8ea8f5deb80d2a7201477b |
|
MD5 | 625cee270ab1ad417cfa27fb8e8b73aa |
|
BLAKE2b-256 | 9f907d0b7ef01cf6907bfe9605b9632f5b76bc0f38a7c9867e0a4b63273eb956 |
File details
Details for the file ogg4osu-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ogg4osu-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788d115d5983f54dbb7c12294ac83f1f659bad335985ff476914ce902099beab |
|
MD5 | e986e717a732c704ce9fe801cb1715a7 |
|
BLAKE2b-256 | b80b184b5a1b9926fa9e88cb3285fdc29608b1dec93851372f550c8e691d3d42 |