Guest shane.ploenges Posted March 2, 2011 Share Posted March 2, 2011 Hi everybody! For marketing purposes it would be very helpful for us to be able to record a movie (any contemporary format) from the rendering, so we could easily show customers how something looks like. It is possible now? If not, are there any workarounds? If not, how difficult it would be to have this functionality supported by Unigine? Thanks in advance for any information! Link to comment
cory.sharplin Posted March 3, 2011 Share Posted March 3, 2011 We use http://www.fraps.com/ works well Link to comment
frustum Posted March 4, 2011 Share Posted March 4, 2011 There is another way to grab video in the engine. You can use rendering with fixed fps. Crypt demo has very simple logic: #ifdef GRABBER int frame; engine.gui.setMouseCursor(0); engine.game.setIFps(1.0f / 25.0f); engine.console.run("video_grab crypt_%04d.tga",frame++); #endif Every launching of Crypt demo with GRABBER define will generate series of screenshots which can be backed into the movie by VirtualDub program. Link to comment
ulf.schroeter Posted March 4, 2011 Share Posted March 4, 2011 As quite a lot of user already asked questions regarding video recording maybe Step-by-step "Recording UNIGINE video" tutorial in SDK documentation would be a great idea, explaining all steps from preparing application for grabbing, and usage of VirtualDub for video backing. Link to comment
binstream Posted March 4, 2011 Share Posted March 4, 2011 Once you have frame sequence dumped as screenshots, you can assemble video in any modern video editor. Instruction for VirtualDub (a simple free editor): 1. Launch VirtualDub 2. Set frame rate to the same value that you used to grab frames (e.g. 30 FPS) 3. Open windows explorer; navigate to the folder with screenshots; select them all 4. Simply drag and drop all frame files to VirtualDub window 5. Adjust compression settings (if needed) 6. File -> Save AVI Unfortunately grabbing with the fixed FPS doesn't work for interactive projects where user input is required. Link to comment
Guest shane.ploenges Posted March 6, 2011 Share Posted March 6, 2011 Thanks everybody for replies! Unfortunately grabbing with the fixed FPS doesn't work for interactive projects where user input is required. So does it mean that when rendering with fixed FPS you get crappy input or is it impossible to use any input in this mode? Link to comment
binstream Posted March 9, 2011 Share Posted March 9, 2011 It's very hard to provide correct input if you have low frame rate due to maxed settings and grabbing overhead (like 1 FPS) Link to comment
Recommended Posts