Convert multiply movies

Discussion and Support of Deadline, the Render Management System
eamsler
Posts: 1398
Joined: Thu Dec 16, 2010 1:02 pm
Location: Winnipeg, MB, Canada

Re: Convert multiply movies

Postby eamsler » Thu May 18, 2017 2:34 pm

Ah, then hopefully changing this line will get you there!

Code: Select all

imp.load_source( 'IntegrationUI', os.path.join( RepositoryUtils.GetRepositoryPath("submission/Integration/Main", True), "IntegrationUI.py" ) )


Change it to:

Code: Select all

imp.load_source( 'IntegrationUI', os.path.join( RepositoryUtils.GetRootDirectory(), "submission/Integration/Main", "IntegrationUI.py" ) )
Edwin Amsler
Head of Support
Thinkbox Software Inc
1-866-419-0283 ext 804

Winnipeg

abalamut
Posts: 16
Joined: Fri Oct 09, 2009 9:10 am

Re: Convert multiply movies

Postby abalamut » Fri May 19, 2017 5:14 am

Change one line, in MediaEncoderSubmission.py - but have an other error

Code: Select all

2017-05-19 13:09:11:  Running script MediaEncoderSubmission (\\server13\dlr\scripts\Submission\MediaEncoderSubmission.py)
2017-05-19 13:09:11:  Traceback (most recent call last):
2017-05-19 13:09:11:    File "DeadlineUI\UI\Commands\ScriptCommands.py", line 101, in InnerExecute
2017-05-19 13:09:11:  PythonNetException: IOError : (2, 'No such file or directory')
2017-05-19 13:09:11:    File "none", line 16, in <module>

eamsler
Posts: 1398
Joined: Thu Dec 16, 2010 1:02 pm
Location: Winnipeg, MB, Canada

Re: Convert multiply movies

Postby eamsler » Wed May 24, 2017 10:02 am

Okay, so after cutting out all of the integration code which isn't backwards compatible with 7, the submitter does work. Give this a try now.
MediaEncoderSubmission.py.zip
(5 KiB) Downloaded 3 times
Edwin Amsler
Head of Support
Thinkbox Software Inc
1-866-419-0283 ext 804

Winnipeg

abalamut
Posts: 16
Joined: Fri Oct 09, 2009 9:10 am

Re: Convert multiply movies

Postby abalamut » Wed May 24, 2017 10:52 am

Thanks you for help!
OK, now when I run your script I can see dialog box, fill required parameters, such as IN, OUT and preset, then submit job. But now an other error from slave. It seems old seven deadline only know about 2014 media encoder (there was not "select version" option), but I use 2017. In plugins configuration I enter valid path to render executables and it worked.


Code: Select all

=======================================================
Error
=======================================================
Error: GetConfigEntry: Attempted to access non-existent config key MediaEncoder_ServiceExecutable14_0 (Deadline.Plugins.RenderPluginException)
   at Deadline.Plugins.ScriptPlugin.GetConfigEntry(String key)
   at Deadline.Plugins.DeadlinePlugin.GetConfigEntry(String key)
   at Python.Runtime.Dispatcher.TrueDispatch(ArrayList args)
   at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
   at Deadline.Plugins.DeadlinePlugin.StartJob()
   at Deadline.Plugins.DeadlinePlugin.DoStartJob()
   at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)
   at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.Plugin.StartJob(Job job)
   at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Log
=======================================================
2017-05-24 18:40:18:  BEGIN - NODE80\rman
2017-05-24 18:40:18:  0: Start Job timeout is disabled.
2017-05-24 18:40:18:  0: Task timeout is disabled.
2017-05-24 18:40:18:  0: Loaded job: Untitled [A001C002_170501_R2TV.mov] (5925a836fa001115b8e52c02)
2017-05-24 18:40:18:  0: INFO: Executing plugin script C:\Users\rman\AppData\Local\Thinkbox\Deadline7\slave\node80\plugins\5925a836fa001115b8e52c02\MediaEncoder.py
2017-05-24 18:40:18:  0: INFO: Media Encoder Plugin Initializing...
2017-05-24 18:40:18:  0: INFO: About: Adobe Media Encoder Plugin for Deadline
2017-05-24 18:40:18:  0: INFO: The job's environment will be merged with the current environment before rendering

=======================================================
Details
=======================================================
Date: 05/24/2017 18:40:19
Frames: 0
Elapsed Time: 00:00:00:02
Job Submit Date: 05/24/2017 18:35:18
Job User: rman
Average RAM Usage: 8470446080 (13%)
Peak RAM Usage: 8470446080 (13%)
Average CPU Usage: 2%
Peak CPU Usage: 3%
Used CPU Clocks: 1683
Total CPU Clocks: 84148

=======================================================
Slave Information
=======================================================
Slave Name: node80
Version: v7.2.4.0 R  (de7785a42)
Operating System: Windows 7 Ultimate (SP1)
Running As Service: No
Machine User: rman
IP Address: 192.168.50.180
MAC Address: 00:25:90:D9:51:59
CPU Architecture: x64
CPUs: 32
CPU Usage: 2%
Memory Usage: 7.8 GB / 64.0 GB (12%)
Free Disk Space: 80.531 TB (226.721 GB on C:\, 27.492 TB on S:\, 52.818 TB on T:\)
Video Card: Matrox G200eW (Nuvoton)

eamsler
Posts: 1398
Joined: Thu Dec 16, 2010 1:02 pm
Location: Winnipeg, MB, Canada

Re: Convert multiply movies

Postby eamsler » Thu May 25, 2017 9:20 am

Did you remember to copy *all* files from the "plugins" folder in Mike's zip file into your "[repo]/custom/plugins" folder? I only sent along my changes, so the plugin is still in Mike's zip file.
Edwin Amsler
Head of Support
Thinkbox Software Inc
1-866-419-0283 ext 804

Winnipeg

abalamut
Posts: 16
Joined: Fri Oct 09, 2009 9:10 am

Re: Convert multiply movies

Postby abalamut » Fri May 26, 2017 4:57 am

Ok, copy first files, the copy patched script. Now I can submit job successfully. I can see it in deadline monitor. Deadline try to start job with following error:

Code: Select all

=======================================================
Error
=======================================================
Error: TypeError : cannot instantiate abstract class (Python.Runtime.PythonException)
  File "none", line 227, in StartJob
  File "none", line 266, in StartWebService

   at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   at Deadline.Plugins.Plugin.StartJob(Job job)
   at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Log
=======================================================
2017-05-26 11:26:27:  BEGIN - NODE80\rman
2017-05-26 11:26:27:  0: Start Job timeout is disabled.
2017-05-26 11:26:27:  0: Task timeout is disabled.
2017-05-26 11:26:27:  0: Loaded job: Untitled [A001C001_170501_R2TV.mov] (5927e6a6fa0011085c8d2044)
2017-05-26 11:26:27:  0: INFO: Executing plugin script C:\Users\rman\AppData\Local\Thinkbox\Deadline7\slave\node80\plugins\5927e6a6fa0011085c8d2044\MediaEncoder.py
2017-05-26 11:26:27:  0: INFO: Media Encoder Plugin Initializing...
2017-05-26 11:26:27:  0: INFO: About: Adobe Media Encoder Plugin for Deadline
2017-05-26 11:26:27:  0: INFO: The job's environment will be merged with the current environment before rendering
2017-05-26 11:26:27:  0: INFO: Media Encoder Exe Name: Adobe Media Encoder CC 2017
2017-05-26 11:26:27:  0: INFO: Existing Adobe Media Encoder Process: Fail On Existing Process
2017-05-26 11:26:27:  0: INFO: Auto Shutdown Adobe Media Encoder: True
2017-05-26 11:26:27:  0: INFO: Checking for an existing AME Web Service at 192.168.50.180:8080...
2017-05-26 11:26:28:  0: INFO: Unable to connect to an existing AME Web Service at 192.168.50.180:8080.
2017-05-26 11:26:28:  0: INFO: Starting AME Web Service...
2017-05-26 11:26:28:  0: INFO: Looking for hostname/ip and port override in config ini file: C:\Program Files\Adobe\Adobe Media Encoder CC 2017\ame_webservice_config.ini
2017-05-26 11:26:28:  0: INFO: Executable: C:\Program Files\Adobe\Adobe Media Encoder CC 2017\ame_webservice_console.exe
2017-05-26 11:26:28:  0: INFO: Host: 192.168.50.180
2017-05-26 11:26:28:  0: INFO: Port: 8080

=======================================================
Details
=======================================================
Date: 05/26/2017 11:26:29
Frames: 0
Elapsed Time: 00:00:00:03
Job Submit Date: 05/26/2017 11:26:14
Job User: rman
Average RAM Usage: 6135127040 (9%)
Peak RAM Usage: 6137528320 (9%)
Average CPU Usage: 4%
Peak CPU Usage: 7%
Used CPU Clocks: 6732
Total CPU Clocks: 168296

=======================================================
Slave Information
=======================================================
Slave Name: node80
Version: v7.2.4.0 R  (de7785a42)
Operating System: Windows 7 Ultimate (SP1)
Running As Service: No
Machine User: rman
IP Address: 192.168.50.180
MAC Address: 00:25:90:D9:51:59
CPU Architecture: x64
CPUs: 32
CPU Usage: 6%
Memory Usage: 5.7 GB / 64.0 GB (8%)
Free Disk Space: 80.927 TB (226.555 GB on C:\, 27.914 TB on S:\, 52.791 TB on T:\)
Video Card: Matrox G200eW (Nuvoton)

So, deadline try to connect AME in port 8080, but no one listen on this port.
Lets check from an other machine, I try telnet

Code: Select all

$ telnet 192.168.50.180 8080
Trying 192.168.50.180...
telnet: connect to address 192.168.50.180: Connection refused
telnet: Unable to connect to remote host


This is because AME doest not start. But I think deadline should launch it? Am I correct?
Then, while job is in deadline I run ame_webservice_console by hand, after that deadline can connect to AME and launch job and render it successfully.

Ok, then I have found 2 files in AME folder: AMEWebService and AMEWinService
This is looks like service files which I can not Install, to run AME as service.
But I think deadline should launch ame_webservice_console themself, before try to connect to it?


Return to “Thinkbox Software - Deadline”

Who is online

Users browsing this forum: No registered users and 1 guest