Lossless Re-Encoding of Vorbis and Opus Audio Files
Abstract
We present Balrogg, a lossless recompressor that replaces the entropy coding of Ogg Vorbis and Ogg Opus files with adaptive context mixing models. For Vorbis, we write each represent each codebook entry as a tuple of small signed integers (digits), binarized in five stages, and mixed with a direct context model, a bit-history model, and a match model, with weights selected by the neighboring digits and the previous residue pass. For Opus, each symbol is coded by an adaptive context model initialized with the codec's probability tables as priors, and the pyramid vector quantizer (PVQ) indices of the CELT layer are split recursively into pulse counts. At the default level, Balrogg reduces Vorbis music by 16.2\%, Vorbis speech by 10.6%, and Opus speech by 5.4%; xz, zstd, ZPAQ, and bzip3 save at most 4.1% on the same files. Over 48 encoder configurations, files shrink to 66.5--96.1% of their size. Encoding and decoding are symmetric, run at 1.8--3.2~MB/s per core, and use less than 12~MiB of memory.
Create a lesson
Metadata
- Categories
- cs.SD, cs.IT, cs.MM, math.IT
Related papers
AURA: Auditory Spatial Intelligence via a Unified Representation from a General-Audio Encoder through Complete Alignment
Shared title terminologycs.SDBoyan Han, Xiaoyan Wang, Zhe Sun et al.
Speaker Separation via Audio Language Modeling
Shared title terminologycs.SDLuca A. Lanzendörfer, Constantin Pinkl, Florian Grötschla et al.
ProactiveAudioBench: Evaluating Condition-Driven Responses in Audio Streams
Shared title terminologycs.SDMeng Gao, Yunfei Chu, Yifan Yang et al.
Where You Put It Matters: Characterizing Positional Sensitivity in Large Audio Language Models
Shared title terminologycs.SDHui Wang, Meng Gao, Yunfei Chu et al.
VISAI OpenSpeech: An Encoder-Decoder ASR Model with Adjustable Inference Cost
Shared title terminologycs.SDChompakorn Chaksangchaichot
V2SA-Bench: A Source-Aware Benchmark for Video-to-Spatial Audio Generation
Shared title terminologycs.SDSaksham Singh Kushwaha, Kazuki Shimada, Koichi Saito et al.