Advertisement

AVI's via DirectDraw

Started by February 16, 2000 06:03 PM
2 comments, last by ToddC 25 years ago
I am looking for the best way to play AVI''s to a DirectDrawSurface (or another type of video). Currently I have a working system up and running but I have a little problem. Currently I use DirectShow to render the AVI''s to a DirectDrawSurface. I would like more control over the process though. Right now I have a list of avi''s that I loop (start and the first and play until I get to the end of the list then start over). I would like to start caching the next avi before the last avi is finished playing (so that there is no pause or hickup). DirectShow streams it I believe but I would like to load the entire AVI into memory also? Any ideas, suggestions, working libraries? Thanks for any help! Todd
Hmm, with the DirectX7 SDK comes an example of using an .AVI as a texture. That example uses the VfW decompression API. Maybe you could rewrite that to use a memory based AVI.

Hopt that helps,
DaBit

Advertisement
Hmm, with the DirectX7 SDK comes an example of using an .AVI as a texture. That example uses the VfW decompression API. Maybe you could rewrite that to use a memory based AVI.

Hopt that helps,
DaBit

You can find an article that covers AVIs here at GDnet, but I do not know *exactly* if it covers the stuff with DirectDraw, but I think It will help.

This topic is closed to new replies.

Advertisement