Hi Guys,
Trying to use TAviWriter ( in a program I am writing in order to save a series of jpegs out as an AVI. When I view the resulting movie, however, the colors are splotchy and everything is just plain crappy. What factors might be affecting this? My jpegs in themselves look great before I try to turn them into an AVI. Using simple code like this in a procedure which gets called repeatedly:
Anyone have any idea what the deal is? Do I have to use a special CODEC or something? If so, how do I use that with TAviWriter?
Thanks,
-Tony
Trying to use TAviWriter ( in a program I am writing in order to save a series of jpegs out as an AVI. When I view the resulting movie, however, the colors are splotchy and everything is just plain crappy. What factors might be affecting this? My jpegs in themselves look great before I try to turn them into an AVI. Using simple code like this in a procedure which gets called repeatedly:
Code:
if ( SavingAsAVI ) then
begin
aviBMP := TBitmap.Create;
jpegAVI := TJpegImage.Create;
jpegAVI.LoadFromFile(PicturePathName);
aviBMP.Assign(jpegAVI);
AviWriter.Bitmaps.Add(aviBMP);
jpegAVI.Free;
end;
Anyone have any idea what the deal is? Do I have to use a special CODEC or something? If so, how do I use that with TAviWriter?
Thanks,
-Tony