Copyright © 2006-2023 MultiMedia Soft

EncodeFormats.MP3.CustomString property

Previous pageReturn to chapter overviewNext page

Type

string for Visual Basic

LPCTSTR for Visual C++

 

 

Remarks

String containing custom MP3 options to send to the Lame encoder.

 

 

Important note Starting from version 11 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 encoder command line for the complete set of available options.

 

This property is used only in the following situations:

 

During a recording session if the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CUSTOM (for further details see the How to perform a recording session section).

During a CD ripping session if the EncodeFormats.ForCdRipping property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CUSTOM (for further details see the How to perform a CD ripping session section).

During an exporting session if the EncodeFormats.ForExporting property is set to ENCODING_FORMAT_MP3 and the EncodeFormats.MP3.EncodeMode property is set to MP3_ENCODE_CUSTOM (for further details see the How to export a recorded sound section).

 

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

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

 

Contents of the 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 MP3 object section.

For further information about available encoding formats see the EncodeFormats object.