Jump to content

In-game video recording


Recommended Posts

I wonder if this wouldn't be relatively easy for someone like Myconid to do if only the right libraries were available:

Over here, BrynnOfCastlegate reported that screen-recorded fighting scenes look, quote, "awful" on video due to the frame rate dropping when a lot of stuff is going on - not great for a game whose essence is fighting. Solution: Don't do screen-recording. Instead have the renderer dump frames at a rate fixed relative to sim-time.

Apparently, there is already some code for recording video in Atlas, but it has a legally questionable dependency. Instead I propose using the free WebM format, which is supported by YouTube and a number of browsers. If users need the video in another format, they can convert it without legal ramifications for 0 A.D.

WebM video can be encoded with this API of the libvpx library. Any interest in having this added to the build? In my view, it would it make easier for anyone to make nice "let's plays", and in the future it could be used for cool things like automatically uploading a video of the match you just played to YouTube (and from there on to Twitter etc.)

  • Like 1
Link to comment
Share on other sites

I'm pretty sure Philip has done something like this at one point, not sure if that was related to the ffmpeg or something else though, so I'm not sure how much help it would be. Just a moment of encouragement to talk with him for the person who ends up implementing something like this ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...