Difference between revisions of "Rehuff"

From XiphWiki
Jump to: navigation, search
(first check)
 
Line 14: Line 14:
 
  svn co http://svn.xiph.org/trunk/theora-exp/
 
  svn co http://svn.xiph.org/trunk/theora-exp/
 
* Compile rehuff code:
 
* Compile rehuff code:
  cd theora-exp/unix
+
  cd theora-exp
 +
./autogen.sh
 +
cd unix
 
  make rehuff
 
  make rehuff
 
* Use it:
 
* Use it:
 
  ./rehuff [-s <statsout.txt> ] <infile.ogg> <outfile.ogg>
 
  ./rehuff [-s <statsout.txt> ] <infile.ogg> <outfile.ogg>
  
== A try on r12913 version ==
+
== A try on r14377 version ==
  
 
* Current version does not rehuff ogg vorbis files.
 
* Current version does not rehuff ogg vorbis files.

Revision as of 09:24, 7 January 2008

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
./autogen.sh
cd unix
make rehuff
  • Use it:
./rehuff [-s <statsout.txt> ] <infile.ogg> <outfile.ogg>

A try on r14377 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.