Class ObsVideoSettings
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
The video settings of OBS Studio (Settings, Video) of the profile that is current: the size of the canvas that the scenes are drawn on, the size of the video that it outputs, and the frame rate.
public sealed class ObsVideoSettings
- Inheritance
-
ObsVideoSettings
- Inherited Members
Remarks
It is a snapshot: it does not change when OBS Studio does (GetVideoSettingsAsync(CancellationToken) asks again). The settings belong to the profile, so another profile has other ones (ObsProfiles).
Properties
- BaseHeight
Gets the height of the base (canvas) resolution in pixels.
- BaseWidth
Gets the width of the base (canvas) resolution in pixels: what the scenes are drawn on.
- FpsDenominator
Gets the denominator of the frame rate: 1001 for 59.94 frames per second (60000/1001).
- FpsNumerator
Gets the numerator of the frame rate: 60000 for 59.94 frames per second (60000/1001).
- FramesPerSecond
Gets the frame rate in frames per second: the numerator divided by the denominator.
- OutputHeight
Gets the height of the output resolution in pixels.
- OutputWidth
Gets the width of the output resolution in pixels: what is streamed and recorded (the canvas scaled to it).
Methods
- ToString()
Returns a string that represents the current object.