Log in

View Full Version : Play movie with Direct3D



doggo18
21-06-2003, 06:48 PM
I am using PowerDraw (which uses D3D :P) and I want to show a movie (.avi) on the screen. Does anyone know some code (Delphi preferred, I suck at C :() to access the DirectShow API and play a movie?

Thanks in Advance :)

Clootie
22-06-2003, 07:13 PM
Delphi DirectShow components: www.progdigy.com
If PowerDraw uses Direct3D8 you can try: http://clootie.narod.ru/delphi/download_custom.html#DSex_DMOTexture3D

In DirectX9 it's much easier throw

doggo18
22-06-2003, 09:17 PM
Delphi DirectShow components: www.progdigy.com
If PowerDraw uses Direct3D8 you can try: http://clootie.narod.ru/delphi/download_custom.html#DSex_DMOTexture3D

In DirectX9 it's much easier throw

Thanks! PowerDraw uses Direct3D 9; the various hints such as the unit "d3d9" and various names give me this subtle hint. Since it's seems to be easier, would you happen to have a little code snippet demonstrating the new, easy&improved DirectShow9?

WILL
23-06-2003, 04:45 PM
Thought you might want to know that XCESS (http://www.xsdevkit.com/) can use DirectShow, quite well. And it uses Amphaze's DirectX units to do this. If you need examples, there is a coded demo specifically for DirectShow.

doggo18
23-06-2003, 07:11 PM
Thought you might want to know that XCESS (http://www.xsdevkit.com/) can use DirectShow, quite well. And it uses Amphaze's DirectX units to do this. If you need examples, there is a coded demo specifically for DirectShow.

At the current stage of my project, I am affraid I cannot change to another libary anymore. However, I will check it out and see if your Demo code may help me any further :) Thanks :D