AVI capture in Managed Directx?

Started by
3 comments, last by Mykre 19 years, 7 months ago
Hey all, I'm wondering how to do avi capture of the rendering window in Managed Direct3D. Is this easy? Thanks, Chris
Advertisement
I've never done this myself... but I believe that DirectShow will make this easier... pop open your SDK and take a look at DS

hope this helps
Do you know how to take a screen shot? GetFrontBuffer yar?
It gets rather complicated though - create Drawing.Bitmap, then surface from that to pass in to GetFrontBuffer. Why can't you just create a surface straight away (I use SDK 2003). But I digress.

To get the images you could step your simulation forward, render the take a screen shot.
DirectShow might help but SDK 2003 does not have it so I don't know.

Help that was helpful.
DirectShow doesn't seem to be a part of the Managed DirectX just yet. I think it is relatively straightforward with DirectShow though (if it wasn't Managed DX)...
There are some exampes of using Direct show in managed code on codeproject.com
Mykre - BlogVirtual Realm :- XNA News and Resources from Down Under** For those Interested in an Australian XNA User Group Contact me though my site.

This topic is closed to new replies.

Advertisement