SimaEncodeOptions Struct
Codec-specific fields are optional; defaults are selected after type. More...
Declaration
Included Headers
Public Member Attributes Index
| SimaEncodeType | type = SimaEncodeType::H264 |
| int | fps = 30 |
|
Stream cadence, not a producer submission throttle. More... | |
| std::optional< int > | bitrate_kbps |
|
H.264/H.265: positive target, default 4000. More... | |
| std::optional< std::string > | rate_control |
|
H.264/H.265: vbr (default) or cbr. More... | |
| std::optional< std::string > | profile |
|
H.264: baseline/main/high; H.265: main. More... | |
| std::optional< std::string > | level |
|
H.264/H.265: default 4.0, adjusted by hardware. More... | |
| std::optional< int > | gop_length |
|
H.264/H.265: 0..1000; 0 uses FPS, 1 is all-intra. More... | |
| std::optional< int > | idr_interval |
|
H.264/H.265: nonnegative; 0 uses three times FPS. More... | |
| std::optional< int > | quality |
|
MJPEG: 1..100, default 80. More... | |
| int | num_buffers = -1 |
|
Encoded outputs: -1 uses the native default, or 1..20. More... | |
Description
Codec-specific fields are optional; defaults are selected after type.
Definition at line 28 of file SimaEncode.h.
Public Member Attributes
bitrate_kbps
|
H.264/H.265: positive target, default 4000.
Definition at line 31 of file SimaEncode.h.
fps
|
Stream cadence, not a producer submission throttle.
Definition at line 30 of file SimaEncode.h.
gop_length
|
H.264/H.265: 0..1000; 0 uses FPS, 1 is all-intra.
Definition at line 35 of file SimaEncode.h.
idr_interval
|
H.264/H.265: nonnegative; 0 uses three times FPS.
Definition at line 36 of file SimaEncode.h.
level
|
H.264/H.265: default 4.0, adjusted by hardware.
Definition at line 34 of file SimaEncode.h.
num_buffers
|
Encoded outputs: -1 uses the native default, or 1..20.
Definition at line 38 of file SimaEncode.h.
profile
|
H.264: baseline/main/high; H.265: main.
Definition at line 33 of file SimaEncode.h.
quality
|
MJPEG: 1..100, default 80.
Definition at line 37 of file SimaEncode.h.
rate_control
|
H.264/H.265: vbr (default) or cbr.
Definition at line 32 of file SimaEncode.h.
type
|
Definition at line 29 of file SimaEncode.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.