Sign in to follow this  
jad_salloum

Converting Scene To Video File

Recommended Posts

hi guys i need to make a demo about my game i need to play it and same time record it as a video (avi or anything else ) i know how to save a snapeshot of the game as image but if i want to capture image on everyframe the game will be too slow so how could i directly export to Video File ??? any help would be gr8 best regards, essalloummmmmmmmmmm

Share this post


Link to post
Share on other sites
Do you require it to interactively record? If not, you could implement a fixed-framerate (DXUT can do this for you) and the time incurred by streaming out data becomes irrelevant. You can then use VirtualDUB to stitch them together...

Alternatively, you could look into custom filters for DirectShow - whilst I've been told it is fairly simple I was told it by an expert in the field.

Bottom line - it's going to be pretty slow to pull that sort of data back from the GPU, direct from the backbuffer is a faster option if you don't use MSAA though. I'd highly recommend the non-interactive fixed-rate mechanism if possible...

hth
Jack

Share this post


Link to post
Share on other sites
Why not use an external tool like FRAPS to record movies? They usually manage to do it without completely killing the framerate, and would save you the time of writing your own.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this