Skip to content

Struct Spinnaker::Video::H264Option

ClassList > Video > H264Option

More...

  • #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

unsigned int Spinnaker::Video::H264Option::bitrate;

Bit-rate to encode at (bps)


variable crf

unsigned int Spinnaker::Video::H264Option::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

float Spinnaker::Video::H264Option::frameRate;

Frame rate of the stream


variable height

unsigned int Spinnaker::Video::H264Option::height;

Height of source image


variable reserved

unsigned int Spinnaker::Video::H264Option::reserved[256];

Reserved for future use


variable useMP4

bool Spinnaker::Video::H264Option::useMP4;

Switch to using mp4 file format


variable width

unsigned int Spinnaker::Video::H264Option::width;

Width of source image


Public Functions Documentation

function H264Option

inline Video::H264Option::H264Option () 


The documentation for this class was generated from the following file C:/workspace/include/SpinVideoDefs.h