DiveVideoInfo class
Constructors
- DiveVideoInfo({String? graphicsModule, DiveCoreFPS? fps, DiveCoreResolution? baseResolution, DiveCoreResolution? outputResolution, DiveVideoFormat? outputFormat, int? adapter, bool? gpuConversion, int? colorspace, int? range, int? scaleType})
- DiveVideoInfo.fromJson(String source)
-
factory
-
DiveVideoInfo.fromMap(Map<
String, dynamic> map) -
factory
Properties
- adapter → int?
-
Video adapter index to use (NOTE: avoid for optimus laptops)
final
- baseResolution → DiveCoreResolution?
-
< Base compositing resolution
final
- colorspace → int?
-
< YUV type (if YUV)
final
- fps → DiveCoreFPS?
-
< Output FPS
final
- gpuConversion → bool?
-
Use shaders to convert to different color formats
final
- graphicsModule → String?
-
Graphics module to use (usually "libobs-opengl" or "libobs-d3d11")
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- outputFormat → DiveVideoFormat?
-
< Output format
final
- outputResolution → DiveCoreResolution?
-
< Output resolution
final
- range → int?
-
< YUV range (if YUV)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scaleType → int?
-
< How to scale if scaling
final
Methods
-
copyWith(
{String? graphicsModule, int? fps, int? baseResolution, int? outputResolution, DiveVideoFormat? outputFormat, int? adapter, bool? gpuConversion, int? colorspace, int? range, int? scaleType}) → DiveVideoInfo -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
changeFrameRate(
DiveCoreFPS frameRate) → Future< bool> - Change the frame rate of the output video.
-
changeResolution(
DiveCoreResolution base, DiveCoreResolution output) → Future< bool> - Change the base and output resolution of the output video.
-
get(
) → DiveVideoInfo? - Get the video info.