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?
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?
Comment