PDA

View Full Version : Scripting BWF MP2 Encoder in dMC



bweeks_hcjb
07-18-2002, 08:52 AM
The developer page for scripting dMC describes how to find the Conversion Type "BWF MP2" as one of the installed codecs, but does not provide any info for setting the parameters of the Codec (which are described for WAV, MP3 and WMA). How does one set the parameters of an installed codec like BWF MP2?

Thanks for your help in advance,

Brent

Spoon
07-18-2002, 10:54 AM
The only way is to set the values direct in the registry.

bweeks_hcjb
07-18-2002, 11:10 AM
What path in the registry should we change the values in?

Spoon
07-18-2002, 12:39 PM
I think it is:

HKEY_CURRENT_USER\Software\Illustrate\dBpowerAMP\D MCMP2xxxx

but don't quote me ;)

daren
08-05-2002, 04:54 AM
Hi,

The values are:

DMCBWFMP2BitRate - the bitrate in kbps
DMCBWFMP2Channels - 0=stereo, 1=mono, 2=dual mono
DMCBWFMP2Freq - sample frequency in Hz

Best regards,
Daren.

bweeks_hcjb
08-05-2002, 08:11 AM
Thanks Daren and Spoon,

We found the 3 variables and are successfully adjusting them in our VB program. Works great. :supersmil

kdichter
10-16-2009, 09:02 PM
Support staff or Mr Spoon,

Seems I pop up with a question every few years. Not sure if this should be a reply to an 8 year old post?? or I should create it as a new thread? It happens that I am trying to do the same thing this post asks about.

When I make the conversion from MP3 to BWF it seems to default to a Bit Rate of 256 kbps. That output file does not work in the player. When I manually do a conversion and I set the Bit Rate to 56 kbps the output works fine. Unfortunately when I run the convert process .vbs it jumps back to 256 kbps. I am not sure how to remedy this. I read this thread and thought it was the answer. To show my attempts I have printed these items from registry:

[HKEY_CURRENT_USER\Software\Illustrate\dBpoweramp]
"dMCLastCodec"="Bwf Mp2"
"dMCLastFolder0"="C:\\Metro\\KFNN\\WAV\\"
"DMCBWFMP2Channels"=dword:00000001
"DMCBWFMP2Freq"=dword:0000ac44
"DMCBWFMP2BitRate"=dword:00000056

When that did not work, I also added this:
[HKEY_CURRENT_USER\Software\Illustrate\dBpoweramp\d MCCodec\Bwf Mp2]
"dMC_CLI"=" -b=\"56\" -c=\"1\""
"DMCBWFMP2Freq"=dword:00000038
"DMCBWFMP2Channels"=dword:00000001
"DMCBWFMP2BitRate"=dword:0000ac44

Nothing I change in the registry seems to make any difference to the output file after the .vbs runs. Only when I point, click and choose, can I get the output that I need. I know this must be possible, please help me to understand how I can get the desired output from the vbs.

I am using DBPowerAmp Music Converter - Release 12.4 - Registered
Codec is BwfMp2 - Release 6

I would appreciate any help you could offer. Thanks.

Ken

Spoon
10-17-2009, 04:37 AM
Through scripting you would specify the command line (settings for codec), not by editing the registry.