Struct Spinnaker::Video::H264Option¶
ClassList > Video > H264Option
#include <SpinVideoDefs.h>
Public Attributes¶
| Type | Name |
|---|---|
| unsigned int | bitrate |
| unsigned int | crf |
| float | frameRate |
| unsigned int | height |
| unsigned int | reserved |
| bool | useMP4 |
| unsigned int | width |
Public Functions¶
| Type | Name |
|---|---|
| H264Option () |
Detailed Description¶
Options for saving H264 files.
Public Attributes Documentation¶
variable bitrate¶
Bit-rate to encode at (bps)
variable crf¶
Constant Rate Factor to use
CRF values range from 1 to 51, where a lower value results in a higher quality (and larger file size). Default is 23, which offers a good tradeoff between quality and file size. Set this value to 0 to ignore CRF and only use bitrate to control quality.
variable frameRate¶
Frame rate of the stream
variable height¶
Height of source image
variable reserved¶
Reserved for future use
variable useMP4¶
Switch to using mp4 file format
variable width¶
Width of source image
Public Functions Documentation¶
function H264Option¶
The documentation for this class was generated from the following file C:/workspace/include/SpinVideoDefs.h