primo::avblocks::Param¶
Defines parameters that can be passed to the transcoder and to the components that are used in the transcoding process.
Namespaces¶
Name |
Description |
|---|---|
Parameters specific to decoders. |
|
Parameters specific to demuxers. |
|
Parameters specific to encoders. |
|
Parameters specific to muxers. |
|
Parameters specific to video filters. |
-
static const char primo::avblocks::Param::ReEncode[] = "REENCODE_STREAM"¶
Specifies whether a stream will be re-encoded.
This parameter is an integer.
The supported values are defined in the primo::avblocks::Use::Enum. The default value is Use::Auto.
If this parameter is Use::Auto the re-encoding is done only when the input and the output formats are not equivalent. If this parameter is Use::On the re-encoding is always done even if the input and the output formats are equivalent. The case when this parameter is Use::Off is not implemented.
-
static const char primo::avblocks::Param::HardwareEncoder[] = "HARDWARE_ENCODER"¶
Specifies which hardware encoder shall be used.
This parameter is an integer.
The supported values are defined in the primo::avblocks::HardwareEncoder::Enum. The default value is HardwareEncoder::Off.
-
static const char primo::avblocks::Param::HardwareEncoderDevice[] = "HARDWARE_ENCODER_DEVICE"¶
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.
See also
-
static const char primo::avblocks::Param::HardwareEncoderApi[] = "HARDWARE_ENCODER_API"¶
Specifies which hardware API shall be used.
This parameter is an integer.
The supported values are defined in the primo::codecs::HwApi::Enum. The default value is HwApi::None which lets AVBlocks select the hardware API.
Note
AMD OpenVideo is never selected automatically by AVBlocks. It must be explicitly requested through this parameter.