PDA

View Full Version : DMCSCRIPTINGLib.ConverterClass API question



snappa
02-26-2007, 08:07 AM
Hello,

I am building an encoder to convert files from WAV to MP3 and WMA with a specific name format so I need to use the API. How can I figure out what the magic parameters are when encoding to WMA?

I was able to get the MP3 conversion working with both LAME and Fraunhofer.

Thanks in advance.

snappa
02-26-2007, 10:32 AM
I figured out the answer to my own post and thought it would be useful to share this with others trying to use the API to convert tracks.

The dbPowerAmp music converter writes entries in the windows registry for each of the revent conversions performed. For example, if a conversion is done to "mp3 (Lame)" there will be an entry in the registry at:
HKEY_CURRENT_USER\Software\Illustrate\dBpoweramp\d MCCodec\mp3 (Lame)

If a conversion is performed for "Windows Media Audio 10" there will be an entry at the key:
HKEY_CURRENT_USER\Software\Illustrate\dBpoweramp\d MCCodec\Windows Media Audio 10

The value stored for the kep dMC_CLI is what you want to pass into the compression settings argument of the "Convert" method of the COM interface for the DMCSCRIPTINGLib.

LtData
02-26-2007, 11:22 AM
Moved to Developer section of the forum.