AWS Thinkbox Discussion Forums

Draft Cookbook

We are in the process of starting some more training/tutorial materials for Draft and I thought what would be a good reference is a cookbook style of examples. For those not familiar, Programming Cookbooks are basically collections of reusable snippets (or ‘recipes’) that you can use again and again, and also includes some discussion about the recipe itself for some deeper information. A cookbook is not as thorough as a tutorial usually, but it is handy to refer to even after you have mastered Draft, and also is handy for folks to who want to learn by example. The advantage is that it allows us to add more contextual information than just what the sample templates give you.

Here are topics I have already:

Basics:

  • Resize an Image
  • Set the path for saving
  • Make a movie file ( .mov, mp4, avi )
  • Make a streaming movie file
  • Add Text to an Image
  • Add a Frame Counter to a movie
  • Add a watermark
  • Saving Multiple Outputs in a Single Script
  • Merge two images

Advanced:

  • Using Deadline Job Extra Info Meta-data in templates
  • Make a contact sheet
  • Make side-by-side movie (e.g. two eyes)
  • Split a mov file into single images

Are there any other suggestions for what should be included in the cookbook?

  • Adding command line arguments to a Draft script
  • How to use other job-info parameters would be great. Type: scene frame rendertime, ram used etc

Cheers
Bonsak

love the idea!

please have a shotgun/slate section which explains how to pull data from shotgun and display them in the most beautiful way…

  • Getting arbitrary job values (username etc.)
  • Does your resize snippet do letterbox/pillarboxing automatically?
  • Maybe add frame guides/safe frames?

EDIT: Also one nice thing in my script is that the slate generator just gets all of the values as a Dict and then it auto creates new lines and indents each key/value pair

  • Getting knob (variable) info from Nuke scripts
  • Parsing file names for relevant info (version number, etc) both in the Draft template and the Draft area of the Deadline submit scripts (eg. if not using SG)
  • +1 on an easy format system (ie. aspect ratio cropping, letterboxing and pillarboxing)
  • creating proxies based on format/aspect ratio & resolution
  • +1 on side-by-side stereo movies
Privacy | Site terms | Cookie preferences