title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Issue using powershell to run coreconverter.exe for flac to mp3 conversion

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

    • May 2022
    • 1

    Issue using powershell to run coreconverter.exe for flac to mp3 conversion

    Hello,

    I'm getting an error when trying to script a conversion from flac to mp3 in powershell, however, running the same command in the window command line works successfully.

    I am cding to my Program Files\dbpoweramp directory and running ".\CoreConverter.exe -infile="C:\Transcodes\Test\Test.flac" -outfile="C:\Transcodes\Test\Test.mp3" -convert_to="mp3 (LAME)" -V0"

    In powershell it returns "Error: Unable to load encoder 'mp3'. [dBCoreConverter::dBCoreConverter]" but in the regular windows command line it runs the conversion successfully.

    I'm guessing this may be some sort of environment issue that I'm not understanding. I get the same behavior when I start powershell "as administrator."

    Any suggestions on how to proceed with troubleshooting this?
  • Spoon
    Administrator
    • Apr 2002
    • 44575

    #2
    Re: Issue using powershell to run coreconverter.exe for flac to mp3 conversion

    Start core converter using the full path to it, not .\
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>