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](../__attachments/673808386/image-20240703-124938.png?inst-v=3bfaa0b2-a2e5-4265-a910-c27a672fe7ba)
collapsed mappings view
![image-20240703-125216.png](../__attachments/673808386/image-20240703-125216.png?inst-v=3bfaa0b2-a2e5-4265-a910-c27a672fe7ba)
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.
![image-20240703-125544.png](../__attachments/673808386/image-20240703-125544.png?inst-v=3bfaa0b2-a2e5-4265-a910-c27a672fe7ba)
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 |
Type of output file | defines what type of file path to expect, if the path includes a frame counter or not.
|
Transcoding Task | define as many transcoding task as you need. These will be run sequentially from top to bottom. |
Path Patterns | overwrite the |
Path Values | overwrite the 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.
![image-20240703-130457.png](../__attachments/673808386/image-20240703-130457.png?inst-v=3bfaa0b2-a2e5-4265-a910-c27a672fe7ba)
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.
![image-20240703-130839.png](../__attachments/673808386/image-20240703-130839.png?inst-v=3bfaa0b2-a2e5-4265-a910-c27a672fe7ba)