Copyright © 2006-2023 MultiMedia Soft

EncodeFormats.OPUS.EncodeMode property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property EncodeMode As enumOpusEncodeModes


 

[C#]

public enumOpusEncodeModes EncodeMode {get; set;}


 

[C++]

public: __property enumOpusEncodeModes get_EncodeMode();

public: __property void set_EncodeMode(enumOpusEncodeModes);


 

 

Remarks

The encoding mode used for OPUS format during exporting sessions.

Supported values are the following:

Mnemonic Value

Numeric value

Meaning

OPUS_ENCODE_VBR

0

Encode with the OpusEnc encoder using the Variable Bitrate (VBR) specified inside the EncodeFormats.OPUS.Bitrate property.

This property is the same as entering either the --vbr setting inside the Appendix E - OpusEnc command line.

OPUS_ENCODE_CONSTR_VBR

1

Encode with the OpusEnc encoder using the Constrained Variable Bitrate (CVBR) specified inside the EncodeFormats.OPUS.Bitrate property.

This property is the same as entering either the --cvbr setting inside the Appendix E - OpusEnc command line.

OPUS_ENCODE_HARD_CBR

2

Encode with the OpusEnc encoder using the Hard Constant Bitrate (Hard-CBR) specified inside the EncodeFormats.OPUS.Bitrate property.

This property is the same as entering either the --hard-cbr setting inside the Appendix E - OpusEnc command line.

OPUS_ENCODE_CUSTOM

3

Encode with the OpusEnc encoder using the custom string defined inside the EncodeFormats.OPUS.CustomString property.

 

 

Important note Starting from version 11 of the component, this setting is ignored until the usage of default internal encoders is enabled: see the EnableInternalEncoders method for details about disabling internal encoders.

 

 

 

This property is used only in the following situations:

During a recording session if the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_OPUS and the EncodeFormats.OPUS.EncodeMode property is set to a value different from OPUS_ENCODE_CUSTOM.

During a CD ripping session if the EncodeFormats.ForCdRipping property is set to ENCODING_FORMAT_OPUS and the EncodeFormats.OPUS.EncodeMode property is set to a value different from OPUS_ENCODE_CUSTOM.

During an exporting session if the EncodeFormats.ForExporting property is set to ENCODING_FORMAT_OPUS and the EncodeFormats.OPUS.EncodeMode property is set to a value different from OPUS_ENCODE_CUSTOM.

 

For further details about encoding in OPUS format refer to the EncodeOPUS class section.

For further information about available encoding formats see the EncodeFormatsMan class.