title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 8 of 8

Thread: Scripting BWF MP2 Encoder in dMC

  1. #1
    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

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,852
    The only way is to set the values direct in the registry.

  3. #3
    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?

  4. #4
    Administrator
    Join Date
    Apr 2002
    Posts
    43,852
    I think it is:

    HKEY_CURRENT_USER\Software\Illustrate\dBpowerAMP\D MCMP2xxxx

    but don't quote me

  5. #5
    TrinitySoftware
    Join Date
    Apr 2002
    Location
    Huizen, Holland
    Posts
    153
    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.

  6. #6
    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. :supersmil

  7. #7

    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

  8. #8
    Administrator
    Join Date
    Apr 2002
    Posts
    43,852

    Re: Scripting BWF MP2 Encoder in dMC

    Through scripting you would specify the command line (settings for codec), not by editing the registry.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •