How to easily Record a Video of an OpenGL or Vulkan App in Windows 10




Windows 10 Game bar video capture utility

 
These last months I used NVIDIA ShadowPlay to capture videos of my OpenGL or Vulkan demos. ShadowPlay works fine but for me, there are two drawbacks: it requires an NVIDIA GPU (very minor drawback) and you have to be logged in GeForce Experience (major drawback). I recently discovered an easier way to record videos of my GL/VK apps/demos: the Windows 10 Game bar. Win10 Game bar has a built-in screen recording utility and it works rather fine. No need to install a video capture utility. It’s handy when you have several PCs…

To start the recording of a video, put the focus on the target application you want to capture and press on Win key + Alt + R. This combination of keys starts the video capture. To stop the video capture, press on Win key + Alt + R again. By default, videos are stored in the following folder:

C:\Users\YOUR_ACCOUNT_NAME\Videos\Captures

Win10 screen recording utility (is there is codename for this app?) records a video in the .mp4 format and works with any Direct3D, OpenGL or Vulkan applications, with any GPUs (NVIDIA, AMD and Intel). You can launch app capture very quickly and the nice thing is that the framerate is not affected by the video recording.

Here is a quick video capture of a GeeXLab demo (four shadertoy shaders in a single demo):

 
Another test (2d wave demo):

 
You can also open the Game bar with Win + G to see get more options:

Windows 10 Game bar video capture utility

 
More settings are available in Windows 10 Settings > Gaming > Captures:

Windows 10 Gaming Captures settings





Leave a Comment

Your email address will not be published. Required fields are marked *