IMediaTracks::SetVideoTrackFrameRate

Set the frame rate of the specified video track.

Choose your operating system:

Windows

macOS

Linux

References

Module

Media

Header

/Engine/Source/Runtime/Media/Public/IMediaTracks.h

Include

#include "IMediaTracks.h"

Syntax

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

Remarks

Set the frame rate of the specified video track.

that most players may not support overriding the video frame rate. This feature is often only available on video capture media sources.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

TrackIndex

The index of the track (must be valid).

FormatIndex

Index of the track format (must be valid).

FrameRate

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

See Also