I'm trying to convert audio files with speexenc.exe. Its basic syntax is extremely simply:
speexenc.exe inputfilename.wav outputfilename.spx
However, when I define a conversion preset, I see that you can only define the output file name (%d); you can't define the input file name.
I would get the following error with the option %d:
1 out of 1 tracks converted with major problems.
Source: "D:\My documents\test.wav"
An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "D:\My documents\test.spx"
Additional information:
Encoder stream format: 16000Hz / 1ch / 24bps
Command line: "C:\Program Files (x86)\foobar2000\speexenc.exe" "test.spx"
Working folder: D:\My documents\
Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters
I would get the following error with the option %s %d:
1 out of 1 tracks converted with major problems.
Source: "D:\My documents\test.wav"
An error occurred while finalizing the encoding process (Object not found) : "D:\My documents\test.spx"
Conversion failed: Object not found
This would be extremely basic, but I didn't find any information in the manual: where is the input file with default parameters like these ("-S --noreplaygain -V 2 - %d")? Or, how do you define where the input file would be placed in the command line?