title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Scripting BWF MP2 Encoder in dMC

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bweeks_hcjb

    • Apr 2002
    • 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
  • Spoon
    Administrator
    • Apr 2002
    • 44505

    #2
    The only way is to set the values direct in the registry.
    Spoon
    www.dbpoweramp.com

    Comment

    • bweeks_hcjb

      • Apr 2002
      • 15

      #3
      What path in the registry should we change the values in?

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44505

        #4
        I think it is:

        HKEY_CURRENT_USER\Software\Illustrate\dBpowerAMP\D MCMP2xxxx

        but don't quote me
        Spoon
        www.dbpoweramp.com

        Comment

        • daren
          dBpoweramp Enthusiast

          • Apr 2002
          • 153

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

          Comment

          • bweeks_hcjb

            • Apr 2002
            • 15

            #6
            Thanks Daren and Spoon,

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

            Comment

            • kdichter

              • Dec 2003
              • 11

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

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44505

                #8
                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

                Comment

                Working...

                ]]>