Copyright © 2008-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 8 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 if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_OPUS.

 

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.