Content Processing section configures the behavior of the service regarding Encoding, Packaging, and DRM Protection

Content Processing

Table of Contents

This job request section defines the content processing behavior, output, and other properties. For example, it is related to the output format and DRM protection.

    "ContentProcessing" : {
        "OutputFormat" : ["Dash", "Hls"],
        "VideoFormat": "H264",
        "OptimizeFor": "",
        "EncodingMode": "Default",
        "Sound": "5.1",
        "ExtractAndApplyHDR": false,
        "ExtractAndApplyHDR10Plus": false,
        "NormalizeAudio": false,
        "DrmProtection": "None",
        "UseHighestPossibleBitrate": false,
        "Archiving": "None",
        "DeleteFilesFromSourceWhenDone": false,
        "ForceAspectRatioToStandard": false,
        "SearchForOptimalNearbyResolutions": true,
        "ForcePixelAspectRatioTo1": true,
        "VideoRepresentations": [
                "Width": 1280,
                "Height": 720,
                "BitrateInKbps": 1500
                "Width": 852,
                "Height": 480,
                "BitrateInKbps": 800
        "VideoSyncMethod": "Auto"
Property Description Use Case Required?


An output to produce. Dash, DashOnDemand, Hls, Cmaf.

You must always specify at least one format to produce. Keep in mind that some of them are mutually exclusive. For example, if you specify Cmaf, then you cannot use any other. Same goes for DashOnDemand.



A codec to use for encoding.

Supported values: H264, H265, DoNotEncode.

You can omit this property, as it uses H264 by default. However, you can use this property to define it as H265 instead (this format supported by Safari).

No. Defaults to H264.


An encoding preset to use.

Supported values: Speed, Balance, Quality.

You can use this property depending on your needs. If you require faster encoding and highest quality is not necessary, use Speed. On the other hand, use Quality for the best output, but the slowest processing time. Balance is the optimal and default mode. It provides decent processing time with a good quality image. This property has no effect in the packaging-only mode.

No. Defaults to Balance.


An encoding mode to use. Supported values: Default, PerScene.

PerScene encoding produces smaller video output file sizes while maintaining quality, but the encoding time is increased. Different pricing rate applies when using PerScene mode.

No. Defaults to Default.


Sound layout to create in the output.

Supported values: Stereo, 5.1.

This sets the amount of channels in the output: 2 for stereo, 6 for 5.1. If there is only one channel (mono) in the input, set the output to Stereo (or omit this option) and the system will automatically choose 1 channel (mono) in the output.

If 5.1 is selected and there are fewer than 6 audio channels in the source file, the job will fail. This is to avoid the audio having an unexpected routing, which might be difficult to detect until the media goes to production.

If there are more channels available than requested, the system will automatically downmix to the requested number of channels.

No. Defaults to Stereo.


Extracts base HDR10 or HLG metadata from source input and applies it to output. VideoFormat must be set to H265.

Supported values: true, false.

When source content is in HDR10 or HLG then Mastering Display and Content Light Level metadata will be extracted and applied to the output.

No. Defaults to false. When set to true, must be used in conjunction with VideoFormat: H265


Extracts dynamic HDR10+ metadata from source input and applies it to output. VideoFormat must be set to H265.

Supported values: true, false.

When source content is HDR10+ then Mastering Display and Content Light Level metadata will be extracted along with dynamic HDR metadata and applied to the output.

No. Defaults to false. When set to true, must be used in conjunction with VideoFormat: H265


Even out the audio levels and adjust the baseline gain to a good default value.

Supported values: true, false.

Avoid having uneven audio levels between audio tracks, and also set the baseline gain to medium level of 91 dB.

Set this to false if the audio levels in your source media are already fine-tuned.

No. Defaults to true.


A desired DRM protection mode to use.

Use it if you need to protect your output against theft and illegal redistribution.

No. Defaults to None.


Gets or sets the optional IV that is to be explicitly associated with content keys. Must be a string of 32 hex digits (128 bits).

FairPlay DRM in which the IV is expected to be transported together with the content key, instead of being extracted from the content. Otherwise, it is not recommended to set this property.

No. If this property is not set, Axinom Encoding automatically generates a random IV for each content key (given that the content key does not have ExplicitIV defined in CPIX).


Only produce highest possible bitrate from source video.

Supported values: true, false.

Use this if you only need to produce a single possible highest quality bitrate from your source content.

No. Defaults to false.


A desired output archiving mode.

Supported values: None, Tar, SingleTar, FlatTar, SplitTar.

Use this property if you need to archive your output.

No. Defaults to None.


The name of the archive to create when using the Archiving property.

Use to provide a custom archive name.



Custom checksum file name for archive contents. Use only with the Archiving property.




This option allows Encoding to remove source content from the acquisition location, once the processing is completed.

Supported values: true, false.

Use this option in "burn after read" scenarios when source content should only be available once. Keep in mind that acquisition location access credentials should support file deletion.

No. Defaults to false.


Historically, Encoding has been accepting and producing videos with only common aspect ratios to reduce the amount of potential problems for our customers. Set this option to false to bypass this and make Encoding accept and produce any aspect ratios. Currently, if the aspect ratio is not 16:9 or 4:3, Encoding will also not produce a list of default bitrates so you need to specify the widths or heights (or both, although not recommended) for all representations by using the VideoRepresentation option. This will be improved in the future.

Supported values: true, false.

Use this option if you want to submit and produce videos in any aspect ratios instead of only the most common ones.

No. Defaults to true, but will default to false in the future.


If set to true, Encoding will go through all producible video representations and, for each, try to find a nearby resolution which’s width and height are divisible by 16, 8, or 4 (if it is not already divisible by either of these numbers), potentially improving how the output looks by getting a resolution better suited for encoders. The algorithm looks for resolutions with the same aspect ratio that are up to 10% larger and up to 15% smaller than the representation’s initial resolution. If no fitting resolutions are found, the representation’s resolution is left intact, provided that it is at least divisible by 2. If the representation’s resolution is not divisible by 2, the dimensions with the odd lengths are reduced by 1 pixel (e.g. 1921x1081 becomes 1920x1080).

Supported values: true, false.

Use this if you want to potentially improve how the encoding result looks like. The caveat is that the output resolution is up to 10% larger or up to 15% smaller than requested/auto-generated.

No. Defaults to false.


If set to true, Encoding will set the pixel aspect ratio to 1:1 and recalculate the storage aspect ratio accordingly. The display aspect ratio is kept intact.

Supported values: true, false.

Use this if you want to make the pixels square, for example for compatibility reasons, although generally it should not be necessary as virtually all players should be able to handle non-square pixels.

No. Defaults to false.


A list of objects that define output bitrates.
Each object consists of three properties: Width for target width, Height for target height, BitrateInKbps for target bitrate bandwidth in kbps.

Use this property if you want to manually control which bitrates to produce or if you want Encoding to limit output for specific bitrates.
One more important note is that you may provide only Width or Height value (one of them can be omitted). A proportional counterpart value is calculated automatically. For example: if you only provide 1280 for width, then Encoding automatically puts 720 for height (it might be different, depending on the source video aspect ratio). This property has no effect in the packaging-only mode.

No. By default, Encoding tries to produce a list of default bitrates from source video.


These values correspond to the FFmpeg’s "-vsync" parameter arguments: (Please note that 'drop' is not supported at this time.)

Supported values: Auto, Passthrough, Cfr, Vfr

It’s not recommended to change this, however it’s one option to try if your output video has visual problems such as 'floating' or 'jerkiness' of the image.

No. Defaults to Auto. When using EncodingMode: PerScene it will default to Passthrough


Custom output files naming rules. Refer to custom naming for more details.

Use this property if you want to define custom file names in the output package.


Revision History

The table below lists the document versions and any changes to them.

Version Date Description


October 20, 2020

Initial version.


November 25, 2020

ExplicitIV added as a property.


December 1, 2020

H.265 video codec added as an option for VideoFormat.


October 6, 2021

Added packaging-only mode.


June 16, 2022

SearchForOptimalNearbyResolutions and ForcePixelAspectRatioTo1 added as properties.


January 17, 2023

Sound and NormalizeAudio added as properties.


January 27, 2023

Added HDR support.


March 28, 2023

EncodingMode added as a property.