ObsSetVideoSettingsCommand constructor
ObsSetVideoSettingsCommand()
Implementation
ObsSetVideoSettingsCommand() {
argParser
..addOption(
'fps-numerator',
valueHelp: 'int (greater than 0)',
help: 'Numerator of the fractional FPS value',
callback: _greaterThanZero,
)
..addOption(
'fps-denominator',
valueHelp: 'int (greater than 0)',
help: 'Denominator of the fractional FPS value',
callback: _greaterThanZero,
)
..addOption(
'base-width',
valueHelp: 'int (between 1 and 4096)',
help: 'Width of the base (canvas) resolution in pixels',
callback: _betweenOneAndFortyNinetySix,
)
..addOption(
'base-height',
valueHelp: 'int (between 1 and 4096)',
help: 'Height of the base (canvas) resolution in pixels',
callback: _betweenOneAndFortyNinetySix,
)
..addOption(
'output-width',
valueHelp: 'int (between 1 and 4096)',
help: 'Width of the output resolution in pixels',
callback: _betweenOneAndFortyNinetySix,
)
..addOption(
'output-height',
valueHelp: 'int (between 1 and 4096)',
help: 'Height of the output resolution in pixels',
callback: _betweenOneAndFortyNinetySix,
);
}