About Vorbis and Vorbis-tools
Vorbis is an open, royalty-free, general-purpose lossy audio encoder. It is more efficient than the popular MP3 encoder, but slightly weaker than Opus. Vorbis encoded audio streams are usually placed in an Ogg multimedia container in files with the .ogg
extension. Such files are often referred to as Ogg Vorbis.
Vorbis-tools is a package of console applications that allows you to encode and decode Ogg Vorbis files. The package includes:
- oggenc.exe – Ogg Vorbis encoder
- oggdec.exe – Ogg Vorbis decoder
- ogginfo.exe – program that displays information about a given Ogg file
- vorbiscomment.exe – program for managing tags in Ogg files
- vcut – allows you to split Ogg files into smaller files
OggEnc input files must currently be 24, 16, or 8 bit PCM Wave, AIFF, or AIFF/C files, 32 bit IEEE floating point Wave, and optionally FLAC or Ogg FLAC. If you want to convert other audio files (e.g. MP3, M4A) to Ogg Vorbis format, you can use ffmpeg or my free Audio Extractor.
Download
vorbis-tools 1.4.0 (stable)
vorbis-tools git 2020.08.08 (development)
Basic usage
Converting WAV file to Ogg Vorbis using the default encoder settings, without specifying the output file name:oggenc MyFile.wav
The output file will be MyFile.ogg
Converting WAV file to Ogg Vorbis using the default encoder settings specifying the output file name:oggenc file.wav -o output_file.ogg
Converting WAV file to Ogg Vorbis using the nominal bitrate = 128 kbit/s:oggenc -b 128 file.wav -o output_file.ogg
Convert the WAV file to Ogg Vorbis using the specified min (64 kbit/s) and max (128 kbit/s) bitrate:oggenc -m 64 -M 128 file.wav -o output_file.ogg
Converting WAV file to Ogg giving the desired encoding quality (5) instead of bitrate:oggenc -q 5 file.wav -o output_file.ogg
The quality must be in the range -1 (worst) to 10 (best). Default quality = 3.
Decoding Ogg Vorbis file to WAV:oggdec file.ogg -o output_file.wav
Decoding several Ogg Vorbis files in one command:oggdec file1.ogg file2.ogg file3.ogg
The resulting files will be: file1.wav, file2.wav, file3.wav
Compilation info
Cross-compiled on Xubuntu 20.04
libvorbis 1.3.7 (2020-07-04)
libogg 1.3.4
GCC version: 10.1.0
jp, 2020.08.08
Links
- Vorbis codec home page: https://xiph.org/vorbis/
- Vorbis-tools source: https://downloads.xiph.org/releases/vorbis/vorbis-tools-1.4.0.tar.gz
- Vorbis-tools on GitHub: https://github.com/xiph/vorbis-tools
- Ogg home page: https://xiph.org/ogg/
- Ogg source: https://downloads.xiph.org/releases/ogg/libogg-1.3.4.tar.gz
- Vorbis in Wikipedia: https://en.wikipedia.org/wiki/Vorbis