Video encoder initial configuration. 更多...
#include <AVEncoder.h>
Public 属性 | |
| bool | bFillerDataHack = false |
| Temporay hack for enabling filler data in NvEnc | |
| uint32 | Bitrate = 0 |
| Target bitrate in bps | |
| uint32 | MaxBitrate = 0 |
| Maximum bitrate in bps. 更多... | |
| TArray< TPair< FString, FString > > | Options |
| Options specific to an hardware vendor (e.g: AMF or NVidia), or specific to a codec (h264) At the moment there are the following options (name and value) 更多... | |
| EPreset | Preset = EPreset::HighQuality |
| Provides an hint to the encoder of what's the intended use. | |
| uint32 | Width = 0 |
| Encoding Resolution (e.g: 1920 x 1080 ) | |
Video encoder initial configuration.
| uint32 AVEncoder::FVideoEncoderConfig::MaxBitrate = 0 |
Maximum bitrate in bps.
Mostly an hint for the encoder. Normally this is used for VBR and ignored for CBR
Options specific to an hardware vendor (e.g: AMF or NVidia), or specific to a codec (h264) At the moment there are the following options (name and value)
"qp" : H264 Quantization Parameter (0-51). Lower values result in better quality but higher bitrate. Default value is 20 "ratecontrolmode" : H264 rate control mode. Valid values are (constqp, vbr, cbr). Default value is cbr