Solved

How to play a AVI to a Direct Draw Surface

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA Import all database objects 12 45
Duplicates in Aggregate Query 3 34
Windows Installer 4 69
How to update List item Managed Metadata Column with JSOM 2 154
If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

11 Experts available now in Live!

Get 1:1 Help Now