This might be a stupid question, but we’re having issues getting Draft to create previews of rendered QuickTimes. Works fine with image sequences. Here’s the error we’re getting:
2014-10-31 19:49:51: 0: STDOUT: RuntimeError: The provided filename “/XXXX/Temp/Shotgun_test/Output/XXXX_10000.mov” cannot have a movie-type extension, please use the Draft.VideoDecoder class instead.
2014-10-31 19:49:51: 0: Could not collect cpu and memory information for the renderer process because: Object reference not set to an instance of an object (System.NullReferenceException)
Is this expected behaviour? Or can Draft only deal with image sequences?
Second question: right clicking on a completed job in Deadline, choosing Scripts, then DraftSubmission opens up a useful dialogue box – but the Upload to Shotgun button is greyed out. Anything I’m missing?
Lastly, is there any way to get Draft to automatically release a pending job created in this way? If the job’s complete, it seems an unnecessary extra step.
Draft can definitely work with movies that have already been encoded, but the Draft script/template needs to be written with that in mind. It sounds like you’re trying to use a script that expects an image sequence, but is getting a movie file instead.
As for submitting Draft jobs through the right-click script, currently it only lets you upload the output movie to a version tied to the original job you’re right-clicking. This is mostly an oversight, I’ve logged a dev ticket to allow the user to pick which Shotgun version to upload it to, if the data isn’t already present. In the meantime, if you go through the Standalone Draft Submitter (through the Submit menu in the Monitor), it should let you pick the Shotgun Version to upload to, but unfortunately won’t auto-fill the fields in the same way the right-click submitter does.
Similarly, we can definitely change the script to check for completed Jobs, so it won’t get unnecessarily get submitted as Pending.
Thanks for this. In this case, we’re just using the ‘Upload to Shotgun’ checkbox in the After Effects submitter. As we often write both image sequences and movies, is there a way to get that script (presumably the Submit to Shotgun script in the Draft folder?) to recognise what’s being rendered, and adjust its output accordingly? Just trying to make life as easy as possible for the artists.