RecordingSensorsParameters Struct Reference

Attributes

std::set< sl::SensorDeviceIdentifiersensors_ids = {}
 List of sensor id that will be used By default empty which means all available sensors in Sensors when the module is started. More...
 
BatchedData< Stringvideo_filenames
 Filename of the file to save the recording into. More...
 
SVO_COMPRESSION_MODE compression_mode = SVO_COMPRESSION_MODE::H265
 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...
 

Variables

◆ sensors_ids

std::set<sl::SensorDeviceIdentifier> sensors_ids = {}

List of sensor id that will be used By default empty which means all available sensors in Sensors when the module is started.

◆ video_filenames

BatchedData<String> video_filenames

Filename of the file to save the recording into.

◆ compression_mode

Compression mode the recording.

Default: sl::SVO_COMPRESSION_MODE::H265

◆ bitrate

unsigned int bitrate = 0

Overrides the default bitrate of the SVO file, in kbits/s.

Default: 0 (the default values associated with the resolution)

Note
Only works if compression_mode is H264 or H265.
Available range: 0 or [1000 - 60000]

◆ target_framerate

unsigned int target_framerate = 0

Framerate for the recording file.

Default: 0 (camera framerate will be taken)

Warning
This framerate must be below or equal to the camera framerate and camera framerate must be a multiple of the target framerate.
It means that it must respect camera_frameratetarget_framerate == 0.
Allowed framerates are 15,30, 60 or 100 if possible.
Any other values will be discarded and camera FPS will be taken.

◆ transcode_streaming_input

bool transcode_streaming_input = false

Defines whether to decode and re-encode a streaming source.

Default: false

Note
If set to false, it will avoid decoding/re-encoding and convert directly streaming input into a SVO file.
This saves an encoding session and can be especially useful on NVIDIA Geforce cards where the number of encoding session is limited.
compression_mode, target_framerate and bitrate will be ignored in this mode.