Class containing the options used to record. More...
Functions | |
| RecordingParameters | __cinit__ (self, video_filename="myRecording.svo2", compression_mode=SVO_COMPRESSION_MODE.H264, target_framerate=0, bitrate=0, transcode_streaming_input=False) |
| Default constructor. More... | |
| str | video_filename (self) |
| Filename of the file to save the recording into. | |
| SVO_COMPRESSION_MODE | compression_mode (self) |
| Compression mode the recording. More... | |
| int | target_framerate (self) |
| Framerate for the recording file. More... | |
| int | bitrate (self) |
| Overrides the default bitrate of the SVO file, in kbits/s. More... | |
| bool | transcode_streaming_input (self) |
| Defines whether to decode and re-encode a streaming source. More... | |
Class containing the options used to record.
The default constructor sets all parameters to their default settings.
| RecordingParameters __cinit__ | ( | self, | |
video_filename = "myRecording.svo2", |
|||
compression_mode = SVO_COMPRESSION_MODE.H264, |
|||
target_framerate = 0, |
|||
bitrate = 0, |
|||
transcode_streaming_input = False |
|||
| ) |
Default constructor.
All the parameters are set to their default values.
| video_filename | : Chosen video_filename |
| compression_mode | : Chosen compression_mode |
| target_framerate | : Chosen target_framerate |
| bitrate | : Chosen bitrate |
| transcode_streaming_input | : Enables transcode_streaming_input |
| SVO_COMPRESSION_MODE compression_mode | ( | self | ) |
Compression mode the recording.
Default: sl.SVO_COMPRESSION_MODE.H264
| int target_framerate | ( | self | ) |
Framerate for the recording file.
Default: 0 (camera framerate will be taken)
camera_frameratetarget_framerate == 0. | int bitrate | ( | self | ) |
Overrides the default bitrate of the SVO file, in kbits/s.
Default: 0 (the default values associated with the resolution)
| bool transcode_streaming_input | ( | self | ) |
Defines whether to decode and re-encode a streaming source.
Default: False