Command executor output to delivery folder

Questions and answers on how to get the most out of FFAStrans
Post Reply
llittleton
Posts: 14
Joined: Wed Jul 18, 2018 4:57 pm

Command executor output to delivery folder

Post by llittleton » Thu Jul 23, 2020 2:30 pm

Hi,

I am using a command executor to do a gpu conversion:

%comspec% /c "D:\NVEncC_5.11_x64\NVEncC64.exe -i "%s_source%" --vpp-select-every 2 --fps 60000/1001 -c hevc --cbr 20000 --cu-max 32 --bframes 0 --ref 4 --gop-len 30 --lookahead 15 --strict-gop --profile main10 --output-depth 10 --audio-codec aac --vpp-edgelevel --vpp-deband --video-tag hvc1 --cuda-schedule auto -o "%s_original_path%\%s_original_name%_NVEncC_UHD.mp4""

Is there a way to have to output go to a delivery folder instead?

Thank you,

Lawrence

emcodem
Posts: 732
Joined: Wed Sep 19, 2018 8:11 am

Re: Command executor output to delivery folder

Post by emcodem » Thu Jul 23, 2020 6:36 pm

hey Lawrence,

sure you can do this, it depends a little if you need to calculate your delivery folder or it is always the same,
e.g. change this
"%s_original_path%\%s_original_name%_NVEncC_UHD.mp4"

to this:

"\\server\share\folder\%s_original_name%_NVEncC_UHD.mp4"

llittleton
Posts: 14
Joined: Wed Jul 18, 2018 4:57 pm

Re: Command executor output to delivery folder

Post by llittleton » Sun Jul 26, 2020 5:40 pm

emcodem,

Thank you for your reply. What i mean is can i take the output of a command execute node and pipe it into a delivery folder node, and then use the delivery folder node to specify the location and name of the output file?

Thank you,

Lawrence

emcodem
Posts: 732
Joined: Wed Sep 19, 2018 8:11 am

Re: Command executor output to delivery folder

Post by emcodem » Sun Jul 26, 2020 8:36 pm

Understood, so what you do in this case is in the command executor node, check the "set %s_sourcce%" checkbox and enter the name of the produced file, e.g. just this:

Code: Select all

%s_original_path%\%s_original_name%_NVEncC_UHD.mp4
This checkbox will tell the "delivery" (and all other subsequent nodes) that they shallw work with the provided file name

llittleton
Posts: 14
Joined: Wed Jul 18, 2018 4:57 pm

Re: Command executor output to delivery folder

Post by llittleton » Sat Nov 21, 2020 8:13 pm

emcodem,

this solution works perfectly.

thank you.

emcodem
Posts: 732
Joined: Wed Sep 19, 2018 8:11 am

Re: Command executor output to delivery folder

Post by emcodem » Sun Nov 22, 2020 10:35 pm

So nice for stepping by and saying thanks, really appreciated!

Post Reply