Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to load a video in a directx application?(with native c++)
thank you.
Posted
Comments
Chandrasekharan P 23-Sep-11 1:45am    
Direct Show API'w will help you do that. We have once done that in an application.

if you mean you want to display a video *inside* a D3Device, I don't think there are any shortcuts, you'll have to render each frame to a bitmap, and use each of those frames as a texture
 
Share this answer
 
Your can use the IGraphBuilder interface to render video from file, stream or device.
start here.
Good luck.
 
Share this answer
 
Hi,

I have not used this personally but, you can try Direct-Show functionality to render the media. you can find more about this here
<a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd375454%28v=vs.85%29.aspx"></a>


thanks,
tushar
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900