Navigation
API > API/Runtime > API/Runtime/AVEncoder
References
| Module | AVEncoder |
| Header | /Engine/Source/Runtime/AVEncoder/Public/VideoEncoder.h |
| Include | #include "VideoEncoder.h" |
Syntax
class FVideoEncoder
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FLayer * > | Layers | ||
| OnEncodedPacketCallback | OnEncodedPacket |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddLayer
(
FLayerConfig const& config |
||
| void | |||
| FLayer * | CreateLayer
(
uint32 layerIdx, |
||
| void | DestroyLayer
(
FLayer* layer |
||
| void | Encode
(
const TSharedPtr< FVideoEncoderInputFrame > frame, |
||
| FLayerConfig | GetLayerConfig
(
uint32 layerIdx |
||
| uint32 | GetMaxLayers () |
||
| uint32 | GetNumLayers () |
||
| void | SetOnEncodedPacket
(
OnEncodedPacketCallback callback |
||
| bool | Setup
(
TSharedRef< FVideoEncoderInput > input, |
||
| void | Shutdown () |
||
| void | UpdateLayerConfig
(
uint32 layerIdx, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FEncodeOptions | |||
| FLayer | |||
| FLayerConfig |
Enums
| Type | Name | Description | |
|---|---|---|---|
| H264Profile | |||
| MultipassMode | |||
| RateControlMode |
Typedefs
| Name | Description |
|---|---|
| OnEncodedPacketCallback | |
| OnFrameEncodedCallback |