Encoded output. 更多...
#include <AVEncoder.h>
Public 成员函数 | |
| bool | IsValid () const |
| 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. 更多... | |
| bool | IsVideoKeyFrame () const |
| Returns true if this packet is a video key frame | |
Public 属性 | |
| union { | |
| }; | |
| Depending if it's a Video or Audio packet, you should only access either the Video or Audio member. | |
| TArray< uint8 > | Data |
| Actual encoded output | |
| struct { | |
| } | Timings |
| Encoding latency | |
Encoded output.
Both FVideoEncoder and FAudioEncoder use this same type to output the encoded data.
|
inline |
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