Copyright © 2011-2023 MultiMedia Soft

EncodeFormats.OPUS.CustomString property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property CustomString As string


 

[C#]

public string CustomString {get; set;}


 

[C++]

public: __property string get_CustomString();

public: __property void set_CustomString(string);


 

 

Remarks

String containing custom OPUS options to send to the OpusEnc encoder.

 

 

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

 

 

For advanced users, this string allows applying all of the possible OPUS encoding options available with OpusEnc. See Appendix E - OpusEnc command line for the complete set of available options.

 

This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_OPUS and the EncodeFormats.OPUS.EncodeMode property is set to OPUS_ENCODE_CUSTOM.

 

IMPORTANT NOTE: As you may know, the OpusEnc command line is as follows:

Usage: opusenc [options] input_file output_file.opus

 

Contents of the CustomString property are related to the [options] field only so you must omit entering the word opusenc and omit to specify the input_file. You should also omit the --raw option and any other options related to the raw input format which are already applied internally .

 

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.