class unreal.MediaOutput(outer=None, name='None')

Bases: unreal.Object

Abstract base class for media output.

Media output describe the location and/or settings of media objects that can be used to output the content of UE4 to a target device via a MediaCapture.

C++ Source:

  • Plugin: MediaIOFramework
  • Module: MediaIOCore
  • File: MediaOutput.h

Editor Properties: (see get_editor_property/set_editor_property)

  • number_of_texture_buffers (int32): [Read-Write] Number of texture used to transfer the texture from the GPU to the system memory. A smaller number is most likely to block the GPU (wait for the transfer to complete). A bigger number is most likely to increase latency.
create_media_capture() → MediaCapture

Creates the specific implementation of the MediaCapture for the MediaOutput.

Return type:MediaCapture
validate() → str or None

Validate the media output settings (must be implemented in child classes).

Returns:true if validation passed, false otherwise.

out_failure_reason (str):

Return type:str or None