Copyright © 2006-2023 MultiMedia Soft

EncodeFormats.OGG.CustomString property

Previous pageReturn to chapter overviewNext page

Type

string for Visual Basic

LPCTSTR for Visual C++

 

 

Remarks

String containing custom OGG Vorbis options to send to the OggEnc 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 OGG Vorbis encoding options available with OggEnc. See Appendix B - OggEnc 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_OGG and the EncodeFormats.OGG.EncodeMode property is set to OGG_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_OGG and the EncodeFormats.OGG.EncodeMode property is set to OGG_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_OGG and the EncodeFormats.OGG.EncodeMode property is set to OGG_ENCODE_CUSTOM (for further details see the How to export a recorded sound section).

 

 

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

Usage: oggenc [options] input.wav [...]

 

Contents of the CustomString property are related to the [options] field only so you must omit entering the word oggenc and omit to specify the input.wav file and [...] settings also. You should also omit the -r option which is already applied internally.

 

For further details about encoding in OGG Vorbis format refer to the OGG object section.

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