FAVPacket::IsValid

The encoder can fail to encode a given frame This might be expanded to an enum to show a reason, or removed entirely in the future once we make the encoders a bit sturdier.

Windows
MacOS
Linux

References

Module

AVEncoder

Header

/Engine/Source/Runtime/AVEncoder/Public/AVEncoder.h

Include

#include "AVEncoder.h"

Syntax

bool IsValid() const

Remarks

The encoder can fail to encode a given frame This might be expanded to an enum to show a reason, or removed entirely in the future once we make the encoders a bit sturdier. Ideally, failing to encode should be dealt internally by the encoder, correcting whatever failed. In turn a FVPacket received from the encoder should all be valid

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