Hi there,
I’d like to prefill the “Input Arguments” and “Output Arguments” texts fields in the “Submit FFmpeg Job To Deadline” window, to enable the assistants to do differents types of compressions on our render farm. I was thinking about copying the /DeadlineRepository10/plugins/FFmpeg folder to /DeadlineRepository10/custom/plugins/ and adding my arguments in /DeadlineRepository10/custom/plugins/FFmpeg2/FFmpeg.py but my custom plugin doesn’t appear in the Deadline Monitor.
Did someone tried something similar? Am I on the good way?
Cheers!
The integration of a product has several major components - two of them are the Plugin and the Submitter. The folder you mentioned is the Plugin which runs the encoder.
To modify the Monitor Submitter, you need to copy /scripts/Submission/FFmpegSubmission.py
to /custom/scripts/Submission/FFmpegSubmission.py.
Then you can modify its controls.
Some other product integrations that have an integrated submitter (e.g. Maya, Nuke, 3dsMax, etc.) contain additional scripts under /submission/(productname), however they do not support a custom version of the scripts.
Hi Bobo,
that’s great! Thank you very much.
Is there a way to display a console to monitor the submission? My custom submission doesn’t seems to run and doesn’t appear on my DeadlineMonitor. I copied the FFmpegSubmission.py script. My prefilled version should automatically add the first frame number “-start_number” as Input Argument for dpx image sequence inputs.
I replaced line 291 writer.WriteLine( “InputArgs%d=%s” % (i, scriptDialog.GetValue( “Input%dArgsBox” % i ).strip()) )
with
writer.WriteLine( “InputArgs%d=%s -start_number %s” % (i, scriptDialog.GetValue( “Input%dArgsBox” % i ).strip(), scriptDialog.GetValue( “Input%dBox” % i ).split(".")[-2] ) )
Does it looks good? How do you guys manage to debug your custom scripts on deadline monitor?