FMediaRecorder

Records samples from a media player.

Choose your operating system:

Windows

macOS

Linux

References

Module

MediaUtils

Header

/Engine/Source/Runtime/MediaUtils/Public/MediaRecorder.h

Include

#include "MediaRecorder.h"

Syntax

class FMediaRecorder

Remarks

Records samples from a media player. Loop, seek or reverse and not supported. Currently only records texture samples and that support sample format 8bit BGRA, half float RBGA

Constructors

Name Description

Public function

FMediaRecorder()

Default constructor.

Functions

Name Description

Public function Const

bool

 

IsRecording()

Is currently recording media samples.

Public function

void

 

StartRecording

(
    const FMediaRecorderData& InRecode...
)

Start recording samples from a given media player.

Public function

void

 

StopRecording()

Stop recording media samples.

Protected function

void

 

TickRecording()

Tick the recorder.

Public function

bool

 

WaitPendingTasks

(
    const FTimespan& InDuration
)

Blocking call that will wait for all frames to be recorded before returning.

Classes

Name

Description

Public struct

FMediaRecorderData

Enums