Archived

This topic is now archived and is closed to further replies.

How does one include a pre-game movie?

This topic is 6015 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''d use DirectShow over MCI - DirectShow gets you some extra functionality and low level access to the decode and display process if you need it (via filters).

To simply play back a movie in the DirectX 8 version of DirectShow is about 10 lines of code.

Definately go for the DX8 version over the DX7 version because its now part of the DirectX core rather than being part of a separate SDK (DirectX Media), this gets rid of all the installer headaches you used to have (registering DXMedia for your app, a second reboot etc).

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites
I used the CutScene code in the directshow examples, however, i have come across a problem. my problem exists if i create my d3d device, render some engine stuff, then rendera "cut scene", then try to render some more engine stuff after the movie is done playing. My problem is that my d3d is lost, and i can not restore it. has anyone got code of engine creation, then movie playing, tehn more engine work. if so, woudl be very appreciated.

thanks

Code makes the world spin round

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Verso:

You''re best off getting the DirectX 8 SDK which now includes DirectShow.

(The DirectX 7 SDK headers will be shipped with your compiler, but in DX7, DShow was in a different SDK (DirectXMedia).



Share this post


Link to post
Share on other sites
Yes, thank you, I did finally figure that out. After wading through mountains of pointless blurb on the web that seemed to work nicely around the answers to my questions, and 137 Megs-over-a-slow-connection later, my samples do compile. Thanks.

Share this post


Link to post
Share on other sites