(noob) How to capture gameplay video

I just started making some test scenes in Urho3d for a visualization project.

Sorry to ask such a basic question, but I’ve searched this board and googled a variety of terms, but can’t find the answer:

How do I capture gameplay audio and video from an Urho3d game to a video file on disk?

Thanks for your help and patience!


BTW, I’m on Ubuntu 18.04 Linux

As for video: you can capture each frame (snapshot) similar to https://github.com/urho3d/Urho3D/blob/master/Source/Samples/Sample.inl#L341-L349
and then concatenate the snapshots with a tool like ffmpeg.

Google Ubuntu screen recorder and that will give you some options. I use simple screen recorder, personally.

1 Like

You will not be able to capture proper fullscreen in urho due to breakage. Use window. You can use standard tools like obs or ffmpeg or ffmpeg wrappers for actual capture.

I’m on linux and I use OBS for recording my desktop.


1 Like

I agree OBS best and universal solution

A cheap hardware device should be better :stuck_out_tongue: capture_device

OBS is great when you want to layer things as you record or broadcast. To just capture footage I prefer SimpleScreenRecorder though.
For the best result you’ll probably want to go with @WangKai’s solution.

1 Like

The Xbox app on windows works well for me.

The industry standard in gamedev is generally accepted to be “bink”, but I also use SimpleScreenRecorder on Linux.