Sorry for the delay and congrats on getting it to work finally
Up in front, as
mrswatson .wav output is a temporary file, you can change the output path like that:
BEFORE:
Code: Select all
C:\Users\USERNAME\Desktop\VST Host Test\TEMP\%s_original_name%_WATSON.wav
AFTER:
Code: Select all
%s_job_work%\%s_original_name%_WATSON.wav
The s_job_work folder is what you configure as ffastrans_Cache dir and it will be deleted automatically at job end, unless you set it to be kept in Workflow Properties->Maintenance tab (which i always do for workflow development and only uncheck for production).
There are multiple ways to get to your goal for generating the mp3 out of the wav that
mrswatson created.
1) FFAStrans style:
You can use the audio extraction processor to encode to mp3. In order to continue working in a workflow with a file you generated in a cmd processor, all you need to do is to set the "s_source" variable to the exact filename that you generated, e.g. in the cmd processor, check "set s_source" at the bottom and in the textbox, insert
%s_job_work%\%s_original_name%_WATSON.wav
This will cause any following processor to work with the wav file (all standard processors assume that the path to file of interest is stored in
s_source variable).
Another alternative way to set s_source variable to a custom path is to use a populate variables processor and set s_source to the path of interest.
2) wild style:
You could also just insert another commandline processor and execute an ffmpeg command, like that
Code: Select all
"%s_ffmpeg%" -i "%s_job_work%\%s_original_name%_WATSON.wav" -codec:a libmp3lame -qscale:a 2 "C:\Users\USERNAME\Desktop\VST Host Test\TEMP\%s_original_name%_WATSON.mp3"
Instead of s_ffmpeg you could also just write the full path to some ffmpeg.exe but we usually don't do that in order to keep ffastrans installation files portable which enables us to use it as processing farm with multiple servers.
Last but not least, 2 small tipps:
1) when working with variables, i always use the populate vars processor in order to "investigate" the actual content of the variable. Just set s_success to the value of interest, open the "status monitor" and you can see what would be the actual value of your variable combination in the "outcome" column on the right side.
2) when working with s_job_work variable, it is useful to set workflow properties->Maintenance to "always keep work folders" for development. You can open the current working directory in the job monitor->rightclick a job -> open work dir