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

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

  1. #1

    Join Date
    May 2022
    Posts
    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?

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,854

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

    Start core converter using the full path to it, not .\

Posting Permissions

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