Skip to main content

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

  1. 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.

  2. Install Python.

    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.

  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ogg4osu-0.2.0.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

ogg4osu-0.2.0-py3-none-any.whl (20.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page