Jump to content
  • Advertisement
Sign in to follow this  
Storyyeller

Encoding a gameplay video?

This topic is 2935 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

I am trying to figure out a way to create high quality, ideally lossless, videos of my game. It is a 2d game written in C++ using SDL and SDL_Mixer for audio.

Unfortunately, I have no idea how to make a video. Obviously, I'd prefer to have a library handle all the messy file format and compression stuff if possible. I'm not even sure how to get the data out of SDL and into the encoder. SDL does allow you to save screenshots, but this is impractical for more then a couple of seconds due to the large size of bitmap screenshots, and it doesn't solve the problem of audio at all.

My game is intended to be deterministic, and I've already added limited support for replays. So realtime video capture is not necessary. I'm perfectly fine with recording a replay and then using that to create the video afterwards if there are lag issues otherwise.

P.S. I tried FFMPEG once, but I couldn't figure out how to use it. And even that's useless without the audio.

Share this post


Link to post
Share on other sites
Advertisement
you try to reference http://www.bloggersbase.com/gaming/how-to-encode-high-quality-gameplay-videos/

you've seen all those fancy game videos on YouTube, downloaded WoW videos or other MMO gameplay and enjoyed the high quality ones? Well you can do it too!

I am going to provide a step by step guide for creating high quality, full screen resolution (1680x1050 and above is very possible, although half size should be used on slower computers) videos of any game you wish to apply this guide to really. It is highly recommended to apply this guide to decently powerful systems of a dual core or more.

Share this post


Link to post
Share on other sites
Quote:
Original post by Storyyeller
This is a programming question. It doesn't have anything to do with art!

Okay, suit yourself. But maybe For Beginners is the wrong place for it. Putting it in General Programming.

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!