Rehuff

From XiphWiki
Revision as of 06:38, 9 May 2007 by Fp (talk | contribs) (first check)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vorbis rehuff code

Rehuff was a tool to losslessly compress Vorbis files. Latest rehuff version (see rehuff status), had some limits:

  • it's not free software;
  • it has a bug causing the rehuffed file can't correctly seek;
  • it works only with stereo files.

Theora rehuff code

tterribe, on 2007-05-02 in SVN revision r12913, commited a new rehuff code, which works on Theora streams. The code is included in the svn trunk of theora-exp.

How to get it working

  • Get the latest theora-exp:
svn co http://svn.xiph.org/trunk/theora-exp/
  • Compile rehuff code:
cd theora-exp/unix
make rehuff
  • Use it:
./rehuff [-s <statsout.txt> ] <infile.ogg> <outfile.ogg>

A try on r12913 version

  • Current version does not rehuff ogg vorbis files.
  • It gives a Segmentation fault when not specifiing <outfile.ogg>.
  • Rehuffing is pretty fast.
  • Rehuffed files, decoded with dump_video, are the same of the original files.
  • Rehuffed files are about 0,4-1,5% smaller than original files.
  • However, when played with QuickTime Player, using QuickTime Components, some rehuffed file seem more blurred at the beginning (e.g., look at the text A New Computer on the rehuff of this file http://www.polycrystal.org/lego/movies/A_New_Computer--med.ogg). This is not reproducible on VLC, so this may be only a problem of QuickTime Components.