Found a really crappy bug in the uncompressed video header which caused right-minded players and compressors to complain!
Finally sat down and worked out the calculations and now the generated avi's should be 100% accurate ;o)
Short of any major bugs this code is probably as good as it's going to get. If there are still any problems better let me know!
There is a new switch -sXXXX which allows the user to choose a codec by specifying a FourCC (four character code). For example: -siv50 selects the Indeo 5.10 codec (if installed) and -scvid selects the Cinepak codec. To find out the FourCC of an installed codec, launch the program using the -f switch, select the codec and it should display the FourCC code.
The files generated should be a lot smaller now owing to a bugfix in my video processing code!
Still the uncompressed files can be big Dag2.vid becomes 184MB! I've been using the Cinepak or Indeo 5.1 codec to pack, which makes them a lot smaller but I'm sure there are better codecs.
Remember to generate a compressed file using DFVid2Avi use the -f switch, which will pop up a window allowing you to select an installed encoder. Alternatively, generate uncompressed and use your utility of choice to compress it!