Copyright © 2008-2023 MultiMedia Soft

EncodeFormats.MP3.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 MP3 options to send to the Lame 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 MP3 encoding options available with Lame. See Appendix A - Lame command line for the complete set of available options.

 

This property is used only if the EncodeFormats.FormatToUse property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CUSTOM.

 

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

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

 

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

 

For further details about encoding in MP3 format refer to the EncodeMP3 class section.

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