Solved

How to play a AVI to a Direct Draw Surface

Posted on 1998-11-07
1
464 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

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