pyrogg is a simple recoding library for Ogg-Vorbis audio files, implemented in Cython. It reads Vorbis streams from the provided input files and recodes them to the desired quality level (-1 … 10). It comes with a handy command line interface.
Command line usage:
$ recode.py -d outputdir --quality=1 --parallel=3 input1.ogg input2.ogg input3.ogg
>>> from pyrogg import VorbisFileRecoder >>> rec = VorbisFileRecoder("input.ogg") >>> time = rec.recode("output.ogg", quality=1)
pip install pyrogg
Note that this will do a source build, so you need a properly configured C compiler on your system that can build Python extension modules, as well as the library packages libogg, libvorbis, libvorbisfile and their corresponding development packages. Most operating systems (including all commonly used Linux distributions) will allow you to install them via the normal package management tool. For the development packages, look for packages called libogg-dev or libogg-devel.
For Windows and MacOS, however, you need to install them manually. See here:
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.