Solved

How to play a AVI to a Direct Draw Surface

Posted on 1998-11-07
1
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
zhongxu earned 160 total points
ID: 1415849
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

726 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