...
Each library exists of a library file (.lib) and a database. The library files are saved by default in a hidden folder .config
in library root location.
The library file (.lib
) contains the configuration of the library.
The database can either be a server based database (e.g. PostgreSQL) or a file base SQLite database (.db
)
label | key | description |
---|---|---|
Lock Library |
| locks the library config and prevents ingesting and editing of elements. |
Library Name |
| display name of the library in the application |
Library Root |
| Set the root location for the library data. Set individual paths for each operating system. This is the location were your actual files will be stored. |
Database |
| database that contains a data for this library |
Template mappings |
| link the transcoding templates to the specific template types main: main template for the library element (required) extra: additional transcoding tasks to run during ingest time or re-rendering for elements |
Values |
| |
Patterns |
| path patterns that you want to add/overwrite |
Transcoding templates |
| templates for different tasks (transcoding, copy …) |
Path Patterns
Here you can overwrite path patterns from the global section. You can also add new ones.
...
The differnt task styles are:
task | description |
---|---|
NoOp | no operation, do nothing |
Copy File | Copies from the source path to the output path |
Filmstrip | Creates a filmstrip with a certain amount of frames for a sequence. This task will only run for movie files and a sequence of images frames: define how many frames the filmstrip contains (default: The width of the filmstrip is calculated based on the given parameters. Every frame has a fixed pixel aspect ratio of 16:9 |
Thumbnail | Create a thumbnail (JPEG file) |
FFmpeg | use FFmpeg to transcode the source file(s) |
Custom Command | Run your custom command For example:
|
Timeout
The default timeout for transcoding tasks is 60min.
...
Info |
---|
The custom command can be useful to send render jobs to you render farm! Here you will find some helpful example scripts for the Custom Command, like using Deadline and Nuke for the transcoding: |
Input the path to the executable (exec
), e.g. Python interpreter and the parameters (params
) to run your own scripts.
...
You can access all Path Pattern and Path values by adding the <>
(less-than sign) around them.
Examples
| path of the new output |
| path to the source file |
| name of file with frame padding |
| base name of the file without extension and frame padding |
| source path file extension |
| colorspace value defined in the ingest view |
Copy source file to element path
...
The python script could look something like this:
...
language | py |
---|
https://github.com/das-element/resources/blob/main/scripts/custom/examples/copy_main.py