Download (GEN, 32 kB)
Updates:
------------
20021008
-
Fixed a bug in the CrunchYUV codec which caused the compressor to crash in some cases.
-
Did some fixes in AVI_Load and AVI_GetNextFrame. They should now be able to handle uncompressed AVIs
created by Virtualdub. Also changed AVI_AddFrame so that frame chunks start with '00dc' instead of
'00db' when compression is used (not that it really matters).
-
Fixed AVI_Load so that it handles the case where no input buffer size is given in the AVI header.
-
Added a function, AVI_GetLastErrorMessage which returns info about the last error that occured (if any).
-
Added AVI_IsInputCompressed and AVI_GetDecompressorName.
-
Included the source code for crunchyuv.dll.
20021001
-
Rewrote the CrunchYUV compressor in assembly. I don't have any exact figures on how much faster it is than
the old version, but i'm guessing the speed-up factor is about 3-5. On a crappy P2-450 with 100MHz SDRAM i
get a throughput of about 9.5 MB/s (not including disk i/o). Added a decompressor (in the .e-file) while
i was at it.
-
Added two functions, AVI_GetLastCompressionTime and AVI_GetLastFrameSize for retrieving information about
the compression (see below).
-
Added some functions, AVI_Load, AVI_GetNextFrame, AVI_Seek and AVI_Unload for reading
AVI files, including those compressed with the CrunchYUV compressor. See readavi.ex for an example.
20020930
-
AVIRAW now supports compression. This does not mean that you can use your VFW codecs, like DivX. Any compressor
must be "baked in to" the aviraw library. At the moment, there's only one compressor available; namely CrunchYUV
(a twist on RLE. I modified it to work with the YUV colorspace. You can see compression ratios between 1.2-20.0).
I've hacked together a VFW codec (actually only a decompressor) for CrunchYUV so that you can read the compressed
AVIs with other applications (this only applies to Windows users). If you're only writing uncompressed AVIs then
there's no need to install the CrunchYUV codec.
-
Added a procedure, AVI_SetCompressor that lets you choose a compressor (see below).