FMediaPlayerFacade::SetVideoTrackFrameRate

Set the frame rate of the specified video track.

Windows
MacOS
Linux

References

Module

MediaUtils

Header

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

Include

#include "MediaPlayerFacade.h"

Source

/Engine/Source/Runtime/MediaUtils/Private/MediaPlayerFacade.cpp

Syntax

bool SetVideoTrackFrameRate
(
    int32 TrackIndex,
    int32 FormatIndex,
    float FrameRate
)

Remarks

Set the frame rate of the specified video track.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

TrackIndex

The index of the track, or INDEX_NONE for the selected one.

FormatIndex

Index of the track format, or INDEX_NONE for the selected one.

FrameRate

The frame rate to set (must be in range of format's supported frame rates).

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss