Copyright © 2008-2019 MultiMedia Soft

EncodeFormats.MP2.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 MP2 options to send to the TwoLame encoder.

 

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

 

This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_MP2 and the EncodeFormats.MP2.EncodeMode property is set to MP2_ENCODE_CUSTOM.

 

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

usage: twolame [options] <infile> [outfile]

 

Contents of the EncodeFormats.MP2.CustomString property are related to the [options] field only so you must omit entering the word twoame and omit to specify the <infile> and [outfile] settings also. You should also omit the -r option which is already applied internally and the --x option which is not compatible with the control.

 

For further details about encoding in MP2 format refer to the EncodeMP2 class section.

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