The ImageFormat
transformation task transforms images in a track into another format. The new output track is named taskName.Output
, where taskName
is the name of the transformation task (the input track is not modified).
Tip: You can use the ImageFormat
transformation engine to change the format of images before sending them to an output engine. When writing image files to disk through the image encoder, use the image encoder Format
configuration parameter to specify the image format.
To change the format of images
Create a new configuration or open an existing configuration to send to Media Server with the process
action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg
).
In the [Transform]
section, add a new transformation task by setting the TransformEngineN
parameter. You can give the task any name, for example:
[Transform] TransformEngine0=KeyframesFormat
Create a new configuration section to contain the task settings and set the following parameters:
Type
|
The transformation engine to use. Set this parameter to ImageFormat . |
Input
|
The name of the image track to process. |
Format
|
The output format for the images in the new track. |
For example:
[KeyframesFormat] Type=ImageFormat Input=Keyframe.ResultWithSource Format=jpg
For more information about the parameters that you can use to configure this task, refer to the Media Server Reference.
Save and close the configuration file. If you modified the Media Server configuration file, you must restart Media Server for your changes to take effect.
|