Advanced Output File Name Specification for Rendering
From IRIDAS Online Documentation
Contents |
Overview
When rendering to a movie file or frame sequence, often a simple file name such as MyName.mov is sufficient. SpeedGrade, FrameCycler and MetaRender offer additional sophisticated options to base the output file name on meta data.
Specifying position of number and padding for frame sequences
To specify where the number is inserted in the file name and how many zeroes are prepended, use one of the two syntaxes:
Use #
Frame.#####.dpx Frame#####.dpx Frame#.dpx
The number of # characters indicates the padding. Frame.####.dpx translates to Frame.0000.dpx and Frame.#.dpx translates to Frame.0.dpx
Use C Syntax %05d
Frame.%04d.dpx Frame%04d.dpx Frame%d.dpx
The padding is indicated by the number following the 0.
Specifying a relative path
To specify a relative path to the directory you are rendering to, simply prepend the path to the file name:
Test1\FileName.####.dpx
This will create a folder Test1 (if it doesn't exist already) in the current render path and render into that folder instead of the current render path. There is are no limits (except operating system requirements) to the number of subfolders you create.
Test1\Test2\Test3\Test4\FileName.####.dpx
Using meta data in the file name
All meta data placeholders that are valid for burn in templates, can be used in the output file name specification. Since this data can change between source files or even on a per-frame basis, this is a powerful tool for automation.
To use meta data in the file name specification, enter the name of the meta data field in curly brackets in the file name edit box:
{Src.ReelID}\Frame#####.dpx
This example renders the frame sequences into sub folders with the Reel ID of the source file.
Using Src.PathElement.X
The {Src.PathElement.X} meta data field is one of the most versatile fields. It gives you access to all elements of a path in a numbered array.
Src.PathElement.0 is always the file name without extension or frame number. Src.PathElement.1 is the subfolder that contains the file or frame sequences.
For example if you have a frame sequence with the following absolute path:
X:\CurrentShow\Shot_0001\Take_0001\Frame.#.dpx
You can access the name of the sequence with Src.PathElement.0, the take directory with Src.PathElement.1 etc.:
{Src.PathElement.0} Frame
{Src.PathElement.1} Take_0001
{Src.PathElement.2} Shot_0001
{Src.PathElement.3} CurrentShow_0001
{Src.PathElement.4} X:
Rendering Proxies to a Proxy Directory
Let's say we want to render proxy files to the same directory as the source files, but with a different file name. So, in the above example, we specify the following output file name specification:
{Src.PathElement.4}\{Src.PathElement.3}\{Src.PathElement.2}\{Src.PathElement.1}\Proxy.mov
This will render to a file called Proxy.mov in the same directory as the source file.
Using a take or Shot info as part of the file name
To use element 1 and 2, which are the shot and take names in our example, as part of the file name, specify the following:
{Src.PathElement.2}_{Src.PathElement.1}.mov
Which in our example will result in:
Shot_0001_Take_0001.mov
To render into directories based on shot and take info, use
{Src.PathElement.2}\{Src.PathElement.1}\{SrcPathElement.0}.mov
Which in our example will result in:
Shot_0001\Take_0001\Frame.mov
Render into Subfolders with GUID or Reel ID
To render into subfolders based on the GUID (unique media identifier) or the ReelID, add the {Src.GUID} or {Src.ReelID} to the output file name specification.
{Src.ReelID}.mov
{Src.GUID}\Clip.####.dpx
