In-game video capturing
by Michael Chew · in General Game Discussion · 07/28/2009 (5:16 am) · 2 replies
Hi all,
I have a need to incorporate video capturing just like Fraps, into the game engine. I am wondering if anyone has ever done this to any of the torque engines. I know its a rather niche requirement as video capturing can be done externally through Fraps for example, but its essential to what I am doing, pretty much like machinima but within game that dumps out the raw clips. I cannot get much info from the forums other than the general suggestion of using Fraps again. My knowledge of C++ is not what I would call advanced so much appreciated if anyone can shed some light.
thanks
edit: spelling
I have a need to incorporate video capturing just like Fraps, into the game engine. I am wondering if anyone has ever done this to any of the torque engines. I know its a rather niche requirement as video capturing can be done externally through Fraps for example, but its essential to what I am doing, pretty much like machinima but within game that dumps out the raw clips. I cannot get much info from the forums other than the general suggestion of using Fraps again. My knowledge of C++ is not what I would call advanced so much appreciated if anyone can shed some light.
thanks
edit: spelling
About the author
#2
Anyone else: If anyone has any other insights, please feel free to post.
thanks and appreciated
07/28/2009 (8:17 am)
Thanks Ryan, looks like a good resource. Like you I too am trying to add vidcap to T3D. I'll try out the source ASAP.Anyone else: If anyone has any other insights, please feel free to post.
thanks and appreciated
Torque Owner Ryan Mounts
CornerstoneViz
www.codeproject.com/KB/directx/SimulationRecording.aspx
It is an example (with source code) of how to grab the DirectX or OpenGL backbuffer and stuff it into a video stream. I had to make some changes to get it to work, and it still has a few issues to work out... like some DirectX memory leaks and a timing issue.