Structure containing the options used to record. More...
Functions | |
RecordingParameters (String video_filename_="myRecording.svo2", 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. More... | |
bool | operator== (const RecordingParameters ¶m1) const |
bool | operator!= (const RecordingParameters ¶m1) const |
Attributes | |
String | video_filename |
Filename of the file to save the recording into. More... | |
SVO_COMPRESSION_MODE | compression_mode = SVO_COMPRESSION_MODE::H264 |
Compression mode the recording. More... | |
unsigned int | bitrate = 0 |
Overrides the default bitrate of the SVO file, in kbits/s. More... | |
unsigned int | target_framerate = 0 |
Framerate for the recording file. More... | |
bool | transcode_streaming_input = false |
Defines whether to decode and re-encode a streaming source. More... | |
Structure containing the options used to record.
The default constructor sets all parameters to their default settings.
RecordingParameters | ( | String | video_filename_ = "myRecording.svo2" , |
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.
All the parameters are set 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 file to save the recording into.
SVO_COMPRESSION_MODE compression_mode = SVO_COMPRESSION_MODE::H264 |
Compression mode the recording.
Default: sl::SVO_COMPRESSION_MODE::H264
unsigned int bitrate = 0 |
Overrides the default bitrate of the SVO file, in kbits/s.
Default: 0 (the default values associated with the resolution)
unsigned int target_framerate = 0 |
Framerate for the recording file.
Default: 0 (camera framerate will be taken)
camera_frameratetarget_framerate == 0
. bool transcode_streaming_input = false |
Defines whether to decode and re-encode a streaming source.
Default: false