%comspec% /C ""%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"
mrswatson64.exe -i "%s_source%" .mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
as Tom says, you need to take care about the quotes. Rule of thumb is that only filepaths shall be enquoted.
For the moment, leave the comspec /C stuff out completely, it should not be needed for what you do.
So, let's dig into each and every issue:
Problem 1:
Code: Select all
"%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"mrswatson64.exe
The Variable %s_ffastrans_dir% translates to the ffastrans install dir, so in your case to C:\FFAStrans. So actually what you wrote here is this:
Code: Select all
"C:\FFAStrans\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\mrswatson64.exe"
Correct would be
Code: Select all
"%s_ffastrans_dir%\MrsWatson-0.9.8\Windows\64\"
Problem 2:
First you got 3 quotes for a single path here but we only need 2 quotes for a single path. "%s_source%" would translate to the file that was submitted to the workflow, say you submitted c:\temp\test.mkv. Then you have some ffmpeg commandline that creates "%s_source%.mp3" as output. Which would actually translate to c:\temp\test.mkv.mp3. If this is the case and you want to submit "c:\temp\test.mkv.mp3" to MrsWatson, the correct notation would be:
Code: Select all
--output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%
a quote is missing here at the end of the path, correct would be:
Code: Select all
--output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%"
This "last quote" is only needed to close the %comspec% /C Quotes that surround the whole actual command. If we do not use %comspec% /C , we can omit this quote:
All together, we change from
%comspec% /C ""%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"
mrswatson64.exe -i "%s_source%" .mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
to:
"%s_ffastrans_dir%\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "%s_source%.mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%" --plugin vst_stereo_tool_64
On commandline this would translate to:
"c:\ffastrans\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "c:\temp\test.mkv.mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUTtest_WATSON12_20_56" --plugin vst_stereo_tool_64
And don't forget as Tom said, first get it working on commandline without ffastrans and therefore without variables, and once you got a working commandline, you replace all stuff that needs to be replaced by variables and insert it into a commandline processor in ffastrans.