VideoFormat Constructor (VideoType, Double, Resolution, Int32, PixelFormat) |
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public VideoFormat(
VideoType codecType,
double maxFrameRate,
Resolution resolution,
int maxBitrate,
PixelFormat pixelFormat = PixelFormat.Format24bppRgb
)
Public Sub New (
codecType As VideoType,
maxFrameRate As Double,
resolution As Resolution,
maxBitrate As Integer,
Optional pixelFormat As PixelFormat = PixelFormat.Format24bppRgb
)
public:
VideoFormat(
VideoType codecType,
double maxFrameRate,
Resolution^ resolution,
int maxBitrate,
PixelFormat pixelFormat = PixelFormat::Format24bppRgb
)
new :
codecType : VideoType *
maxFrameRate : float *
resolution : Resolution *
maxBitrate : int *
?pixelFormat : PixelFormat
(* Defaults:
let _pixelFormat = defaultArg pixelFormat PixelFormat.Format24bppRgb
*)
-> VideoFormat
Parameters
- codecType
- Type: Ozeki.MediaVideoType
The type of the video. - maxFrameRate
- Type: SystemDouble
The maximum framerate for the video. - resolution
- Type: Ozeki.MediaResolution
The resolution of the video. - maxBitrate
- Type: SystemInt32
The maximum bitrate for the video. - pixelFormat (Optional)
- Type: System.Drawing.ImagingPixelFormat
the pixel format of the image.
This is used only if the CodecType is Uncompressed because it describes bitmap image formats.
The supported pixel formats are: Format8bppIndexed, Format24bppRgb, Format32bppArgb.
See Also