View Full Version : DVD Sizer - DVD space optimizer

04-02-2004, 11:15 PM
Sizer - a simple tool to find the optimal fit on a DVD for a set of files.

Given a set of file sizes, this tool will select a subset of those sizes such that as much space as possible is used without going over a set value. I use this tool in tandem with TyTool to select a set of videos which will fill a DVD as much as possible without taking too much space.


This tool is written in Java. If you do not already have it, you can download Java from:


Install it as normal. If you don't like Java, feel free to write your own tool in the language of your choice. :-) The source code is included.

Place the contents of this zip file wherever you want. Let's assume you put everything in c:\util. You can then execute the Sizer with the command line:

> java -cp c:\util Sizer


Enter the file sizes, one after another. After the last one, input a ".". The tool will print out the sizes and indexes of the files that should be used for an optimal fit.