Transcoding

Template Mapping

The Transcoding Mapping (short: mapping), connects various transcoding templates. This mapping is configured in the library settings and is available for use in both the ingest view and the gallery view (edit mode → re-render).

 

Click the button on the right side to show proxy tempaltes and extra templates

image-20240703-124938.png
collapsed mappings view
image-20240703-125216.png
expanded mappings view


Consider the template mappings as "ingest styles," which are various methods for handling incoming source files. Since source files can come in numerous types and formats, different approaches are needed to manage and process these files effectively.

Create as many template mappings as necessary to handle different ingest scenarios, such as managing colorspace conversion.

Transcoding Templates

In the transcoding template you can define more information about the file paths for the template, e.g. is the output a single file path or do you expect a file sequence, and which transcoding tasks will be executed.

Template Name

display name of the template

Template Steps

defines when to execute this template

all : for both the main elements and additional files
main : only for the main file path
additional only for additional files

Type of output file

defines what type of file path to expect, if the path includes a frame counter or not.

single file : like a movie file or PDF

sequences of files : should include a frame padding
same as source : either a single path or a sequence path depending on the source file(s)

Transcoding Task

define as many transcoding task as you need. These will be run sequentially from top to bottom.

Path Patterns

overwrite the Path Patterns from the Global Settings and Library Path Patterns

Path Values

overwrite the Path Values from the Global Settings and Library Path Values

This is a ideal place to overwrite the file extension for this transcoding template.

Transcoding Tasks

These are the tasks executed when the transcoding template is triggered. You can choose from predefined tasks or create a custom command to run any specific command line.

Custom Command

The Custom Command feature enables you to execute any custom command line task and utilize your existing scripts and tools. Use the Path Values and predefined element attributes to pass information to the command line.

exec: python params: render_thumbnail_script.py <source.path> <path_thumbnail>

 

NoOp

The no-operation is a handy feature to save file paths to the database but not perform any operation or transcoding.

Example only re-render thumbnail

Set everything in the transcoding mapping to noop transcoding task except the thumbnail. This will ignore everything and only re-render the thumbnail transcoding template.