Sets the recording parameters. More...
Functions | |
RecordingParameters (String video_filename_="myRecording.svo", SVO_COMPRESSION_MODE compression_mode_=SVO_COMPRESSION_MODE::H264, unsigned int target_framerate_=0, unsigned int bitrate_=0, bool transcode_streaming_input_=false) | |
Default constructor. Set all parameters to their default values. More... | |
bool | operator== (const RecordingParameters ¶m1) const |
bool | operator!= (const RecordingParameters ¶m1) const |
Attributes | |
String | video_filename |
filename of the SVO file. More... | |
SVO_COMPRESSION_MODE | compression_mode = SVO_COMPRESSION_MODE::H264 |
can be one of the SVO_COMPRESSION_MODE enum More... | |
unsigned int | bitrate = 0 |
overrides default bitrate of the SVO file, in KBits/s. Only works if SVO_COMPRESSION_MODE is H264 or H265. default : 0 means default values (depends on the resolution) More... | |
unsigned int | target_framerate = 0 |
defines the target framerate for the recording module. More... | |
bool | transcode_streaming_input = false |
In case of streaming input, if set to false, it will avoid decoding/re-encoding and convert directly streaming input into a SVO file. This saves a encoding session and can be especially useful on NVIDIA Geforce cards where the number of encoding session is limited. More... | |
Sets the recording parameters.
The default constructor sets all parameters to their default settings.
RecordingParameters | ( | String | video_filename_ = "myRecording.svo" , |
SVO_COMPRESSION_MODE | compression_mode_ = SVO_COMPRESSION_MODE::H264 , |
||
unsigned int | target_framerate_ = 0 , |
||
unsigned int | bitrate_ = 0 , |
||
bool | transcode_streaming_input_ = false |
||
) |
Default constructor. Set all parameters to their default values.
bool operator== | ( | const RecordingParameters & | param1 | ) | const |
Comparison operator ==
RecordingParameters | to compare |
bool operator!= | ( | const RecordingParameters & | param1 | ) | const |
Comparison operator !=
RecordingParameters | to compare |
String video_filename |
filename of the SVO file.
SVO_COMPRESSION_MODE compression_mode = SVO_COMPRESSION_MODE::H264 |
can be one of the SVO_COMPRESSION_MODE enum
unsigned int bitrate = 0 |
overrides default bitrate of the SVO file, in KBits/s. Only works if SVO_COMPRESSION_MODE is H264 or H265.
default : 0 means default values (depends on the resolution)
unsigned int target_framerate = 0 |
defines the target framerate for the recording module.
bool transcode_streaming_input = false |
In case of streaming input, if set to false, it will avoid decoding/re-encoding and convert directly streaming input into a SVO file. This saves a encoding session and can be especially useful on NVIDIA Geforce cards where the number of encoding session is limited.