Screen capture media source

Stupid industries - Code Plugins - Nov 22, 2020

Use a live screen capture as a media source

  • Supported Platforms
  • Supported Engine Versions
    4.24 - 4.27, 5.0 - 5.1
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

This plugin allows you to use a live screen capture as you would any other media. You can choose the framerate of the video as well as whether to capture the cursor or not. You can check out a quick demo video here.

Technical Details

Features:

  •  Capture a single-monitor desktop or an entire multi-monitor desktop and treat it like any other media source (does not support individual window capture)
  •  Choose the FPS of the resulting video output
  •  Choose whether or not to capture the cursor

Code Modules:

  •  ScreenCapPlayer : a runtime module that adds a media player that captures a single-monitor desktop or an entire multi-monitor desktop

Number of Blueprints: 0

Number of C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Windows 64 bits

Supported Target Build Platforms: Windows 64 bits



Documentation


Once you have added this plugin, just use a media url with the following format : screencap://<screennum>?fps=60&capture_cursor=true

where <screennum> should be replaced by :

  • 0 for the entire desktop
  • 1 for the first screen, 2 for the second screen, etc.

The question mark and anything after it is optional and allows you to specify the fps of the resulting video and if you want to capture the cursor. The defaults are 60fps and cursor capture on.



Examples

  • To capture the whole screen at 60fps with the cursor : screencap://0
  • To capture only the first screen at 30fps with the cursor : screencap://1?fps=30
  • To capture the whole screen at 30 fps without the cursor : screencap://0?fps=30&capture_cursor=false

For help setting up media playback : https://docs.unrealengine.com/en-US/Engine/MediaFramework/Overview/index.html