EncoderConfigurationFactoryCreateVideoConfiguration Method (Codec, Int32, Int32, Int32, Int32) |
Instantiates a VideoEncoderConfiguration (derived) instance given a codec, known resolution and bitrate.
Namespace: StreamCoders.EncoderAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static VideoEncoderConfiguration CreateVideoConfiguration(
Codec codec,
int width,
int height,
int bitrate,
int iFrameFrequency
)
Public Shared Function CreateVideoConfiguration (
codec As Codec,
width As Integer,
height As Integer,
bitrate As Integer,
iFrameFrequency As Integer
) As VideoEncoderConfiguration
public:
static VideoEncoderConfiguration^ CreateVideoConfiguration(
Codec codec,
int width,
int height,
int bitrate,
int iFrameFrequency
)
static member CreateVideoConfiguration :
codec : Codec *
width : int *
height : int *
bitrate : int *
iFrameFrequency : int -> VideoEncoderConfiguration
Parameters
- codec
- Type: StreamCodersCodec
The codec.
- width
- Type: SystemInt32
The width.
- height
- Type: SystemInt32
The height.
- bitrate
- Type: SystemInt32
The bitrate.
- iFrameFrequency
- Type: SystemInt32
Return Value
Type:
VideoEncoderConfiguration
Returns an instance of one of the VideoEncoderConfiguration objects.
See Also