title
Products            Buy            Support Forum            Professional            About            Codec Central
 

DSD encoding with cmd.

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

    • Oct 2024
    • 2

    DSD encoding with cmd.

    Code:
    CoreConverter.exe" \
    -convert_to="DSD" -infile "/dev/shm/convert-b.wav" -outfile="$dir/surround/${f%.*}.dsf" -cli_encoder="C:\Program Files (x86)\dBpoweramp\encoder\DSD\SoX.exe" \
    -cli_cmd="-t wav - --no-glob -t dsf {qt}[outfile]{qt} rate -v 5644800 sdm" -selection="1"
    I'm using this command to do converting, but always got error
    Error [outfile] not specified on command line
    Is this because I'm using wine? I'm under linux. WAV cmd encoding works find.
  • Spoon
    Administrator
    • Apr 2002
    • 44572

    #2
    Multiple issues, you have a " after CoreConverter.exe, you are using $dir in outfile.

    You are using forward slashes, windows and wine are backslashes,

    /dev/ would not be a valid location for windows, it would have to be a drive letter.
    Spoon
    www.dbpoweramp.com

    Comment

    • tramchamploo

      • Oct 2024
      • 2

      #3
      " is just a copy error. As in wine manual
      PROGRAM/ARGUMENTS
      The program name may be specified in DOS format (C:\\WINDOWS\\SOL.EXE) or in Unix format (/msdos/windows/sol.exe). You may pass arguments to the program being executed by adding them to the end of
      the command line invoking wine (such as: wine notepad C:\\TEMP\\README.TXT). Note that you need to '\' escape special characters (and spaces) when invoking Wine via a shell, e.g.

      wine C:\\Program\ Files\\MyPrg\\test.exe

      It can also be one of the Windows executables shipped with Wine, in which case specifying the full path is not mandatory, e.g. wine explorer or wine notepad.
      One can use either style. Anyway I changed it as you suggest but still got the same error.
      Actually program recognized it,
      Code:
      dBpoweramp Music Converter           (C) 2024 Illustrate Ltd
      
      Encoding: DSD
      Audio Source: C:\users\xxx\Temp\surround.2.wav
      Audio Destination: C:\users\xxx\Temp\surround.1.wav
      
       0%-----------25%-----------50%-----------75%-----------100%
       Conversion Failed.
      Error [outfile] not specified on command line.
      Last edited by tramchamploo; October 26, 2024, 05:09 PM.

      Comment

      Working...

      ]]>