T-Workflow

59.3.9.91 Set codec

Action Description

The "Set codec" action allows the replacement of the codec of a certain metafile with a different one preset by the user. This action is useful when the station replaces a codec used in production (see Codec replacement).

Action Parameters
To create this action, just complete the following data:

General info
Name - Enter a self-descriptive name for the action (e.g. Set IMX50 to replace IMX30)

Selection mode - Indicate how to select the file for which to change its codec. Available methods include:
Current metafile* - The device and codec to be matched will be retrieved from the "current metafile" set as a reference for the T-workflow instance.
Selected device/codec - The device and codec to be matched will be retrieved from the parameters set below.

* The "current metafile" of a T-workflow can be either set by a "set current metafile" action or inherited from a parent T-workflow (in case the T-workflow was triggered from within another).

Select codec to - In case the selection mode is "select device/codec", specify here the codec(s) (e.g. H264, WAVE, etc ) to be changed.

Metadevice - If the selection mode is "select device/codec", specify here the meta device (e.g. system storage, proxy, etc.)  to be changed.

Current codec - Select the codec to replace the old one.

Depending on the success of the requested operation, one of the following results will be returned by the action:
-codec successfully set
-metafile not found

How to use it
To change the codec of a metafile (e.g. IMX30), it is first required to include the "Set codec" action into a T-workflow using the T-Workflow Designer.