Solved

How to play a AVI to a Direct Draw Surface

Posted on 1998-11-07
1
451 Views
Last Modified: 2013-12-03
How do you play a AVI file to a Direct Draw surface without using the MFC. I am mainly using C to code DirectX programs and learnt most of what I know from the book "windows game programming for dummies".
I know this question has been asked before, but I couldn`t get the answer to work. It gave a C++ class that solved the problem. I downloaded this class and couldn`t run the pre compliled exe version, let alone get the source code to work.
I have the Direct X 5 and 6 sdk`s and am using Visual C++ 5.

Please answer this question as i`m about to pull all my hair out trying to find information about it.
0
Comment
Question by:gnimmel
1 Comment
 

Accepted Solution

by:
zhongxu earned 160 total points
Comment Utility
You can create a DirectDraw and a Surface,than Create a instance of CLSID_AMMultiMediaStream,an MediaStream than initialize it and
open and render it on directdraw surface...
please lookup a sample in DirectX Media SDK "\DXMEDIA\SAMPLES\DS\SHOWSTRM".
good lucky for you!
Zhongxu.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now