AVBlocks for .NET
3.0
Audio and Video Software Development Kit
|
Defines parameters that can be passed to the transcoder and to the components that are used in the transcoding process. More...
Classes | |
class | Decoder |
Parameters specific to decoders. More... | |
class | Demuxer |
Parameters specific to demuxers. More... | |
class | Encoder |
Parameters specific to encoders. More... | |
class | Muxer |
Parameters specific to muxers. More... | |
class | Video |
Parameters specific to video filters. More... | |
Static Public Attributes | |
static string | HardwareEncoder = "HARDWARE_ENCODER" |
Specifies which hardware encoder shall be used. | |
static string | HardwareEncoderApi = "HARDWARE_ENCODER_API" |
Specifies which hardware API shall be used. | |
static string | HardwareEncoderDevice = "HARDWARE_ENCODER_DEVICE" |
Specifies the device ID that shall be used for hardware encoding. | |
static string | ReEncode = "REENCODE_STREAM" |
Specifies whether a stream will be reencoded. | |
Defines parameters that can be passed to the transcoder and to the components that are used in the transcoding process.
A parameter can be used with one or more components like decoders, encoders, demuxers, muxers, and others.
A parameter can apply to:
any component
a certain component category like encoders, decoders, demuxers, muxers, etc.
a component that handles a specific format like H.264 encoder, MPEG-2 encoder, MPEG-2 muxer, etc.
The value representation, range and interpretation is different for each parameter.
|
static |
Specifies which hardware encoder shall be used.
This parameter is an integer.
The supported values are defined in HardwareEncoder enum. The default value is HardwareEncoder.Off.
|
static |
Specifies which hardware API shall be used.
This parameter is an integer.
The supported values are defined in HwApi enum. The default value is HwApi.None which lets AVBlocks select the hardware API.
|
static |
Specifies the device ID that shall be used for hardware encoding.
This parameter is an integer.
The device ID includes uniquely identified devices that support the hardware encoder specified by the HardwareEncoder parameter. The default value is 0.
|
static |
Specifies whether a stream will be reencoded.
This parameter is an integer.
The supported values are defined in Use enum. The default value is Use.Auto.
If this parameter is Use::Auto the reencoding is done only when the input and the output formats are not equivalent. If this parameter is Use::On the reencoding is done always even if the input and the output formats are equivalent. The case when this parameter is Use::Off is not implemented.