Copying and Filtering Metadata Between Inputs
To copy metadata from one input to another and/or filter metadata:
1. | Select MetaData > CopyMetaData to insert a CopyMetaData node into your script. |
2. | Connect: |
• the Image input to the node whose image you want to pass down the tree.
• the Meta input to the node whose metadata you want to copy to the output.
3. | Set metadata from to one of the following: |
• Image+Meta - to add the metadata from the Meta input to the metadata from the Image input. If the inputs share any common metadata keys, the values taken from the Meta input override those taken from the Image input.
• Meta only - to only use the metadata from the Meta input.
• Meta+Image - to add the metadata from the Image input to the metadata from the Meta input. If the inputs share any common metadata keys, the values taken from the Image input override those taken from the Meta input.
• Image only - to only use the metadata from the Image input. This produces the same result as not using a CopyMetaData at all: both the image and metadata are taken from the Image input. However, this option can be useful if you want to filter the metadata to exclude some of it (see the next step for how to do this).
4. | To filter the metadata taken from the inputs, use the copy only fields under Meta filtering and/or Image filtering. For example, if you enter f in the copy only field under Meta filtering, only the keys and values that include the letter f are copied from the Meta input. By default, the search is done within both keys and values. If you want to limit the search to either keys or values only, set within to keys only or values only. For example, you can copy metadata specific to the input’s file format by entering the file format (for instance, dpx/) in the copy only field and setting within to keys only. |