SL_RecordingParameters Struct Reference

Sets the recording parameters. More...

Data Fields

unsigned char video_filename [256]
 filename of the SVO file.
 
enum SL_SVO_COMPRESSION_MODE compression_mode
 can be one of the SL_SVO_COMPRESSION_MODE enum
 
unsigned int bitrate
 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
 defines the target framerate for the recording module. More...
 
bool transcode_streaming_input
 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...
 

Detailed Description

Sets the recording parameters.

Field Documentation

◆ bitrate

unsigned int SL_RecordingParameters::bitrate

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)

Note
Available range : 0 or [1000 - 60000]

◆ target_framerate

unsigned int SL_RecordingParameters::target_framerate

defines the target framerate for the recording module.

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.
default : 0, meaning that the camera framerate will be taken

◆ transcode_streaming_input

bool SL_RecordingParameters::transcode_streaming_input

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.

Note
compression_mode, target_framerate and bitrate will be ignored in this mode.