Copyright © 2006-2019 MultiMedia Soft

EncodeFormats.MP2.CustomString property

Previous pageReturn to chapter overviewNext page

Type

string for Visual Basic

LPCTSTR for Visual C++

 

 

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 in the following situations:

 

During a recording session if the EncodeFormats.ForRecording property is set to ENCODING_FORMAT_MP2 and the EncodeFormats.MP2.EncodeMode property is set to MP2_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_MP2 and the EncodeFormats.MP2.EncodeMode property is set to MP2_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_MP2 and the EncodeFormats.MP2.EncodeMode property is set to MP2_ENCODE_CUSTOM (for further details see the How to export a recorded sound section).

 

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 MP2 object section.

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