Jump to content
  • Advertisement
Sign in to follow this  
Twixly

SDL and FRAPS to make demo-movie?

This topic is 4273 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. Trying to use FRAPS demo version from fraps.com to record the game I am making for a short demo. However, it does not seem to recoqnize the SDL program/window as a game? Anyone know how I should go about to make this work? Or is there some other program I can use to make .avi files or like from in-game? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
As far as I know, FRAPS only works with OpenGL and Direct3D, so unless you're using OpenGL with SDL you're out of luck.

A cumbersome solution could be to let your game output a lot of .bmp-file (or some other format) frames and then have a program like mencoder convert them into an AVI or MPEG file.
But I'm not in doubt that there's easier ways to accomplish what you're doing.

Share this post


Link to post
Share on other sites
Maybe if I initialize SDL as OpenGL but then dont use the openGL function in themself?

Unless there is some advantage in that over regular sprites and such for pure 2D graphics.

Share this post


Link to post
Share on other sites
Well, if you use OpenGL you can't use ordinary SDL stuff like surfaces and such.

Current there's a OpenGL backend for SDL in the works, but I don't think you'll see it before SDL 1.3. Alternatively there's glSDL (google it) which theoretically should allow you to use OpenGL with SDL, without having to change any code.

But, again, there's probably easier ways to do it :)
Try googling for desktop-recording software. If you're just using plain SDL (with the win32 GDI backend), you should be able to use any desktop-recorder for it.

Share this post


Link to post
Share on other sites
You could rewrite a bit of code using the hxrender wrapper for SDL, makes SDL work in opengl on hardware, but keeps it nice and smiple :)

http://www.gamedev.net/community/forums/topic.asp?topic_id=374096

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!