[NUT-devel] r21189 - trunk/DOCS/tech/nut.txt

Rich Felker dalias at aerifal.cx
Sat Nov 25 05:01:54 CET 2006


On Sat, Nov 25, 2006 at 02:38:18AM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Fri, Nov 24, 2006 at 04:30:02PM -0800, Ralph Giles wrote:
> > On Sat, Nov 25, 2006 at 01:17:18AM +0100, Michael Niedermayer wrote:
> > 
> > > no, there where some disscussions about compressing them by using a table
> > > of "common" types/values in a header and then using just numbers instead of
> > > strings but we didnt find a solution which everyone agreed to
> > 
> > What about running all the fields together and compressing the blob 
> > with deflate, like the PNG zTXT chunk?
> 
> dependancy on zlib, and zlib is likely bigger then the demuxer
> furthermore if we compress each info packet seperately then deflate
> will likely not be very efficient, if we compress all info packets
> together then one damaged info packet would cause all info packets
> afterwards to be lost, and this also wont work with "midstream" info
> packets

exactly. mandating zlib support is absolutely out of the question. the
gain in size is _tiny_ and the penalty in implementation complexity is
huge.

rich




More information about the NUT-devel mailing list