Skip to main content
gamedev.net
🔒 Locked

avi files

Started by djsteffey 3 replies 650+ views
Original Post
djsteffey
djsteffey
I have an avi file I want to play as the intro to my game. How do a I do this in DirectX ? If I can''t or if it would be easier to do it with Normal Win32 Programming, how would I do that ? I go the book Teach Yourself Visual C++ in 24 days but it doesn''t tell anywhere in it how to play avi files...... Anybody got a clue ? I hope it is just some simple function call but if you could shed some light on the subject then it is much aprecieated..... "Now go away or I shall taunt you a second time" - Monty Python and the Holy Grail themGames Productions
blue-lightning
blue-lightning
Look at the AVI functions on msdn, like AVIFileOpen.

For a good time hit Alt-F4! Go ahead try it, all the cool people are doing it.
For a good time hit Alt-F4! Go ahead try it, all the cool people are doing it.
djsteffey
djsteffey
what is the site address for the msdn web site ?


"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
themGames Productions

Gladiator
Gladiator
mciSendString() might work... but you wanted it in a game... so.. uhm.. why dont you create your own lib for playing AVI files.. it''d be easy.. just get the description for the AVI file format (try wot''s it format website.. dunno the URL)... then just read the header structure and go read the images from there...
blue-lightning
blue-lightning
mciSendString uses the AVI file functions. Its obivious that you didn''t look at them.

msdn.microsoft.com. Just search for AVIFileOpen
For a good time hit Alt-F4! Go ahead try it, all the cool people are doing it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.