illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

Converting .wav to .wma in C* DMC.COnvert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nalina Santhosh

    • Nov 2012
    • 1

    Converting .wav to .wma in C* DMC.COnvert

    Hi all,

    I am using dBpoweramp musicconverter R14 and Windows Media Audio 10 Pro Release 7 (Windows XP).

    I am trying to convert .wav to .wma in C* as mentioned below:

    DMCSCRIPTINGLib.Converter dMC = new DMCSCRIPTINGLib.ConverterClass();
    dMC.Convert("c:\\record.wav", "c:\\file.wma", "Windows Media Audio 10",
    "-codec={qt}Windows Media Audio 9.1{qt} -settings=VBR Quality 98, 44 kHz, stereo VBR -vbr",@"c:\log.txt");

    I got the above example from
    Hi, I just bought the dbpoweramp reference. Until now we use windows scripting host to convert from wav to wma but your application offers better control. I'm able to convert from wav > mp3 or wma > mp3 without any problems. When I try to convert from wav > wma I get various errors (based whether I type in :


    however the above script doesnt seem to be working

    it gives :
    Error Creating WMA Profile. [clEncoder::BeginConversion]


    please guide me on what is wrong in the above code.Let me know if i am missing out anything .
    this would be a great help

    Thanks in advance
    Nalina
  • Spoon
    Administrator
    • Apr 2002
    • 44669

    #2
    Re: Converting .wav to .wma in C* DMC.COnvert

    See:

    Certain Codecs (WMA, and compressed Wave) are difficult to setup as the settings are not guessable. Using CD Ripper it is possible to set the compression settings and read them back from the registry. Open CD Ripper, set the profile to default, set the encoder and settings as desired. Close CD Ripper then open regedit:


    As the WMA settings change depending on which Windows version you have...
    Spoon
    www.dbpoweramp.com

    Comment

    Working...