title
Products            Buy            Support Forum            Professional            About            Codec Central
 

How do I convert to WMA using command line?

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

    • Apr 2004
    • 6

    How do I convert to WMA using command line?

    I have Reference version installed. Can't figure out the right parameters to use command line conversion (need it for a batch file).

    Using: "C:\Program Files (x86)\Illustrate\dBpoweramp\coreconverter.exe" -infile="D:\Novice\Novice1.wav" -outfile="D:\Novice\Novice1.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2"

    Results in Error Creating WMA profile.

    What would be correct command line syntax if I want to convert to WMA lossles? :blush:
  • LtData
    dBpoweramp Guru

    • May 2004
    • 8288

    #2
    Re: How do I convert to WMA using command line?

    Try something like this:
    "E:\program files\dbpoweramp\coreconverter.exe" -infile="E:\test.m4a" -outfile="E:\test.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2" -settings="VBR Quality 98, 44 kHz, stereo VBR" -vbr
    Adjust -settings as needed.

    Comment

    • Neuromancer2791

      • Apr 2004
      • 6

      #3
      Re: How do I convert to WMA using command line?

      This (suggested) conversion string:
      "C:\Program Files (x86)\Illustrate\dBpoweramp\coreconverter.exe" -infile="D:\Novice\Novice1.wav" -outfile="D:\Novice\Novice1.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2" -settings="VBR Quality 98, 44 kHz, stereo VBR" -vbr
      works like a charm.

      But this:
      "C:\Program Files (x86)\Illustrate\dBpoweramp\coreconverter.exe" -infile="D:\Novice\Novice1.wav" -outfile="D:\Novice\Novice1.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2 Lossless" -settings="VBR Quality 100, 44 kHz, 2 channel 16 bit" -vbr
      Returns Error Creating WMA Profile. Conversion Failed.

      The difference is in:

      -codec="Windows Media Audio 9.2 Lossless"
      -settings="VBR Quality 100, 44 kHz, 2 channel 16 bit" -vbr

      Any ideas what should be there to achieve lossless quality?

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44583

        #4
        Re: How do I convert to WMA using command line?

        -codec="Windows Media Audio 9.2 Lossless" -settings="VBR Quality 100, 44 kHz, 2 channel 16 bit VBR" -vbr
        Spoon
        www.dbpoweramp.com

        Comment

        • Neuromancer2791

          • Apr 2004
          • 6

          #5
          Re: How do I convert to WMA using command line?

          Works! :blush:

          Thank you Spoon!

          Comment

          • soniclemolasson

            • Jul 2009
            • 4

            #6
            Re: How do I convert to WMA using command line?

            Hello, following this thread I tried the conversion with a newer codec

            I:\>coreconverter -infile="Abc.mp3" -outfile="Abc.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 10 Professional" -settings="64 kbps, 44 kHz, 2 channel 16 bit VBR" -vbr

            Moreover, I'd like the coreconverter to make a 2 passes convertion in that process, how could i do that ?

            I get an error while the coreconverter tries to create a wma profile. Would somebody be gentle enough to help me with this problem please ?
            Last edited by soniclemolasson; July 20, 2009, 11:30 AM.

            Comment

            • soniclemolasson

              • Jul 2009
              • 4

              #7
              Re: How do I convert to WMA using command line?

              Hi guys, I found the answer to my "2 pass convertion" problem adding -2pass to the command line. Still my first command line doesn't work at all :snort:

              Comment

              • soniclemolasson

                • Jul 2009
                • 4

                #8
                Re: How do I convert to WMA using command line?

                Re-hi guys,

                after a few tries, I've found that 64 kbps encoding doesn't work with Command Line Encoding... The same command with 128 kbps works just fine...

                Nevertheless, I'd like my audio files to be encoded with a 64 kbps compression... I'm begging the entire world to help me with this problem

                Comment

                • LtData
                  dBpoweramp Guru

                  • May 2004
                  • 8288

                  #9
                  Re: How do I convert to WMA using command line?

                  Try this:
                  -codec="Windows Media Audio 10 Professional" -settings=" 64 kbps, 44 kHz, 2 channel 16 bit VBR" -vbr -2pass

                  Just encoded with the GUI then pulled that from the registry.

                  Comment

                  • Spoon
                    Administrator
                    • Apr 2002
                    • 44583

                    #10
                    Re: How do I convert to WMA using command line?

                    Also remember the line that LTData posted would change if you have XP, Vista or Windows seven (it is OS specific).
                    Spoon
                    www.dbpoweramp.com

                    Comment

                    • soniclemolasson

                      • Jul 2009
                      • 4

                      #11
                      Re: How do I convert to WMA using command line?

                      Thanks a lot guys for your help, part. for LTdata

                      "It works like a charm" on XP, like we say it in France ^^

                      Comment

                      • srinivasan

                        • Aug 2009
                        • 3

                        #12
                        Re: How do I convert to WMA using command line?

                        Wma conversion Threw Command Line
                        Example 1 :-

                        C:\Program Files\Illustrate\dBpoweramp\CoreConverter.exe -infile="D:\30-40 sec\Mykum.wav" -outfile="D:\30-40 sec\Mykum.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2" -settings=" 32 kbps, 22 kHz, stereo CBR" -cbr


                        its Working is Tried in wma format .... Threw Wav To wma
                        With codec Windows media Audio 10 & Codec : Windows Media Audio 9.2

                        Comment

                        • srinivasan

                          • Aug 2009
                          • 3

                          #13
                          Re: How do I convert to WMA using command line?

                          wav to wma
                          --------------

                          C:\Program Files\Illustrate\dBpoweramp\CoreConverter.exe -infile="D:\30-40 sec\Mykum.wav" -outfile="D:\30-40 sec\Mykum.wma" -convert_to="Windows Media Audio 10" -codec="Windows Media Audio 9.2" -settings=" 32 kbps, 22 kHz, stereo CBR" -cbr

                          Working Correctly Try out

                          Comment

                          Working...

                          ]]>