dbpoweramp  

Go Back   dbpoweramp > Other Topics > Developing with dBpoweramp (Scripting, etc)

Reply
 
Thread Tools Display Modes
Old 07-18-2002, 08:52 AM   #1
bweeks_hcjb
 
bweeks_hcjb's Avatar
 
Join Date: Apr 2002
Location: Quito, Ecuador and Victoria, Canada
Posts: 15
Scripting BWF MP2 Encoder in dMC

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
__________________
Desde Ecuador, Hoy Cristo Jesus Bendice,
Brent Weeks
bweeks_hcjb is offline   Reply With Quote
Old 07-18-2002, 10:54 AM   #2
Spoon
Da Man
 
Spoon's Avatar
 
Join Date: Apr 2002
Posts: 17,129
The only way is to set the values direct in the registry.
__________________
Spoon
www.dbpoweramp.com
Spoon is offline   Reply With Quote
Old 07-18-2002, 11:10 AM   #3
bweeks_hcjb
 
bweeks_hcjb's Avatar
 
Join Date: Apr 2002
Location: Quito, Ecuador and Victoria, Canada
Posts: 15
What path in the registry should we change the values in?
__________________
Desde Ecuador, Hoy Cristo Jesus Bendice,
Brent Weeks
bweeks_hcjb is offline   Reply With Quote
Old 07-18-2002, 12:39 PM   #4
Spoon
Da Man
 
Spoon's Avatar
 
Join Date: Apr 2002
Posts: 17,129
I think it is:

HKEY_CURRENT_USER\Software\Illustrate\dBpowerAMP\D MCMP2xxxx

but don't quote me
__________________
Spoon
www.dbpoweramp.com
Spoon is offline   Reply With Quote
Old 08-05-2002, 04:54 AM   #5
daren
TrinitySoftware
 
daren's Avatar
 
Join Date: Apr 2002
Location: Huizen, Holland
Posts: 135
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.
daren is offline   Reply With Quote
Old 08-05-2002, 08:11 AM   #6
bweeks_hcjb
 
bweeks_hcjb's Avatar
 
Join Date: Apr 2002
Location: Quito, Ecuador and Victoria, Canada
Posts: 15
Thanks Daren and Spoon,

We found the 3 variables and are successfully adjusting them in our VB program. Works great.
__________________
Desde Ecuador, Hoy Cristo Jesus Bendice,
Brent Weeks
bweeks_hcjb is offline   Reply With Quote
Old 10-16-2009, 09:02 PM   #7
kdichter
 
Join Date: Dec 2003
Posts: 11
Re: Scripting BWF MP2 Encoder in dMC

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
kdichter is offline   Reply With Quote
Old 10-17-2009, 04:37 AM   #8
Spoon
Da Man
 
Spoon's Avatar
 
Join Date: Apr 2002
Posts: 17,129
Re: Scripting BWF MP2 Encoder in dMC

Through scripting you would specify the command line (settings for codec), not by editing the registry.
__________________
Spoon
www.dbpoweramp.com
Spoon is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:59 PM.