[vorbis] Rhubarber (advanced peeler)

Segher Boessenkool segher at koffie.nl
Mon Mar 31 19:16:52 PST 2003


Hi all,

[For the uninitiated: a "peeler" is a program that transforms
a Vorbis stream into a smaller, (somewhat) lower quality Vorbis
stream, and does so quickly, by just throwing out some data.]

After having prototyped several peelers that aim to peel
to a certain filesize, or to a certain quality, with mixed
success, I've now taken a different route: a peeler that
aims for the best speed/quality tradeoff.  It proved to be
easier to realize.

Without further ado, find attached the source tarball for
"Rhubarber", as I named it.

Placed into the Public Domain, including the sogg (Simple Ogg)
framework (easier to use than libogg, which it builds on).

Have fun,

<p>Segher

<p>README for Advanced Peeler 1.0 (Rhubarber)
==========================================

To build, just run make.

Usage:

        cat in.ogg | apr > out.ogg

<p>This program peels an Ogg Vorbis file down to a smaller
size (because it can't peel it to a bigger size ;-) ).

The algorithm it uses results in a file with an optimal
file size vs. sound quality tradeoff, disregarding the
size of the Vorbis headers and the Ogg packing (these
proved to hard to factor into the formula, while still
retaining adequate processing speed; besides, this size
is constant for any given stream.  You might run rehuff
on the stream first, to losslessly make smaller headers).

Have fun,

<p>Segher		<segher at xiph.org>

<p>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apr.tar.bz2
Type: application/octet-stream
Size: 3397 bytes
Desc: apr.tar.bz2
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20030401/2394258c/apr.tar.obj


More information about the Vorbis mailing list