Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How create a avi file?

72 views
Skip to first unread message

cyantree

unread,
Nov 6, 2001, 12:42:51 PM11/6/01
to
hi all:
I download vfw.pas from JEDI. And now, I wanna compress some bmp file to a
avi file. What can I do?
In MSDN I find a AVIWriter sample. But when change it to Delphi, I meet
some difficulty. So who can show me a AVIWriter sample use Delphi?
Thx.

cyantree


Stan

unread,
Nov 6, 2001, 12:50:14 PM11/6/01
to
1. Do a search a on google for TGifImage component by Anders Melander.

2. Locate and download it.

3. In the demo directory (of TGifImage) you will find a demo program called
Gif2Avi

I modified and used this code to work with Bitmaps instead of Gifs.
Once you see the code, you will see that there is very little to change.

Alternatively, there is another version of the same routine which was made
into a component. The component is FREE and is called TAviWriter and I
believe is available from www.torry.ru
TAviWriter is designed to do exactly what you want and can even add a .Wav
file to your avi. I already tried this component and it worked reasonably
well.

Regards

Stan


Michel Larouche

unread,
Nov 7, 2001, 2:33:01 PM11/7/01
to
for my part I use AviBuild
this is the description..
michel

{This tool allows the user to easily create avi files for use, for example,
with
the Delphi/C++Builder TAnimate component. It is an improvement on an old
freeware thing I found lying around somewhere. Unfortunately I don't know
who
wrote the original, but all of the work in VFW and DIBitmap is his (or
hers).

You can use this software however you want so long as it remains free.
Please
leave in some mention of Anderson Software. Also, if anyone knows who did
the
work on VFW and DIBitmap, please add their names too.

I think its use is pretty obvious. Add some bitmaps, sort them and then
create
the avi. It has to be saved before the preview starts. The frame counter
lets
you speed up or slow down the animation, but it has to be saved again before
the
change registers (as do any changes of frame order).

17 December 1998
Rob Anderson
Anderson Software - Geneva, Switzerland
ande...@nosredna.com
}


"Stan" <st...@jetcam.net> a écrit dans le message news: 3be822e6_2@dnews...

cyantree

unread,
Nov 7, 2001, 8:23:06 PM11/7/01
to
Thanks to all.
I modify AviWriter1.0 to fit the bill. Now work contiune.
Thanks!

cyantree
cyan...@netease.com


0 new messages