UMediaOutput

Abstract base class for media output.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaOutput.h

Include

#include "MediaOutput.h"

Syntax

UCLASS(Abstract, EditInlineNew, BlueprintType, HideCategories=(Object))
class UMediaOutput : public UObject

Remarks

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 Unreal Engine to a target device via a MediaCapture.

Variables

Name Description

Public variable UProperty Category, EditAnywhere, AdvancedDisplay, Meta

int32

 

NumberOfTextureBuffers

Number of texture used to transfer the texture from the GPU to the system memory.

Constructors

Name Description

Public function

UMediaOutput

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function UFunction BlueprintCallable, Category

UMediaCaptur...

 

CreateMediaCapture()

Creates the specific implementation of the MediaCapture for the MediaOutput.

Protected function Virtual

UMediaCaptur...

 

CreateMediaCaptureImpl()

Public function Virtual Const

EMediaCaptur...

 

GetConversionOperation

(
    EMediaCaptureSourceType InSourceTyp...
)

The conversion we wish to accomplish on the GPU before the DMA transfer occurs.

Public function Virtual Const

EPixelFormat

 

GetRequestedPixelFormat()

The pixel format of the buffer we wish to capture.

Public function Virtual Const

FIntPoint

 

GetRequestedSize()

The size of the buffer we wish to capture.

Public function Virtual Const UFunction BlueprintCallable, Category

bool

 

Validate

(
    FString& OutFailureReason
)

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

Constants

Name

Description

RequestCaptureSourceSize